I have a script that I've developed that takes about 50 seconds to run. But when I move it onto another laptop it takes about 500 seconds to run (same version of JMP, different machine specs but arguably the slower machine is more powerful - faster processor, more RAM). Strangely, if I change the battery setting from High Performance to Balanced, the execution time goes down from 500 seconds to 200 seconds.
75% of the execution time is dominated by row selections, the rest by calculations. I've tried to create a test script that mimics some of the behaviour - attached. I've not fully succeeded in reproducing the performance difference between the 2 machines but I still see the strange dependency on battery setting:
High Performance: 89 seconds
Balanced: 38 seconds
If you want to try the script, upon completion it produces a table with a script 'view log'. This displays the execution time.
Any thoughts why the performance degrades with the high performance option?
-Dave