@beenotung/tslib
Version:
utils library in Typescript
16 lines (15 loc) • 341 B
TypeScript
/**
* timer measuring time per tick (history)
* without progress (unbounded)
* */
export declare function createSpeedTimer(title?: string): {
start: () => void;
pause: () => void;
resume: () => void;
tick: () => void;
stats: () => {
passedTime: number;
ticks: number;
};
report: () => void;
};