Skip to content

Conversation

@gabrielbosio
Copy link
Collaborator

No description provided.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.47%. Comparing base (72ccf62) to head (48f64f8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1508   +/-   ##
=======================================
  Coverage   81.47%   81.47%           
=======================================
  Files         105      105           
  Lines       25759    25759           
=======================================
  Hits        20987    20987           
  Misses       4772     4772           

☔ 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.

@github-actions
Copy link

Benchmark results Main vs HEAD.

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_insert.cairo (JIT) 2.012 ± 0.021 1.980 2.049 1.05 ± 0.01
base dict_insert.cairo (AOT) 1.923 ± 0.018 1.904 1.953 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_insert.cairo (JIT) 1.961 ± 0.024 1.924 2.002 1.04 ± 0.02
head dict_insert.cairo (AOT) 1.890 ± 0.032 1.855 1.951 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_snapshot.cairo (JIT) 1.705 ± 0.033 1.670 1.780 1.08 ± 0.02
base dict_snapshot.cairo (AOT) 1.579 ± 0.012 1.567 1.601 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_snapshot.cairo (JIT) 1.669 ± 0.020 1.630 1.698 1.05 ± 0.02
head dict_snapshot.cairo (AOT) 1.584 ± 0.019 1.562 1.620 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base factorial_2M.cairo (JIT) 2.064 ± 0.012 2.052 2.085 1.01 ± 0.01
base factorial_2M.cairo (AOT) 2.038 ± 0.021 2.011 2.066 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head factorial_2M.cairo (JIT) 2.065 ± 0.018 2.034 2.101 1.00 ± 0.01
head factorial_2M.cairo (AOT) 2.063 ± 0.019 2.028 2.088 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base fib_2M.cairo (JIT) 1.608 ± 0.012 1.590 1.631 1.03 ± 0.01
base fib_2M.cairo (AOT) 1.568 ± 0.009 1.550 1.580 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head fib_2M.cairo (JIT) 1.625 ± 0.031 1.585 1.676 1.06 ± 0.02
head fib_2M.cairo (AOT) 1.531 ± 0.016 1.502 1.553 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base heavy_circuit.cairo (JIT) 13.295 ± 0.064 13.142 13.379 1.04 ± 0.01
base heavy_circuit.cairo (AOT) 12.790 ± 0.086 12.635 12.884 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head heavy_circuit.cairo (JIT) 13.124 ± 0.088 12.981 13.308 1.03 ± 0.01
head heavy_circuit.cairo (AOT) 12.737 ± 0.107 12.632 13.007 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base linear_search.cairo (JIT) 1.759 ± 0.014 1.730 1.781 1.08 ± 0.01
base linear_search.cairo (AOT) 1.626 ± 0.018 1.599 1.655 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head linear_search.cairo (JIT) 1.749 ± 0.011 1.734 1.769 1.10 ± 0.01
head linear_search.cairo (AOT) 1.597 ± 0.013 1.581 1.621 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base logistic_map.cairo (JIT) 1.911 ± 0.015 1.892 1.934 1.10 ± 0.01
base logistic_map.cairo (AOT) 1.740 ± 0.018 1.702 1.770 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head logistic_map.cairo (JIT) 1.853 ± 0.015 1.830 1.884 1.10 ± 0.01
head logistic_map.cairo (AOT) 1.678 ± 0.012 1.661 1.694 1.00

@github-actions
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.130 ± 0.072 11.033 11.309 5.76 ± 0.05
cairo-native (embedded AOT) 1.932 ± 0.013 1.912 1.957 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.040 ± 0.021 2.019 2.076 1.06 ± 0.01

Benchmark for program dict_snapshot

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 556.1 ± 9.0 542.8 571.9 1.00
cairo-native (embedded AOT) 1548.5 ± 17.6 1526.7 1575.6 2.78 ± 0.05
cairo-native (embedded JIT using LLVM's ORC Engine) 1672.6 ± 20.3 1651.4 1701.6 3.01 ± 0.06

Benchmark for program factorial_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.899 ± 0.022 4.869 4.948 2.47 ± 0.02
cairo-native (embedded AOT) 1.984 ± 0.016 1.959 2.007 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.025 ± 0.015 2.008 2.051 1.02 ± 0.01

Benchmark for program fib_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.876 ± 0.012 4.863 4.897 3.06 ± 0.05
cairo-native (embedded AOT) 1.594 ± 0.027 1.547 1.643 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 1.635 ± 0.019 1.601 1.674 1.03 ± 0.02

Benchmark for program heavy_circuit

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 10.070 ± 0.213 9.798 10.396 1.00
cairo-native (embedded AOT) 13.052 ± 0.090 12.915 13.196 1.30 ± 0.03
cairo-native (embedded JIT using LLVM's ORC Engine) 13.518 ± 0.100 13.400 13.679 1.34 ± 0.03

Benchmark for program linear_search

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 610.1 ± 4.9 603.0 620.5 1.00
cairo-native (embedded AOT) 1646.7 ± 22.7 1609.4 1679.0 2.70 ± 0.04
cairo-native (embedded JIT using LLVM's ORC Engine) 1782.4 ± 16.1 1762.7 1804.9 2.92 ± 0.04

Benchmark for program logistic_map

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 493.5 ± 5.2 485.0 501.3 1.00
cairo-native (embedded AOT) 1673.2 ± 9.8 1659.4 1686.9 3.39 ± 0.04
cairo-native (embedded JIT using LLVM's ORC Engine) 1895.7 ± 17.7 1874.2 1937.0 3.84 ± 0.05

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.

3 participants