Coder Social home page Coder Social logo

Update benchmark results about lapps HOT 4 CLOSED

itpc avatar itpc commented on May 29, 2024
Update benchmark results

from lapps.

Comments (4)

pkpro avatar pkpro commented on May 29, 2024

Hi Alex,
You might be interested https://habr.com/ru/post/460847/

Unfortunately, I had not enough for these tests to make a comparison with uWebSockets. These large machines are gone. Please give me a sign if you'll be able to find several machines for the tests so we can compare both our tools against each another.
Regards,
Pavel.

from lapps.

 avatar commented on May 29, 2024

It was more of a rhetorical thing,

I already know the answer and I can see that you have since removed any references to uWebSockets.

Problem solved, even though you still cling on to your initial conclusion even though you kind of removed the reasoning for it.

Thanks

from lapps.

pkpro avatar pkpro commented on May 29, 2024

Lol, that was it? I thought you are interested in real thing. Your library is much better now since you started making it more C++ than C with classes, but still my application server beats your lib on order of magnitude. On your tests I see you can't close up to 300k erps with TLS enabled. Anyway good luck in improving your libratry.

from lapps.

 avatar commented on May 29, 2024

Sorry my dude,

I finally managed to figure out how to get LApps working on my machine (you probably want to make it easier to use).

alexhultman@clr-9c9c4beff725453db9688b589234d573~/uWebSockets.js/uWebSockets/benchmarks $ ./load_test 40 localhost 5083 0
Running benchmark now...
Msg/sec: 141515.750000
Msg/sec: 148114.500000
Msg/sec: 150802.000000
Msg/sec: 148534.750000
Msg/sec: 149844.000000
^C
alexhultman@clr-9c9c4beff725453db9688b589234d573~/uWebSockets.js/uWebSockets/benchmarks $ ./load_test 40 localhost 9001 0
Running benchmark now...
Msg/sec: 189965.750000
Msg/sec: 190446.250000
Msg/sec: 189995.000000
Msg/sec: 190335.000000
Msg/sec: 188448.000000

LApps is sweating at 200% CPU-time usage and performs significantly worse, while uWebSockets is running at 100% CPU-time and is way ahead.

There you go,

Thanks

from lapps.

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.