用于测量 JavaScript 函数执行时间的分析器。请注意,您需要运行优化级别 -1 以使分析工作。在优化代码上运行分析器将不会产生任何数据。
用于测量函数调用的频率和运行时间的类。
Number | maxFrames | optional maximal number of frames to include |
分析函数调用的便捷函数。
Function | func | the function to profile |
Number | maxFrames | optional maximal number of frames to include |
Object | an object with the following properties:
|