Benchmark ORM on Truffleruby vs CRuby perfromance problem #3583
Replies: 2 comments 8 replies
-
Thanks for the report. From your output, where does the number in |
Beta Was this translation helpful? Give feedback.
-
Recently I ran yjit-bench's activerecord benchmark (which uses sqlite3), on JVM EE from the last GFTC dev build: |
Beta Was this translation helpful? Give feedback.
-
I was inspired by the article and decided to reproduce the tests for ActiveRecord and ORM in the spirit of Shopify benchmark.
In the results of the article from 2022, the results were as follows
I've created a repository where I defined Dockerfile for ruby and for truffleruby.
And create test inspired by a version from Shopify benchmark but replaced sqlite with postgres.
To customize truffleruby, I have been studying your documentation and followed the next steps:
I end up with the following results:
For MRI 3.3.1
For Truffleruby 24.0.1-JVM (I've tried running benchmark 10 times to test within a single run to check for warmup)
My system:
NixOS 24.05
Docker version 24.0.9, build v24.0.9
AMD 5950x
128 GB RAM
SSD - intel 905p 1.5 TB
I believe I am doing something wrong that is causing me to get these results, can I get some help with this issue?
Beta Was this translation helpful? Give feedback.
All reactions