It would be amazingly helpful if scripts were much faster.
Although my posted benchmark results may not be considered relevant for many FMP applications (and I would agree), I recently documented a case where a 20,000,000 FMP script loop, with no database access and only a couple transcendental functions, took an hour and 20 minutes to complete in FMP, but that same loop took only 1.5 seconds in Java.
Now, I'm not asking for or expecting Java-level performance from FMP, but it would be fantastic if there were some script optimization for much better (especially looping, apparently) performance.
I already know people building work arounds with JS though a function would be processed by the webkit instead of FM native. This always results in a tremendous performance boost.
Some relevant Feature Requests:
Perform JavaScript Function
Native interaction between Web viewer and FileMaker Scripts (Web viewer JS API)