Giter Club home page Giter Club logo

Comments (2)

googollee avatar googollee commented on June 26, 2024

engine.io has its format in binary. It's not raw websocket protocol.

What kind of bench mark are you need? I'm working on new version now (check
1.4 branch), and I'm happy to hear some new requirement from real world.
ruandao [email protected]于2016年8月22日 周一上午10:00写道:

I had try websocket-bench but it seem something error, is there other way
to bench test engine.io?

appledeMacBook-Pro-2:websocket ruandao$ websocket-bench -g generator.js -t engine.io -a 100 -c 40 http://localhost:5000/engine.io/
Launch bench with 100 total connection, 40 concurent connection
0 message(s) send by client
1 worker(s)
WS server : engine.io
/usr/local/lib/node_modules/websocket-bench/lib/worker.js:36
var worker = new BenchmarkWorker(server, generator, verbose);
^

TypeError: BenchmarkWorker is not a function
at Object. (/usr/local/lib/node_modules/websocket-bench/lib/worker.js:36:14)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:142:18)
at node.js:939:3
events.js:154
throw er; // Unhandled 'error' event
^

Error: channel closed
at ChildProcess.target.send (internal/child_process.js:523:16)
at Benchmark._nextStep (/usr/local/lib/node_modules/websocket-bench/lib/benchmark.js:87:21)
at Timeout._onTimeout (/usr/local/lib/node_modules/websocket-bench/lib/benchmark.js:100:13)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#42, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeTjmUdrBbfjPOax_8jwxRV50yTaU1lks5qiQKwgaJpZM4JpdHI
.

from go-engine.io.

ruandao avatar ruandao commented on June 26, 2024

thank you for the reply.
I had found io-bench which is support engine.io test.

as I am a beginner of the engine.io, i just want to test and run it alone, knowing what code I write may become the bottleneck

from go-engine.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.