-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more dict benches #977
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmark results Main vs HEAD.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #977 +/- ##
=======================================
Coverage 80.76% 80.76%
=======================================
Files 107 107
Lines 29256 29256
=======================================
Hits 23628 23628
Misses 5628 5628 ☔ View full report in Codecov by Sentry. |
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
21.019 ± 0.155 | 20.811 | 21.370 | 86.95 ± 1.61 |
cairo-native (embedded AOT) |
4.197 ± 0.051 | 4.124 | 4.289 | 17.36 ± 0.36 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.970 ± 0.050 | 3.880 | 4.025 | 16.42 ± 0.35 |
cairo-native (standalone AOT with -march=native) |
0.242 ± 0.004 | 0.235 | 0.248 | 1.00 |
Benchmark for program dict_snapshot
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.615 ± 0.016 | 5.601 | 5.645 | 17.73 ± 0.24 |
cairo-native (embedded AOT) |
4.073 ± 0.024 | 4.045 | 4.113 | 12.86 ± 0.19 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.981 ± 0.039 | 3.932 | 4.049 | 12.57 ± 0.21 |
cairo-native (standalone AOT with -march=native) |
0.317 ± 0.004 | 0.314 | 0.325 | 1.00 |
Benchmark for program factorial_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.182 ± 0.094 | 14.009 | 14.347 | 10.51 ± 0.07 |
cairo-native (embedded AOT) |
4.283 ± 0.050 | 4.211 | 4.369 | 3.17 ± 0.04 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.013 ± 0.038 | 3.955 | 4.068 | 2.97 ± 0.03 |
cairo-native (standalone AOT with -march=native) |
1.350 ± 0.002 | 1.347 | 1.355 | 1.00 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.622 ± 0.137 | 14.374 | 14.860 | 186.94 ± 1.86 |
cairo-native (embedded AOT) |
3.808 ± 0.073 | 3.702 | 3.942 | 48.69 ± 0.95 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.845 ± 0.047 | 3.795 | 3.944 | 49.15 ± 0.63 |
cairo-native (standalone AOT with -march=native) |
0.078 ± 0.000 | 0.078 | 0.079 | 1.00 |
Benchmark for program linear_search
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.882 ± 0.064 | 5.786 | 5.985 | 2943.88 ± 70.23 |
cairo-native (embedded AOT) |
4.083 ± 0.045 | 4.009 | 4.124 | 2043.52 ± 48.82 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.903 ± 0.031 | 3.864 | 3.946 | 1953.75 ± 44.30 |
cairo-native (standalone AOT with -march=native) |
0.002 ± 0.000 | 0.002 | 0.002 | 1.00 |
Benchmark for program logistic_map
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.666 ± 0.052 | 5.574 | 5.717 | 23.35 ± 0.22 |
cairo-native (embedded AOT) |
4.057 ± 0.048 | 3.998 | 4.150 | 16.72 ± 0.20 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.991 ± 0.056 | 3.918 | 4.075 | 16.45 ± 0.23 |
cairo-native (standalone AOT with -march=native) |
0.243 ± 0.000 | 0.242 | 0.244 | 1.00 |
JulianGCalderon
requested review from
edg-l,
igaray,
azteca1998,
jrchatruc,
entropidelic,
fmoletta,
Oppen,
pefontana and
gabrielbosio
as code owners
December 17, 2024 22:13
FrancoGiachetta
previously approved these changes
Dec 18, 2024
azteca1998
previously approved these changes
Dec 18, 2024
edg-l
previously approved these changes
Dec 18, 2024
JulianGCalderon
dismissed stale reviews from edg-l, azteca1998, and FrancoGiachetta
via
December 18, 2024 15:22
b1a080d
edg-l
approved these changes
Dec 18, 2024
azteca1998
previously approved these changes
Dec 18, 2024
edg-l
previously approved these changes
Dec 18, 2024
FrancoGiachetta
previously approved these changes
Dec 18, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to a conflict with the base branch
Dec 18, 2024
JulianGCalderon
dismissed stale reviews from FrancoGiachetta, edg-l, and azteca1998
via
December 18, 2024 19:44
fa43b91
azteca1998
approved these changes
Dec 18, 2024
edg-l
approved these changes
Dec 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
dict_insert
: Inserts a lot of distinct values on a dictionarydict_snapshot
: Takes a snapshot of a filled dictionary a lot of timescompare
function.Checklist