ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.49k stars 803 forks source link

Add benchmarks #787

Open Herschel opened 4 years ago

Herschel commented 4 years ago

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:

Questions:

iwannabethedev commented 1 year 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.

torokati44 commented 1 year ago

Referencing: https://github.com/ruffle-rs/ruffle/pull/9045, https://github.com/ruffle-rs/ruffle/pull/6071

iwannabethedev commented 1 year ago

Also: #3432 .