Emoji Rendering Efficiency (#35568)

This commit is contained in:
Echo 2025-07-31 19:30:14 +02:00 committed by GitHub
commit 6bca52453a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 954 additions and 333 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);
}
}