improve index

This commit is contained in:
41666 2023-10-01 13:20:05 -04:00
parent f1622d49f4
commit ea4210526d
5 changed files with 15 additions and 10 deletions

View file

@ -30,7 +30,12 @@ export class Telemetry {
const framesPerSecond = 1000 / averageFrameTime;
this.el.innerHTML = `
${framesPerSecond.toFixed(1)} FPS (${averageFrameTime.toFixed(3)} ms)
${framesPerSecond.toFixed(1)} FPS (${averageFrameTime.toFixed(
3
)} ms)<br />
bU: ${this.app.registry.onBeforeUpdate.length} | U: ${
this.app.registry.onUpdate.length
} | aU: ${this.app.registry.onAfterUpdate.length}
`;
this.lastFrameTime = this.app.now();