nodejs分析未知和未计入的结果
我正在运行nodejs 4.4.7 LTS
我运行这里描述的探查器https://nodejs.org/en/docs/guides/simple-profiling/ :
node --prof app.js
接着:
node --prof-process isolate-something-v8.log > processed.txt
我是否缺less分析器或其他东西?
代码是关于什么的:
NodeJS应用程序是socket.io服务器发送数据从WEB到C + +应用程序和反对。
从下面的结果可以看出,这里有大量的未logging的抽搐。 什么可能导致这种情况,以及如何知道在这种情况下我的应用程序的瓶颈? 有什么可以解决的?
Code move event for unknown code: 0x61047523c0 Code move event for unknown code: 0x6104bf74a0 Statistical profiling result from isolate-000001E1507CF2D0-v8.log, (211705 ticks, 210634 unaccounted, 0 excluded). [Shared libraries]: ticks total nonlib name [JavaScript]: ticks total nonlib name 71 0.0% 0.0% LazyCompile: *stringToBuffer *SOMETHING*\socket.io\node_modules\engine.io\node_modules\engine.io-parser\lib\index.js:359:24 59 0.0% 0.0% LazyCompile: listOnTimeout timers.js:56:23 50 0.0% 0.0% LazyCompile: *wrapper timers.js:274:19 43 0.0% 0.0% Stub: StringAddStub_CheckNone_NotTenured . . . [C++]: ticks total nonlib name [Summary]: ticks total nonlib name 1071 0.5% 0.5% JavaScript 0 0.0% 0.0% C++ 202 0.1% 0.1% GC 0 0.0% Shared libraries 210634 99.5% Unaccounted [C++ entry points]: ticks cpp total name [Bottom up (heavy) profile]: Note: percentage shows a share of a particular caller in the total amount of its parent calls. Callers occupying less than 2.0% are not shown. ticks parent name 210634 99.5% UNKNOWN
- 我怎样才能从客户端使用NodeJS的套接字获取标头请求
- io.on('connection',…)vs io.sockets.on('connection',…)
- Node.js + Socket.io + MongoDB webapps如何真正asynchronous?
- 如何通过socket.io对象访问express.session.MemoryStore?
- 通过socket.io通过websockets传输图像时负载很重
- Cloud 9 IDE上的Socket.io – 警告:错误提出:错误:听EACCES
- 使用Socket.io检测(客户端)连接
- 在串口上获取新旧数据 – Arduino uno,nodejs,socket.io和传感器
- Nodejs中是否有像django admin一样的模块?