Incredibly slow import in 2.3.0

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
steve
Site Admin
Posts: 80691
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Incredibly slow import in 2.3.0

Post by steve » Fri Dec 28, 2018 2:14 pm

normann1974 wrote:
Fri Dec 28, 2018 1:16 pm
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.
2 or 3 seconds seems close enough considering that there are many other variables. If possible, could you do a comparison of Audacity 2.2.2 vs 2.3.0 with a much larger file? (20 seconds vs 21 seconds is insignificant, but 20 seconds vs 30 seconds may be something the developers want to fix).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 14577
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Incredibly slow import in 2.3.0

Post by waxcylinder » Fri Dec 28, 2018 3:53 pm

waxcylinder wrote:
Fri Dec 28, 2018 1:00 pm
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

Peter.
For comparison I tested the same one hour AAC file on my Macbook Pro running Mojave 10.14.2
Here I find that 2.3.0 and 32-bit 2.3.1 are actually a bit quicker than 2.2.2 - I can't trest yet on 64-bit 2.3.1 64-bit for Mac as we haven't yet got the 64-bit FFmpeg library compiled and installed for testing.

2.2.2 33 seconds
2.3.0 25 seconds
2.3.1 alpha 32-bit 25 seconds

I don't understand why the Mac version is so much slower than Windows for this test - theye are both hi-spec machines with fast non-rotating SSD drives ...

Peter.
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

steve
Site Admin
Posts: 80691
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Incredibly slow import in 2.3.0

Post by steve » Fri Dec 28, 2018 4:08 pm

waxcylinder wrote:
Fri Dec 28, 2018 3:53 pm
I don't understand why the Mac version is so much slower than Windows for this test
There are many platform specific optimization that can be made when writing and building applications. For example, SBSMS time stretching is significantly faster on 64-bit Linux than on 32-bit Windows or Mac, because of ONE optimisation switch when compiling SBSMS (I don't know if Paul has applied this optimisation for 64-bit Mac builds).

Overall, Windows, Mac and Linux are likely to run applications at about the same speed on similar hardware, but there are often differences in speed with specific task due to different optimisations. Linux can often appear quicker because it tends to use far less horsepower doing background tasks.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

normann1974
Posts: 10
Joined: Thu Dec 27, 2018 7:33 pm
Operating System: Windows 10

Re: Incredibly slow import in 2.3.0

Post by normann1974 » Sun Dec 30, 2018 12:14 pm

steve wrote:
Fri Dec 28, 2018 2:09 pm
By default, Audacity uses "liboggvorbis" (not FFmpeg) to import OGG files, though it is possible (but not recommended) to import OGG files with FFmpeg.

[/code]

Code: Select all

13:09:59: Mime type is *
13:09:59: Opening with liboggvorbis
13:09:59: Opening with libav
I haven't configured anything but add the FFMPEG library so that Audacity can read all the formats it needs to.

/Jan

Post Reply