[JW Lua] JW Lua about 20% faster in "minimized" Finale window / JW Lua performance on different computers

Jan Angermüller jan at angermueller.com
Fri Jan 12 15:31:00 CET 2018


Jari et al.,

I noticed that JW Lua plugins that use *lots of selection or part 
switching calls that require a screen update* are much faster when the 
plugin is called in a minimized Finale window. The speed boost was about 
15-25% (!).

Here is the short live screencam video that demonstrates the behaviour:
https://www.youtube.com/watch?v=9l3F5ZfIIz4
Plugin processing time in*minimized mode: 13.45 seconds*
Plugin processing time in*fullscreen mode: 16.65 seconds *(23.7% slower)
Measured several times, so this relation seems to be typical for this 
plugin.

Another speed up can be achieved when performing the *plugin processing 
in scroll view* (instead of page view) - already done in the video 
above. Though IRIC there are a few things that can only be performed in 
page view (can't remember what it was...).

I assume that the main problem is *Finale's "Selection tool" algorithm* 
which in this score already takes about 500ms for a full score selection 
("Ctrl-A"). Why does "select" always have to recalculate/redraw the 
whole notation instead of just adding a "contour of the selected area" 
which should actually take 0 seconds? Pressing Ctrl-A on a huge 
orchestra score takes about 1-2 seconds even on a fast computer.

During the tests I also looked at the JW Lua performance of the same 
plugin on different computers - with these results (no surprise actually):

Windows Vista, Laptop (from 2009, 3 GB, 2,5 GHz, P9500, AMD Radeon 3400):
Single-threaded benchmark: 1145
Finale 2014.5 JW Lua plugin processing time: 16,8 seconds

Windows 10, PC(from 2013, 32 GB, 3, GHz, i3960, AMD Radeon 5450):
Single-threaded benchmark: 1928
Finale 2014.5 JW Lua plugin processing time: 12,6 seconds

Windows 10, Laptop (from 2016, 32 GB, 4,4 GHz, i8700, NVidia GTX 1060):
Single-threaded benchmark: 2815
Finale 2014.5 JW Lua plugin processing time: 7,1 seconds
(Fin25 also performs in exactly 7,1 seconds on this computer! Not tested 
on the others.)

They correlate mainly with the single-thread performance of the computer 
(calculated with PassMark's Benchmark) and probably partially with the 
graphic card performance.

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20180112/329bbf58/attachment.html>


More information about the JWLua mailing list