Closed increpare closed 7 years ago
So I'm happy to look at this, but have NFI how to use jsperf with puzzlescript. Any tips for players new to the game?
Jsperf is more for once-off small benchmarks. I'd try out the firefox and chrome profilers on the test suit (maybe pick one or two examples from the suite) and try to speed up their compilation.
Chrome's profiler has cool flame charts, but I remember firefox's giving more detail -
http://addyosmani.com/blog/wp-content/uploads/2013/08/Screen-Shot-2013-08-29-at-22.27.11.png
Ah cool. That's what I've been doing.
good enough for now innit
With the object/layer limit removed, compilation time is going to get bigger - and this effects loading times quite a bit for both play.html and exported files. It's had zero optimization so far, so likely there are a bunch of things that could be profitably looked at.