Bugzilla – Bug 2192
Linux: Many effects (Repair, Paulstretch, Reverb) much slower
Last modified: 2019-10-15 12:31:24 UTC
Xubuntu 18.04 64-bit, Audacity 2.3.3 84d57170054857ff97919c7a2c9cf33b1f2c6053 Tested with debug and non-debug builds. Time taken for the Repair effect on a selection of around 120 samples, is around 7 to 9 seconds. In previous versions the effect was almost instant.
Testing on W10 with latest alpha audacity-2.3.3-alpha-315-84d57170054857ff97919c7a2c9cf33b1f2c6053 A repair of 120 samples is almost instant. WORKSFORME @Steve: you have marked this as a regression - but on which Audacity version?
Regression against Audacity 2.2.1 (The Ubuntu 18.04 LTS release version). Audacity 2.3.2 and 2.3.1 have the same problem.
Per Steve's email not just repair, but also Paulstretch 5x slower, Reverb 4x slower on Linux (vs 2.2.1). Raising from P2 tp P1 and changing title.
At Robert's suggetstion I tested with the full 128 samples - and on both Win and Mac with latest alphas the Repair effect is almost immediate.
(In reply to Peter Sampson from comment #4) Testing on W10 with audacity-2.3.3-alpha-315-84d57170054857ff97919c7a2c9cf33b1f2c6053 and 2.3.3 Testing on a five minute stereo song Reverb and Paulstretch show the same timings on 2.3.2 and latest alpha 2.3.3 a) Reverb - 2 seconds b) Paulstretch - 1min 16secs
(In reply to Peter Sampson from comment #5) And testing on W10 with 2.2.1 (where Steve cites the regression) a) Reverb - 2 seconds (same as 2.3.3 and 2.3.2) b) Paulstretch - 1min 38secs (22 seconds slower than 2.3.3 and 2.3.2) => later Audacities show an improvement for Paulstretch
Testing on a five minute stereo song, default settings for effects, Linux non-debug (release) build: Audacity 2.2.1 Reverb: 3 seconds Paulstretch: 56 seconds Audacity 2.3.3 alpha (5d4c884) Reverb: 9 seconds Paulstretch: 322 seconds I also tested the new "Filter Curve" compared to "Equalization": Audacity 2.2.1 Equalization (Bass boost): < 1 second Audacity 2.3.3 alpha (5d4c884) Filter Curve (Bass Boost): 10 seconds
Fix made: https://github.com/audacity/audacity/commit/b2e7350587e Sets the default optimization level for release builds to -O2, though allowing this to be overridden with CFLAGS / CXXFLAGS. When the --enable-debug option is selected, optimizations are overridden by '-O0 -g'. Note that effects will be slow when Audacity is built with the --enable-debug option, because optimizations have been disabled for debugging. If debugging symbols are required with some optimizations enabled, use CFLAGS / CXXFLAGS to set the optimization level and "-g" for debugging symbols and do not use the configure option "--enable-debug".
As Steve is the original looger of this bug and is the key Linux QA tester - I am assuming that he is happy with the results of this fix. And althought it is not usual for us to close a bug off when tested by the person who committed the fix - in this case I sahall make an exception an close this as RESOLVED
REOPENED as this apperas to be still under discussion
(In reply to Peter Sampson from comment #10) I believe this bug is now solved. However, there is a residual that is currently unresolved. That residual is logged as bug 2228.