Skip to content

Conversation

gabrielbosio
Copy link
Collaborator

No description provided.

Copy link

Benchmark results Main vs HEAD.

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_insert.cairo (JIT) 2.535 ± 0.008 2.523 2.553 1.03 ± 0.01
base dict_insert.cairo (AOT) 2.452 ± 0.013 2.425 2.472 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_insert.cairo (JIT) 2.602 ± 0.028 2.570 2.651 1.05 ± 0.01
head dict_insert.cairo (AOT) 2.490 ± 0.008 2.481 2.505 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_snapshot.cairo (JIT) 2.245 ± 0.019 2.215 2.281 1.05 ± 0.01
base dict_snapshot.cairo (AOT) 2.146 ± 0.015 2.117 2.176 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_snapshot.cairo (JIT) 2.331 ± 0.064 2.259 2.480 1.01 ± 0.03
head dict_snapshot.cairo (AOT) 2.311 ± 0.031 2.255 2.364 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base factorial_2M.cairo (JIT) 2.613 ± 0.016 2.593 2.639 1.01 ± 0.01
base factorial_2M.cairo (AOT) 2.589 ± 0.025 2.563 2.649 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head factorial_2M.cairo (JIT) 2.818 ± 0.046 2.741 2.863 1.03 ± 0.02
head factorial_2M.cairo (AOT) 2.739 ± 0.039 2.701 2.818 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base fib_2M.cairo (JIT) 2.165 ± 0.018 2.149 2.212 1.00
base fib_2M.cairo (AOT) 2.176 ± 0.060 2.104 2.286 1.01 ± 0.03

Head

Command Mean [s] Min [s] Max [s] Relative
head fib_2M.cairo (JIT) 2.290 ± 0.095 2.174 2.409 1.07 ± 0.04
head fib_2M.cairo (AOT) 2.149 ± 0.011 2.126 2.166 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base linear_search.cairo (JIT) 2.406 ± 0.043 2.325 2.461 1.09 ± 0.02
base linear_search.cairo (AOT) 2.217 ± 0.031 2.187 2.289 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head linear_search.cairo (JIT) 2.401 ± 0.026 2.369 2.443 1.07 ± 0.02
head linear_search.cairo (AOT) 2.239 ± 0.024 2.210 2.280 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base logistic_map.cairo (JIT) 2.476 ± 0.052 2.429 2.608 1.07 ± 0.03
base logistic_map.cairo (AOT) 2.320 ± 0.030 2.277 2.369 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head logistic_map.cairo (JIT) 2.509 ± 0.039 2.462 2.569 1.09 ± 0.02
head logistic_map.cairo (AOT) 2.310 ± 0.022 2.274 2.343 1.00

Copy link

Benchmarking results

Benchmark for program dict_insert

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 11.139 ± 0.058 11.010 11.221 4.27 ± 0.07
cairo-native (embedded AOT) 2.611 ± 0.043 2.548 2.662 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.696 ± 0.043 2.636 2.778 1.03 ± 0.02

Benchmark for program dict_snapshot

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 567.3 ± 11.2 553.1 587.0 1.00
cairo-native (embedded AOT) 2335.3 ± 43.2 2265.1 2393.0 4.12 ± 0.11
cairo-native (embedded JIT using LLVM's ORC Engine) 2430.1 ± 38.0 2383.8 2504.1 4.28 ± 0.11

Benchmark for program factorial_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.848 ± 0.033 4.816 4.921 1.77 ± 0.03
cairo-native (embedded AOT) 2.732 ± 0.039 2.669 2.790 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.780 ± 0.042 2.723 2.857 1.02 ± 0.02

Benchmark for program fib_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.800 ± 0.017 4.771 4.830 2.06 ± 0.04
cairo-native (embedded AOT) 2.329 ± 0.041 2.263 2.394 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.345 ± 0.055 2.249 2.418 1.01 ± 0.03

Benchmark for program linear_search

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 608.4 ± 12.7 581.3 625.7 1.00
cairo-native (embedded AOT) 2366.9 ± 62.9 2292.3 2502.1 3.89 ± 0.13
cairo-native (embedded JIT using LLVM's ORC Engine) 2479.7 ± 17.0 2452.9 2503.5 4.08 ± 0.09

Benchmark for program logistic_map

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 399.7 ± 7.4 390.5 413.3 1.00
cairo-native (embedded AOT) 2403.3 ± 37.1 2355.2 2472.9 6.01 ± 0.15
cairo-native (embedded JIT using LLVM's ORC Engine) 2570.6 ± 27.2 2539.4 2615.9 6.43 ± 0.14

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v0.6@372ce58). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             v0.6    #1399   +/-   ##
=======================================
  Coverage        ?   76.22%           
=======================================
  Files           ?      111           
  Lines           ?    26531           
  Branches        ?        0           
=======================================
  Hits            ?    20223           
  Misses          ?     6308           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@JulianGCalderon JulianGCalderon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@FrancoGiachetta
Copy link
Contributor

Should we do the same for branch v0.6.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants