-
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
Export cairo vm programs #586
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
pefontana
requested review from
edg-l,
igaray,
azteca1998,
jrchatruc,
entropidelic,
fmoletta and
Oppen
as code owners
May 13, 2024 16:55
juanbono
approved these changes
May 13, 2024
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
11.387 ± 0.085 | 11.282 | 11.535 | 26.16 ± 0.21 |
cairo-native (embedded AOT) |
1.587 ± 0.018 | 1.573 | 1.633 | 3.65 ± 0.04 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1.565 ± 0.023 | 1.534 | 1.611 | 3.59 ± 0.05 |
cairo-native (standalone AOT) |
0.638 ± 0.005 | 0.635 | 0.650 | 1.47 ± 0.01 |
cairo-native (standalone AOT with -march=native) |
0.435 ± 0.001 | 0.434 | 0.436 | 1.00 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
10.698 ± 0.059 | 10.620 | 10.794 | 1317.17 ± 15.70 |
cairo-native (embedded AOT) |
1.093 ± 0.009 | 1.078 | 1.105 | 134.57 ± 1.80 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1.119 ± 0.013 | 1.108 | 1.154 | 137.74 ± 2.16 |
cairo-native (standalone AOT) |
0.008 ± 0.000 | 0.008 | 0.009 | 1.02 ± 0.02 |
cairo-native (standalone AOT with -march=native) |
0.008 ± 0.000 | 0.008 | 0.008 | 1.00 |
Benchmark for program logistic_map
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
1.902 ± 0.019 | 1.883 | 1.931 | 28.01 ± 0.28 |
cairo-native (embedded AOT) |
1.274 ± 0.018 | 1.250 | 1.299 | 18.76 ± 0.27 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1.454 ± 0.007 | 1.442 | 1.469 | 21.40 ± 0.11 |
cairo-native (standalone AOT) |
0.112 ± 0.000 | 0.111 | 0.112 | 1.64 ± 0.00 |
cairo-native (standalone AOT with -march=native) |
0.068 ± 0.000 | 0.068 | 0.068 | 1.00 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #586 +/- ##
==========================================
+ Coverage 88.54% 88.63% +0.09%
==========================================
Files 109 109
Lines 34905 34905
==========================================
+ Hits 30906 30938 +32
+ Misses 3999 3967 -32 ☔ View full report in Codecov by Sentry. |
Oppen
approved these changes
May 13, 2024
azteca1998
approved these changes
May 13, 2024
edg-l
approved these changes
May 14, 2024
Gerson2102
pushed a commit
to Gerson2102/cairo_native
that referenced
this pull request
May 15, 2024
* Add cairo-vm tests * Comment failing tests * Add doc --------- Co-authored-by: Pedro Fontana <peter@Pedros-MacBook-Pro.local>
2 tasks
2 tasks
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.
Export cairo vm programs to test
https://github.com/lambdaclass/cairo-vm/tree/main/cairo_programs/cairo-1-programs
Failed tests were commented
Checklist