https://github.com/foxdaxian/performanceview
purescript for performance
https://github.com/foxdaxian/performanceview
performance pure-javascript
Last synced: 2 days ago
JSON representation
purescript for performance
- Host: GitHub
- URL: https://github.com/foxdaxian/performanceview
- Owner: FoxDaxian
- License: mit
- Created: 2019-06-16T12:59:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T18:13:41.000Z (over 3 years ago)
- Last Synced: 2025-01-11T16:39:41.794Z (over 1 year ago)
- Topics: performance, pure-javascript
- Language: JavaScript
- Homepage:
- Size: 1.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
### performanceView --- 迷你性能检测工具
```javascript
import { PerformanceView, showPerformanceInfo } from performanceView;
// 自测性能
// 注意start和end方法参数必须相同,即使为空
const pv = new PerformanceView();
pv.start('案例1');
setTimeout(() => {
pv.end('案例1');
}, 1000);
// 查看性能相关信息
showPerformanceInfo();
```