import { PerformanceView, showPerformanceInfo } from performanceView;
// 自测性能
// 注意start和end方法参数必须相同,即使为空
const pv = new PerformanceView();
pv.start('案例1');
setTimeout(() => {
pv.end('案例1');
}, 1000);
// 查看性能相关信息
showPerformanceInfo();
-
Notifications
You must be signed in to change notification settings - Fork 0
purescript for performance
License
FoxDaxian/performanceView
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
purescript for performance
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published