Audacity 3 much slower when saving file

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.
BazzerBee
Posts: 7
Joined: Fri Feb 05, 2021 10:24 am
Operating System: Windows 10

Audacity 3 much slower when saving file

Post by BazzerBee » Mon Mar 22, 2021 12:30 pm

Hi,

I seem to recall this problem with an earlier version of Audacity. I compared how long it takes Audacity 2.3.3 and Audacity 3.0.0 to save a 2.16GB wav file, 2.3.3 took exactly 50 seconds and 3.0.0 took exactly 80 seconds, quite a big difference. Is there any chance this can be fixed in an update?

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

Re: Audacity 3 much slower when saving file

Post by waxcylinder » Mon Mar 22, 2021 3:40 pm

I did a lot of QA speed testing of all parts of Audacity during the alpha and Release Candidate test phases ad was satisfied that although 3.0.0 was ever so slightly slower for WAV export it was so close as to be acceptable - nothing as divergent as you are reporting. We took great pains to ensure that there was no serious performance penalty coming with the new integrated project file structure

Just to be sure I just did some further tests just now. My PC is an HP Envy with a 256GB SSD and an onboard 1TB HD (spinning metal), running W10.

I generated a one-four stereo chirp and timed the exports of that as a WAV file (605 MB) - an hour is a pretty fair test.

1) On 2.3.3 and 2.4.2 both SSD and HD the WAV export took 26 seconds
2) On 3.0.0 both SSD and HD the WAV export took 27 seconds

so a mere 1 second or 3.85% increase - which I think should be tolerable (the price you pay for the new safer integrated project file).

I'm slightly surprised that the write times are so similar for HD and SSD - but where SSD shines over HD is in read access times.

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

BazzerBee
Posts: 7
Joined: Fri Feb 05, 2021 10:24 am
Operating System: Windows 10

Re: Audacity 3 much slower when saving file

Post by BazzerBee » Mon Mar 22, 2021 4:18 pm

There must be something in my PC that Audacity 3.0.0 doesn't like :( I'll try running a comparison on another PC

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

Re: Audacity 3 much slower when saving file

Post by waxcylinder » Mon Mar 22, 2021 4:19 pm

And with a bit of time on my hands I repeated 2.3.3 versus 3.0.0 with a 4 hour chirp - a 2.36GB WAV file

1) On 2.3.3 WAV export
a) SSD 1m 52 secs
b) HD 1m 46 secs

3) In 3.0.0 WAV export
c) SSD 1m 55 secs - a 3 second or 3.6% increase
d) HD 1m 59 secs - a 13 second or 12.26% increase
so a fair increase for the HD export -- but I'm totally puzzled by your 60% time increased, if I recorded that I would be worried, in fact we would not have released id we measured such a large discrepancy

3) Incidentally the Chirp generation is faster on 3.0.0 where it took 1m09s versus 1m20s with 2.3.3.


But to test this really scientifically I would need to:
a) detach my PC from the Internet and my Wifi
b) ensure no other processes are running
c) turn off my McAfee virus checker
d) repeat the tests many times
But sorry I just don't have the time to do that.

I also think that just under two minutes to export a 4 hour stereo WAV at 2.36GB is not an unreasonable amount of time.


BTW I note that in your original post you talk about "save a 2.16GB wav file" - you do mean Export don't you - or are you talking about the time to save a project ?

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

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

Re: Audacity 3 much slower when saving file

Post by waxcylinder » Mon Mar 22, 2021 4:25 pm

BazzerBee wrote:
Mon Mar 22, 2021 4:18 pm
There must be something in my PC that Audacity 3.0.0 doesn't like :( I'll try running a comparison on another PC

Please do and please report back (and please tell me more about your configuration) - you have got me intrigued. :geek:

Part of the testing I did in the alpha nda RC phases was to use pre-release 3.0.0 for my production engine. I regularly work on 2-3 hour stereo projects and I have never felt slowed down when using v3.

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

BazzerBee
Posts: 7
Joined: Fri Feb 05, 2021 10:24 am
Operating System: Windows 10

Re: Audacity 3 much slower when saving file

Post by BazzerBee » Mon Mar 22, 2021 5:24 pm

Hi Peter, Yes you are correct, I did mean "Export" and it was saved as 32 bit PCM 96000Hz. I haven't been able to try 3.0.0 on another machine yet but will do tomorrow and I'll report back

BazzerBee
Posts: 7
Joined: Fri Feb 05, 2021 10:24 am
Operating System: Windows 10

Re: Audacity 3 much slower when saving file

Post by BazzerBee » Tue Mar 23, 2021 11:44 am

Peter, I've compared Audacity 2.4.2 to Audacity 3.0.0 on another older and slower PC and "exported" the same 2.16GB file, 2.4.2 took 136 seconds and 3.0.0 took 148 seconds so the extra long save times I originally reported must be something to do with 3.0.0 not liking my PC :( I guess I'll keep using an older version of Audacity for now

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

Re: Audacity 3 much slower when saving file

Post by waxcylinder » Tue Mar 23, 2021 12:38 pm

Thanks for that feedback BazzerBee - most puzzling :?

Personally I'd put up with longer exports (make coffee) for the benefit of all the bug-fixes and the improved safer database structure - but that's me :geek:

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

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

Re: Audacity 3 much slower when saving file

Post by steve » Tue Mar 23, 2021 1:31 pm

I'm on a different platform, but out of interest, I've just run a quick test to compare WAV export with Audacity 3.0.0 and Audacity 2.3.3 (the only other version that I currently have installed).
Exporting a 300 MB 16-bit, 44100 Hz WAV file took a shade over 8 seconds with both versions of Audacity.
Other than the Audacity version and the exported file name, all else was identical for both tests.

Fwiw I didn't expect much difference because the bottleneck is usually the conversion from 32-bit float (in the project) to 16-bit (in the exported file).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

darkzomb
Posts: 3
Joined: Fri Jul 10, 2020 11:54 pm
Operating System: Windows 10

Re: Audacity 3 much slower when saving file

Post by darkzomb » Tue Mar 23, 2021 6:55 pm

I just updated to 3.0 ona windows 10 machine and its taking it over 20 minutes to open an old file! I am doing podcast editing, and if its going to take this long opening, how long will it take to save?!?!?! I tried to save on my previos version, 2.3.something, and it was going to take over 2 hours to save after some cuts and edits, that is twice as long as the tracks!!! I do not understand! It used to save in like 2 minutes MAYBE, but now... I don't know if this is feasable!

Post Reply