Giter Site home page Giter Site logo

Benchmarking about hermit-rs HOT 8 OPEN

hugusmaximus avatar hugusmaximus commented on August 10, 2024
Benchmarking

from hermit-rs.

Comments (8)

mkroening avatar mkroening commented on August 10, 2024 1

Yeah, it's expected to be slow without --release. We should add a hint to the README in https://github.com/hermit-os/hermit-rs-template.

from hermit-rs.

hugusmaximus avatar hugusmaximus commented on August 10, 2024 1

Yes, with --release I got 40 req/sec. Not a rocket but it works for me. Thanks!

from hermit-rs.

stlankes avatar stlankes commented on August 10, 2024

I have to check. In the past, we had some performance issue. But I thought that we have solved it. Maybe it come back with an PR. Currently, our checks do not evaluate, if a PR creates some power losses.

from hermit-rs.

stlankes avatar stlankes commented on August 10, 2024

On my system I got better performance. Naive question. Do you build the Hermit application with --release?

from hermit-rs.

hugusmaximus avatar hugusmaximus commented on August 10, 2024

from hermit-rs.

mkroening avatar mkroening commented on August 10, 2024

Network performance is something that we are actively looking into, so it should get better in the future. :)

from hermit-rs.

hugusmaximus avatar hugusmaximus commented on August 10, 2024

My apologies. I'm getting much, much more. This 40 req/sec is because an experimental KASLR I was implementing and also plus SSL offloading proxy before. Just tried your vanilla code with plain HTTP and I get 10.000 req/sec, which looks pretty good!!!

hugo@anakin:~/home/hugo$ wrk -c100 -d10000 -t 10 http://10.137.0.3:9975
Running 167m test @ http://10.137.0.3:9975
  10 threads and 100 connections
^C  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     8.97ms    2.27ms  25.83ms   82.25%
    Req/Sec     1.08k   323.60    10.69k    86.06%
  164378 requests in 15.32s, 38.22MB read
Requests/sec:  10731.98
Transfer/sec:      2.50MB

from hermit-rs.

mkroening avatar mkroening commented on August 10, 2024

Ah, I am relieved. Thanks for clarifying!

from hermit-rs.

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.