-
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
Change tests to use sierra generator #1057
Draft
FrancoGiachetta
wants to merge
9
commits into
main
Choose a base branch
from
sierra-generator-bool
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.
Draft
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 not formatted! Please run |
Benchmark results Main vs HEAD.
|
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
20.842 ± 0.060 | 20.749 | 20.940 | 100.23 ± 3.23 |
cairo-native (embedded AOT) |
4.048 ± 0.037 | 3.986 | 4.100 | 19.47 ± 0.65 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.835 ± 0.023 | 3.811 | 3.881 | 18.44 ± 0.60 |
cairo-native (standalone AOT with -march=native) |
0.208 ± 0.007 | 0.199 | 0.219 | 1.00 |
Benchmark for program dict_snapshot
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.808 ± 0.044 | 5.745 | 5.882 | 2964.41 ± 101.66 |
cairo-native (embedded AOT) |
3.894 ± 0.020 | 3.871 | 3.935 | 1987.65 ± 67.27 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.733 ± 0.033 | 3.684 | 3.780 | 1905.12 ± 65.95 |
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.736 ± 0.089 | 14.571 | 14.839 | 10.86 ± 0.07 |
cairo-native (embedded AOT) |
4.271 ± 0.023 | 4.238 | 4.309 | 3.15 ± 0.02 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.050 ± 0.017 | 4.027 | 4.084 | 2.99 ± 0.01 |
cairo-native (standalone AOT with -march=native) |
1.357 ± 0.003 | 1.355 | 1.365 | 1.00 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.607 ± 0.050 | 14.538 | 14.688 | 181.88 ± 1.91 |
cairo-native (embedded AOT) |
3.816 ± 0.030 | 3.787 | 3.881 | 47.52 ± 0.60 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.595 ± 0.020 | 3.571 | 3.626 | 44.77 ± 0.51 |
cairo-native (standalone AOT with -march=native) |
0.080 ± 0.001 | 0.080 | 0.085 | 1.00 |
Benchmark for program linear_search
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.795 ± 0.044 | 5.723 | 5.851 | 2818.36 ± 115.89 |
cairo-native (embedded AOT) |
3.930 ± 0.035 | 3.874 | 3.985 | 1911.36 ± 79.17 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.785 ± 0.023 | 3.746 | 3.823 | 1840.85 ± 75.28 |
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.721 ± 0.026 | 5.693 | 5.774 | 23.57 ± 0.11 |
cairo-native (embedded AOT) |
3.980 ± 0.033 | 3.932 | 4.028 | 16.40 ± 0.14 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.912 ± 0.037 | 3.859 | 3.964 | 16.12 ± 0.15 |
cairo-native (standalone AOT with -march=native) |
0.243 ± 0.000 | 0.242 | 0.243 | 1.00 |
This reverts commit 75b15d9.
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 PR uses the sierra generator to test libfuncs. This is to prevent us from any possible change in the sierra generator which could generate false positives in tests.
Checklist