[Glitch] Emoji Rendering Efficiency

Port 6bca52453a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo
2025-07-31 19:30:14 +02:00
committed by Claire
parent c5144c0c7d
commit 0d54a47ec3
18 changed files with 891 additions and 324 deletions

View File

@@ -0,0 +1,19 @@
//
// Tools for performance debugging, only enabled in development mode.
// Open up Chrome Dev Tools, then Timeline, then User Timing to see output.
import * as marky from 'marky';
import { isDevelopment } from './environment';
export function start(name: string) {
if (isDevelopment()) {
marky.mark(name);
}
}
export function stop(name: string) {
if (isDevelopment()) {
marky.stop(name);
}
}