You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
349 B
12 lines
349 B
2 years ago
|
interface Performance {
|
||
|
enable(): void;
|
||
|
disable(): void;
|
||
|
mark(name: string): void;
|
||
|
markStart(name: string): void;
|
||
|
markEnd(name: string): void;
|
||
|
measure(name: string, startMark?: string, endMark?: string): void;
|
||
|
print(): void;
|
||
|
}
|
||
|
declare function createPerformance(): Performance;
|
||
|
export { Performance, createPerformance };
|