Comments (4)
Maybe we should not @crimson-knight
Let me explain ...
Here is some figures
- rails without yjit
wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://127.0.0.1:3000
Running 15s test @ http://127.0.0.1:3000
8 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 12.82ms 11.31ms 169.36ms 84.08%
Req/Sec 770.87 103.75 1.08k 79.40%
92103 requests in 15.02s, 29.59MB read
Requests/sec: 6133.22
Transfer/sec: 1.97MB
- rails with yjit
wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://127.0.0.1:3000
Running 15s test @ http://127.0.0.1:3000
8 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 8.82ms 9.21ms 194.68ms 84.53%
Req/Sec 1.19k 139.76 1.72k 91.25%
141770 requests in 15.01s, 45.54MB read
Requests/sec: 9443.41
Transfer/sec: 3.03MB
- rails (api mode) without yjit
wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://127.0.0.1:3000
Running 15s test @ http://127.0.0.1:3000
8 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 12.82ms 15.89ms 160.35ms 83.51%
Req/Sec 1.10k 169.65 1.80k 75.83%
131897 requests in 15.01s, 42.28MB read
Requests/sec: 8786.10
Transfer/sec: 2.82MB
- rails (api mode) with yjit
wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://127.0.0.1:3000
Running 15s test @ http://127.0.0.1:3000
8 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 8.70ms 10.87ms 140.24ms 82.88%
Req/Sec 1.69k 186.22 2.66k 77.90%
201473 requests in 15.01s, 64.58MB read
Requests/sec: 13424.50
Transfer/sec: 4.30MB
YJIT is a game changer, but not sure if this is our responsibility (I mean in this project) to override default.
At least in rails
7.2, yjit
will be enabled by default.
Will it be the same for other, I do not kown
cc @jodosha @jeremyevans @adamluzsi
from web-frameworks.
I think it's a good idea to enable yjit by default.
from web-frameworks.
@waghanza Since now on, please ping @timriley for Hanami related questions. Thanks 🙂 .
from web-frameworks.
I think there was a gap down for 3.3, when you compare https://web-frameworks-benchmark.netlify.app/result?f=rails-api,railsfor december 2023 and january 2024.
Worth to investigate before enabling jit
from web-frameworks.
Related Issues (20)
- [PHP] Use one docker ayer forextensions and modules
- Why not use wrk2? HOT 4
- [Dart] Try to remove shell copying onto minimal container
- uWebSockets (javascript framework) is not included in the latest release [2024-01-23 (19a4d71)] HOT 1
- [JavaScript] Update spiffy version in results
- [V] Set bootstrap in config
- hono is only tested using node, should be tested using bun HOT 6
- [Javascript] Use pup for deno
- Check java version displayed HOT 1
- Add Litestar python framework HOT 1
- [Dart] Add more frameworks HOT 6
- Running tests without postgres
- [PHP] Add Bitrix HOT 2
- [Javascript] Add next.js HOT 2
- Add robyn python framework HOT 3
- drogon HOT 1
- [Gleam] Add mist HOT 7
- Bug in Framework Selection: All Frameworks Appear Regardless of Version and Language
- Check java version displayed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-frameworks.