Giter Site home page Giter Site logo

Benchmark require about vapor HOT 7 CLOSED

vapor avatar vapor commented on April 27, 2024
Benchmark require

from vapor.

Comments (7)

mpclarkson avatar mpclarkson commented on April 27, 2024

I've benchmarked Vapor at 5000+ requests per second returning a json response using apache bench on my laptop. We're using PHP7 on one of our work dev servers and it is certainly much, much faster than 5. Not only is it faster but the memory usage is also significant lower. That being said, as PHP is interpreted, IMHO it's not going to be as fast as Swift, which is compiled.

from vapor.

wildfiremedia avatar wildfiremedia commented on April 27, 2024

Thanks for your benchmark and I assumed you posted in HN as well. What you think of Go can be a potential as a Laravel framework clone if there is?

from vapor.

tanner0101 avatar tanner0101 commented on April 27, 2024

I would love to have a benchmark of Vapor vs other web frameworks that we could put in the Wiki.

from vapor.

elithrar avatar elithrar commented on April 27, 2024

Two options:

  • Add Vapor to the Techempower benchmarks: https://www.techempower.com/benchmarks/#section=code&hw=peak&test=fortune
  • Benchmark using a tool that is aware of Coordinated Omission (aka not ab). Doing your own benchmarks is still hard though: any non-trivial (writing static text isn't a benchmark) example takes a bit of work to write, and implementing that in other languages to compare can be a rabbit hole. Setting some goals (must turn a 8K data structure into JSON, must serialize and HMAC a cookie, etc) would be good.

Plus hey, 5000/req/s is 18 million requests an hour. Even at their peak hour, most web services won't see that kind of traffic!

from vapor.

wildfiremedia avatar wildfiremedia commented on April 27, 2024

While I haven't try Vapor yet, if you could compile with -fast optimization
that will covert code to LLVM?

On Monday, February 22, 2016, Matt Silverlock [email protected]
wrote:

Two option:

Plus hey, 5000/req/s is 18 million requests an hour. Even at their peak
hour, most web services won't see that kind of traffic!


Reply to this email directly or view it on GitHub
#43 (comment).

from vapor.

tanner0101 avatar tanner0101 commented on April 27, 2024

@elithrar The web frameworks benchmark looks like a great resource for development. I will add passing those benchmarks to the roadmap.

from vapor.

tanner0101 avatar tanner0101 commented on April 27, 2024

Added https://github.com/qutheory/vapor/wiki/Roadmap

from vapor.

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.