Reinventing frame rate measuring.

This commit is contained in:
Mal
2020-02-16 15:32:17 +01:00
parent a7ecbf9d2e
commit d4f3ac969f
2 changed files with 11 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import FrameRateMeasuredEvent from "./events/FrameRateMeasuredEvent.js";
export default class FrameRateMeasurer
{
constructor(rounds = 100)
constructor(rounds = 30)
{
this.rounds = rounds;
this.round = 0;