gkjohnson / js-framerate-optimizer

Library for tracking and iteratively improving page framerate over time

Home Page:https://gkjohnson.github.io/js-framerate-optimizer/example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a function for setting a manually measured time

gkjohnson opened this issue · comments

To enable optimization based on GPU time rather than just JS time with this extension:

https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query_webgl2/

Add a recordTime or addSample function that takes an explicit, manually computed time.