playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
154 stars 28 forks source link

Profiler, limit updates #744

Open LeXXik opened 2 years ago

LeXXik commented 2 years ago

Currently, the profiler updates the metrics UI on each frame. This makes it unintelligible on monitors with high refresh rates. This is a feature request to limit the refresh rate to some fixed slower rate.

image

albertvanveen commented 2 years ago

I need this feature too. 👍

willeastcott commented 2 years ago

OK, we can refrain from updating the values for several frames. Presumably, we should average the previous frames since the last update rather than just show the latest, right?

LeXXik commented 2 years ago

Either over some 10-15 frames or over some fixed time would do the trick probably.

Maksims commented 2 years ago

Spotting periodical spikes in values - is as helpful as seeing average values over some time. Perhaps this would be a setting, with a number of frames from 1 to more, by which values are averaged.