<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Jari et al.,<br>
    <br>
    I noticed that JW Lua plugins that use <b>lots of selection or part
      switching calls that require a screen update</b> are much faster
    when the plugin is called in a minimized Finale window. The speed
    boost was about 15-25% (!).<br>
    <br>
    Here is the short live screencam video that demonstrates the
    behaviour:<br>
    <a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=9l3F5ZfIIz4">https://www.youtube.com/watch?v=9l3F5ZfIIz4</a><br>
    Plugin processing time in<b> minimized mode: 13.45 seconds</b><br>
    Plugin processing time in<b> fullscreen mode: 16.65 seconds </b>(23.7%
    slower)<br>
    Measured several times, so this relation seems to be typical for
    this plugin.<br>
    <br>
    Another speed up can be achieved when performing the <b>plugin
      processing in scroll view</b> (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...).<br>
    <br>
    I assume that the main problem is <b>Finale's "Selection tool"
      algorithm</b> 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.<br>
    <br>
    During the tests I also looked at the JW Lua performance of the same
    plugin on different computers - with these results (no surprise
    actually):<br>
    <br>
    Windows Vista, Laptop (from 2009, 3 GB, 2,5 GHz, P9500, AMD Radeon
    3400):<br>
    Single-threaded benchmark: 1145<br>
    Finale 2014.5 JW Lua plugin processing time: <span
      style="font-weight: bold">16,8 seconds</span><br>
    <br>
    Windows 10, PC(from 2013, 32 GB, 3, GHz, i3960, AMD Radeon 5450):<br>
    Single-threaded benchmark: 1928<br>
    Finale 2014.5 JW Lua plugin processing time: <span
      style="font-weight: bold">12,6 seconds</span><br>
    <br>
    Windows 10, Laptop (from 2016, 32 GB, 4,4 GHz, i8700, NVidia GTX
    1060):<br>
    Single-threaded benchmark: 2815<br>
    Finale 2014.5 JW Lua plugin processing time: <span
      style="font-weight: bold">7,1 seconds</span><br>
    (Fin25 also performs in exactly 7,1 seconds on this computer! Not
    tested on the others.)<br>
    <br>
    They correlate mainly with the single-thread performance of the
    computer (calculated with PassMark's Benchmark) and probably
    partially with the graphic card performance.<br>
    <br>
    Best,<br>
    Jan<br>
  </body>
</html>