Page 1 of 2
Incredibly slow import in 2.3.0
Posted: Tue Nov 06, 2018 12:40 pm
by ppw1
Example:
An 8m:40s long .opus file takes 4 seconds to import in 2.2.2 and 37 seconds to import in 2.3.0.
This is unacceptable. What is going on here?
Windows 10 Pro x64 1803
Re: Incredibly slow import in 2.3.0
Posted: Tue Nov 06, 2018 1:35 pm
by steve
We had a report like this recently that was caused by their antivirus app scanning the project files before allowing the project to open. Perhaps the same in your case. If this is the problem, the white-listing ".au" files may fix it.
Re: Incredibly slow import in 2.3.0
Posted: Thu Dec 27, 2018 7:43 pm
by normann1974
I've noticed that import through FFMmpeg (e.g. AAC/M4A files) is noticably slower after upgrading to Audacity 2.3.0. Disabling my Antivirus (Avast) does (as expected) not fix this.
Re: Incredibly slow import in 2.3.0
Posted: Thu Dec 27, 2018 8:03 pm
by steve
normann1974 wrote: ↑Thu Dec 27, 2018 7:43 pm
noticably slower
Is that "a bit slower" or "incredibly slow"? The original post is about a 900% slowdown. Are you writing about the same thing?
Re: Incredibly slow import in 2.3.0
Posted: Fri Dec 28, 2018 3:12 am
by normann1974
Import of 3 minute song (tested with .ogg through FFmpeg):
Audacity 2.2.2: approx. 2 seconds
Audacity 2.3.0: approx. 25 seconds
/Jan
Re: Incredibly slow import in 2.3.0
Posted: Fri Dec 28, 2018 11:04 am
by steve
normann1974 wrote: ↑Fri Dec 28, 2018 3:12 am
tested with .ogg through FFmpeg
How are you doing that, and why are you doing that?
Re: Incredibly slow import in 2.3.0
Posted: Fri Dec 28, 2018 1:00 pm
by waxcylinder
I tested this with importing a one hour AAC (M4A) audio file - and although my results are not as extreme as normann1974 reports, I can confirm that 2.3.0 is indeed slower at that import than 2.3.0. But the good news is that the upcoming 2.3.1 appears to have fixed this and is now even faster than 2.2.2.
2.2.2 15 seconds
2.3.0 82 seconds (5.55 times slower 0 normann1974's is 21.5 times slower)
2.3.1 alpha 9 seconds
I don't recall us ever logging this as a big on our Bugzilla tracker nor doing anything to fix it. The one bug that we did have and have fixed for the upcoming 2.3.1 was that Nyquist effects ran slower in 2,3,0 compared to 2.2.2 and earlier Audacity versions. See:
https://bugzilla.audacityteam.org/show_bug.cgi?id=1991
Since this appears to be already fixed I don't propose to log it on Bugzilla (as an already fixed P1 bug) - unless you, Steve, think that I should for completeness.
@normann1974: we should be building Release Candidates for 2.3.1 sometime in January - would you be interested in testing your use case on that?
Peter.
Re: Incredibly slow import in 2.3.0
Posted: Fri Dec 28, 2018 1:13 pm
by normann1974
steve wrote: ↑Fri Dec 28, 2018 11:04 am
normann1974 wrote: ↑Fri Dec 28, 2018 3:12 am
tested with .ogg through FFmpeg
How are you doing that, and why are you doing that?
Audacity is doing that. Preferences -> Libraries -> FFMPEG Import/Export Library.
Re: Incredibly slow import in 2.3.0
Posted: Fri Dec 28, 2018 1:16 pm
by normann1974
waxcylinder wrote: ↑Fri Dec 28, 2018 1:00 pm
2.2.2 15 seconds
2.3.0 82 seconds (5.55 times slower 0 normann1974's is 21.5 times slower)
2.3.1 alpha 9 seconds
I just tried the latest alpha as well. Import of the same file I tested with earlier takes 3 seconds, slightly slower than 2.2.2, but remarkably faster than 2.3.0.
waxcylinder wrote: ↑Fri Dec 28, 2018 1:00 pm
@normann1974: we should be building Release Candidates for 2.3.1 sometime in January - would you be interested in testing your use case on that?
Yes, I could do that if needed. Could someone write the announcement of the RC here or send me an e-mail when I need to do something?
/Jan
Re: Incredibly slow import in 2.3.0
Posted: Fri Dec 28, 2018 2:09 pm
by steve
By default, Audacity uses "liboggvorbis" (not FFmpeg) to import OGG files, though it is possible (but not recommended) to import OGG files with FFmpeg.
To check to see which importer Audacity is using:
1) Launch Audacity (or close and restart Audacity)
2) "Help menu > Diagnostics > Show Log" (
https://manual.audacityteam.org/man/hel ... l#show_log)
3) Clear the log.
4) Import an OGG file.
The log will show something like:
Code: Select all
14:03:57: Opening with liboggvorbis
14:03:57: Open(...../untitled.ogg) succeeded