-
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
Set Runtime as artifact dependency #985
Conversation
✅ Code is now correctly formatted. |
Little more info about the PR:
Depends on lambdaclass/starknet-replay#111 |
Benchmark results Main vs HEAD.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #985 +/- ##
==========================================
+ Coverage 80.72% 80.76% +0.03%
==========================================
Files 107 107
Lines 29268 29242 -26
==========================================
- Hits 23626 23616 -10
+ Misses 5642 5626 -16 ☔ 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.506 ± 0.163 | 21.328 | 21.774 | 88.61 ± 3.26 |
cairo-native (embedded AOT) |
4.065 ± 0.039 | 3.997 | 4.127 | 16.75 ± 0.62 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.050 ± 0.032 | 3.990 | 4.088 | 16.69 ± 0.61 |
cairo-native (standalone AOT with -march=native) |
0.243 ± 0.009 | 0.225 | 0.255 | 1.00 |
Benchmark for program dict_snapshot
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
6.141 ± 0.076 | 6.028 | 6.233 | 19.04 ± 0.25 |
cairo-native (embedded AOT) |
4.275 ± 0.035 | 4.218 | 4.330 | 13.26 ± 0.12 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.409 ± 0.043 | 4.355 | 4.486 | 13.67 ± 0.15 |
cairo-native (standalone AOT with -march=native) |
0.322 ± 0.001 | 0.320 | 0.324 | 1.00 |
Benchmark for program factorial_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
15.143 ± 0.059 | 15.055 | 15.236 | 11.07 ± 0.07 |
cairo-native (embedded AOT) |
4.268 ± 0.053 | 4.190 | 4.361 | 3.12 ± 0.04 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.280 ± 0.064 | 4.203 | 4.383 | 3.13 ± 0.05 |
cairo-native (standalone AOT with -march=native) |
1.368 ± 0.007 | 1.363 | 1.385 | 1.00 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
15.141 ± 0.118 | 14.996 | 15.403 | 172.95 ± 1.73 |
cairo-native (embedded AOT) |
3.777 ± 0.031 | 3.719 | 3.834 | 43.15 ± 0.45 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.717 ± 0.027 | 3.663 | 3.760 | 42.45 ± 0.41 |
cairo-native (standalone AOT with -march=native) |
0.088 ± 0.001 | 0.087 | 0.090 | 1.00 |
Benchmark for program linear_search
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
6.205 ± 0.052 | 6.137 | 6.284 | 3571.11 ± 184.99 |
cairo-native (embedded AOT) |
4.093 ± 0.038 | 4.022 | 4.154 | 2355.58 ± 122.45 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.142 ± 0.043 | 4.068 | 4.193 | 2383.69 ± 124.33 |
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.832 ± 0.086 | 5.719 | 6.006 | 24.12 ± 0.36 |
cairo-native (embedded AOT) |
3.990 ± 0.094 | 3.837 | 4.116 | 16.50 ± 0.39 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.989 ± 0.050 | 3.926 | 4.077 | 16.50 ± 0.21 |
cairo-native (standalone AOT with -march=native) |
0.242 ± 0.000 | 0.242 | 0.242 | 1.00 |
This reverts commit cd490ae.
…cairo_native into runtime_artifact_dependency
#1051 already solves this. |
To build Native run
cargo build -Z bindeps
.This only works with Rust nightly.