debug_cpuProfile
cpuProfile
方法在指定时间段内开启CPU性能检测并将检测结果写入磁盘文件。
调用方法
Geth控制台:
debug.cpuProfile(file, seconds)
JSON RPC:
{"method": "debug_cpuProfile", "params": [string, number]}
在线工具推荐: Three.js AI纹理开发包 - YOLO合成数据生成器 - GLTF/GLB在线编辑 - 3D模型格式在线转换 - 可编程3D场景编辑器
cpuProfile
方法在指定时间段内开启CPU性能检测并将检测结果写入磁盘文件。
Geth控制台:
debug.cpuProfile(file, seconds)
JSON RPC:
{"method": "debug_cpuProfile", "params": [string, number]}