Open Herschel opened 4 years ago
Adding to this issue, as Ruffle is maturing, I think that this issue would be even more valuable. One feature that I think could be very helpful is if performance was automatically profiled/tested, with graphs automatically generated and published online, with commits on the x-axis and different performance metrics on the y-axis. That way, regressions in performance should be easier to spot, and likewise for improvements, and a better overall understanding should be made more feasible. That said, even manual profiling can be very useful.
However, as already described in the issue, there can be different challenges (credit to @Dinnerbone in helping investigate this), including:
Extra tools and technologies that may be relevant:
Additional search keywords for this issue: Performance, profiling, profiler, speed, graphics.
Also: #3432 .
We should decide on a benchmarking method so that we can measure changes to SWF parsing and the AVM (for example, when we improve our string type, cache string hashes, watch for regressions, etc.).
Options:
cargo bench
but this requires nightly and is somewhat limited.bencher
is a stable port of the above.criterion
, runs on stable, but somewhat heavy.Questions: