Closed
Description
Hi! While benching socket.io for #2239 with https://github.com/darrachequesne/siobench (forked from https://github.com/mixu/siobench), I noticed a quite important decrease in performance between version 1.3.5 and 1.3.6. The memory footprint does increase a lot:
node siobench.js 1.3.5
stops at ~1400 clients, RSS ~ 90Mb:
node siobench.js 1.3.6
stops at only ~700 clients, RSS ~ 180Mb:
(The tests were of course run on the same machine) Has anybody else noticed such a drop in performance?
After some analysis, this seems to be related to the following commit ae5420b (you can bench it withnode siobench.js 1.3.6-patch
), which consists in a bump ofengine.io
(socketio/engine.io@ab2bd0b to socketio/engine.io@f3fd4bb, which itself consists in some minor changes (I think) and a bump of engine.io-client (socketio/engine.io-client@4f87aae to socketio/engine.io-client@d010541), which includes the following:
"dependencies": {
- "has-cors": "1.0.3",
- "ws": "0.7.1",
- "xmlhttprequest": "https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz",
+ "has-cors": "1.1.0",
+ "ws": "0.7.2",
+ "xmlhttprequest-ssl": "1.5.1",
Could this be related? Or are my results completely inconsistent?
Edit: Nodejs version
npm -v 2.11.3
node -v v0.12.7
Metadata
Metadata
Assignees
Labels
No labels