-
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
Replace cairo programs in libfuncs/ #1038
Open
FrancoGiachetta
wants to merge
27
commits into
main
Choose a base branch
from
sierra-tests-libfuncs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
✅ Code is now correctly formatted. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1038 +/- ##
==========================================
+ Coverage 80.95% 86.14% +5.19%
==========================================
Files 108 108
Lines 29938 40458 +10520
==========================================
+ Hits 24237 34854 +10617
+ Misses 5701 5604 -97 ☔ View full report in Codecov by Sentry. |
Benchmark results Main vs HEAD.
|
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
21.321 ± 0.157 | 21.138 | 21.677 | 107.52 ± 2.00 |
cairo-native (embedded AOT) |
3.984 ± 0.049 | 3.934 | 4.061 | 20.09 ± 0.42 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.832 ± 0.045 | 3.763 | 3.905 | 19.32 ± 0.40 |
cairo-native (standalone AOT with -march=native) |
0.198 ± 0.003 | 0.191 | 0.204 | 1.00 |
Benchmark for program dict_snapshot
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.763 ± 0.038 | 5.693 | 5.838 | 2989.95 ± 75.81 |
cairo-native (embedded AOT) |
3.822 ± 0.037 | 3.780 | 3.900 | 1983.14 ± 52.19 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.678 ± 0.027 | 3.646 | 3.725 | 1908.14 ± 48.79 |
cairo-native (standalone AOT with -march=native) |
0.002 ± 0.000 | 0.002 | 0.003 | 1.00 |
Benchmark for program factorial_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.945 ± 0.084 | 14.856 | 15.113 | 11.02 ± 0.06 |
cairo-native (embedded AOT) |
4.257 ± 0.019 | 4.228 | 4.287 | 3.14 ± 0.01 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.059 ± 0.018 | 4.031 | 4.098 | 2.99 ± 0.01 |
cairo-native (standalone AOT with -march=native) |
1.356 ± 0.001 | 1.354 | 1.357 | 1.00 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
15.007 ± 0.063 | 14.937 | 15.117 | 187.66 ± 0.89 |
cairo-native (embedded AOT) |
3.777 ± 0.032 | 3.738 | 3.849 | 47.23 ± 0.41 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.594 ± 0.055 | 3.523 | 3.670 | 44.94 ± 0.69 |
cairo-native (standalone AOT with -march=native) |
0.080 ± 0.000 | 0.080 | 0.080 | 1.00 |
Benchmark for program linear_search
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.740 ± 0.044 | 5.678 | 5.794 | 2827.71 ± 98.10 |
cairo-native (embedded AOT) |
3.826 ± 0.028 | 3.787 | 3.886 | 1885.06 ± 65.24 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.732 ± 0.030 | 3.696 | 3.806 | 1838.41 ± 63.97 |
cairo-native (standalone AOT with -march=native) |
0.002 ± 0.000 | 0.002 | 0.003 | 1.00 |
Benchmark for program logistic_map
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.657 ± 0.056 | 5.596 | 5.775 | 23.38 ± 0.23 |
cairo-native (embedded AOT) |
3.907 ± 0.018 | 3.878 | 3.934 | 16.15 ± 0.08 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.844 ± 0.018 | 3.826 | 3.888 | 15.89 ± 0.08 |
cairo-native (standalone AOT with -march=native) |
0.242 ± 0.000 | 0.242 | 0.242 | 1.00 |
FrancoGiachetta
requested review from
edg-l,
igaray,
azteca1998,
jrchatruc,
entropidelic,
fmoletta,
Oppen,
pefontana and
gabrielbosio
as code owners
January 10, 2025 19:56
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.
Related to: #1035
Checklist