-
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
Sandboxing #417
Sandboxing #417
Conversation
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
17.714 ± 0.131 | 17.546 | 18.022 | 36.51 ± 0.28 |
cairo-native (embedded AOT) |
2.263 ± 0.008 | 2.253 | 2.276 | 4.66 ± 0.02 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1.386 ± 0.006 | 1.378 | 1.398 | 2.86 ± 0.01 |
cairo-native (standalone AOT) |
0.700 ± 0.002 | 0.698 | 0.703 | 1.44 ± 0.01 |
cairo-native (standalone AOT with -march=native) |
0.485 ± 0.001 | 0.484 | 0.488 | 1.00 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
17.181 ± 0.078 | 17.023 | 17.319 | 588.67 ± 3.22 |
cairo-native (embedded AOT) |
0.983 ± 0.009 | 0.971 | 1.006 | 33.68 ± 0.34 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
0.926 ± 0.005 | 0.920 | 0.936 | 31.71 ± 0.19 |
cairo-native (standalone AOT) |
0.041 ± 0.000 | 0.041 | 0.042 | 1.41 ± 0.01 |
cairo-native (standalone AOT with -march=native) |
0.029 ± 0.000 | 0.029 | 0.029 | 1.00 |
Benchmark for program logistic_map
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
1.623 ± 0.011 | 1.608 | 1.642 | 23.29 ± 0.17 |
cairo-native (embedded AOT) |
1.139 ± 0.005 | 1.131 | 1.149 | 16.34 ± 0.08 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
0.988 ± 0.013 | 0.975 | 1.024 | 14.18 ± 0.19 |
cairo-native (standalone AOT) |
0.109 ± 0.000 | 0.109 | 0.109 | 1.57 ± 0.00 |
cairo-native (standalone AOT with -march=native) |
0.070 ± 0.000 | 0.069 | 0.070 | 1.00 |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #417 +/- ##
==========================================
- Coverage 76.67% 75.65% -1.03%
==========================================
Files 108 110 +2
Lines 28241 28622 +381
==========================================
Hits 21655 21655
- Misses 6586 6967 +381 ☔ View full report in Codecov by Sentry. |
Moved over to Starknet in Rust in lambdaclass/starknet_in_rust#1209 |
Design:
There is an example called "sandbox" showing how it works:
Description
Description of the pull request changes and motivation.
Checklist