-
Notifications
You must be signed in to change notification settings - Fork 43
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
minor gas fix #881
Merged
Merged
minor gas fix #881
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
edg-l
requested review from
igaray,
azteca1998,
jrchatruc,
entropidelic,
fmoletta,
Oppen and
pefontana
as code owners
October 25, 2024 09:12
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
10.938 ± 0.286 | 10.682 | 11.472 | 23.79 ± 0.63 |
cairo-native (embedded AOT) |
3.160 ± 0.039 | 3.123 | 3.256 | 6.87 ± 0.09 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.186 ± 0.050 | 3.138 | 3.286 | 6.93 ± 0.11 |
cairo-native (standalone AOT) |
0.663 ± 0.005 | 0.659 | 0.672 | 1.44 ± 0.01 |
cairo-native (standalone AOT with -march=native) |
0.460 ± 0.001 | 0.459 | 0.464 | 1.00 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
11.272 ± 0.289 | 10.773 | 11.657 | 1520.54 ± 40.68 |
cairo-native (embedded AOT) |
2.917 ± 0.059 | 2.792 | 2.997 | 393.48 ± 8.55 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
2.818 ± 0.035 | 2.771 | 2.894 | 380.09 ± 5.55 |
cairo-native (standalone AOT) |
0.007 ± 0.000 | 0.007 | 0.008 | 1.00 |
cairo-native (standalone AOT with -march=native) |
0.008 ± 0.000 | 0.008 | 0.009 | 1.08 ± 0.01 |
Benchmark for program logistic_map
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
4.461 ± 0.034 | 4.426 | 4.523 | 62.08 ± 0.51 |
cairo-native (embedded AOT) |
3.015 ± 0.043 | 2.955 | 3.080 | 41.95 ± 0.62 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.170 ± 0.054 | 3.078 | 3.244 | 44.11 ± 0.76 |
cairo-native (standalone AOT) |
0.116 ± 0.000 | 0.116 | 0.117 | 1.61 ± 0.01 |
cairo-native (standalone AOT with -march=native) |
0.072 ± 0.000 | 0.072 | 0.073 | 1.00 |
Benchmark results Main vs HEAD.
|
pefontana
approved these changes
Oct 25, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #881 +/- ##
=======================================
Coverage 82.82% 82.82%
=======================================
Files 120 120
Lines 34941 34941
=======================================
Hits 28941 28941
Misses 6000 6000 ☔ View full report in Codecov by Sentry. |
azteca1998
approved these changes
Oct 28, 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.
This applies a libfunc gas fix i found in #875
but is separate from the builtin costs rework.
The bug was that when the withdraw gas fails, on the failure branch it returned the substracted gas, but it should return the non substracted gas
Checklist