performance-view

1.0.3 • Public • Published

performanceView --- 迷你性能检测工具

	import { PerformanceView, showPerformanceInfo } from performanceView;
    // 自测性能
    // 注意start和end方法参数必须相同,即使为空
    const pv = new PerformanceView();
    pv.start('案例1');
    setTimeout(() => {
    	pv.end('案例1');
    }, 1000);
    // 查看性能相关信息
    showPerformanceInfo();

Readme

Keywords

none

Package Sidebar

Install

npm i performance-view

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

287 kB

Total Files

21

Last publish

Collaborators

  • cnfox