Skip to content
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

Version v0.2.4 #941

Merged
merged 10 commits into from
Nov 26, 2024
Merged

Version v0.2.4 #941

merged 10 commits into from
Nov 26, 2024

Conversation

edg-l
Copy link
Collaborator

@edg-l edg-l commented Nov 26, 2024

Depends on #938

azteca1998
azteca1998 previously approved these changes Nov 26, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.55%. Comparing base (adb25da) to head (ad7e534).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #941   +/-   ##
=======================================
  Coverage   82.55%   82.55%           
=======================================
  Files         117      117           
  Lines       33505    33505           
=======================================
  Hits        27661    27661           
  Misses       5844     5844           

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

Base automatically changed from contract_initial_cost to main November 26, 2024 13:17
@edg-l edg-l dismissed azteca1998’s stale review November 26, 2024 13:17

The base branch was changed.

Copy link

Benchmarking results

Benchmark for program factorial_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 11.048 ± 0.390 10.440 11.378 8.20 ± 0.29
cairo-native (embedded AOT) 3.337 ± 0.015 3.319 3.367 2.48 ± 0.01
cairo-native (embedded JIT using LLVM's ORC Engine) 3.150 ± 0.017 3.132 3.187 2.34 ± 0.01
cairo-native (standalone AOT with -march=native) 1.347 ± 0.001 1.346 1.349 1.00

Benchmark for program fib_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 10.685 ± 0.368 10.337 11.270 137.00 ± 5.98
cairo-native (embedded AOT) 2.889 ± 0.012 2.876 2.912 37.04 ± 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.686 ± 0.012 2.671 2.711 34.43 ± 0.93
cairo-native (standalone AOT with -march=native) 0.078 ± 0.002 0.077 0.090 1.00

Benchmark for program logistic_map

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.183 ± 0.021 4.152 4.219 17.25 ± 0.09
cairo-native (embedded AOT) 3.058 ± 0.012 3.040 3.073 12.62 ± 0.05
cairo-native (embedded JIT using LLVM's ORC Engine) 2.974 ± 0.018 2.946 3.000 12.27 ± 0.08
cairo-native (standalone AOT with -march=native) 0.242 ± 0.000 0.242 0.243 1.00

Copy link

Benchmark results Main vs HEAD.

Command Mean [s] Min [s] Max [s] Relative
base factorial_2M.cairo (JIT) 3.233 ± 0.029 3.192 3.277 1.00
base factorial_2M.cairo (AOT) 3.392 ± 0.033 3.350 3.438 1.05 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
:--- ---: ---: ---: ---:
head factorial_2M.cairo (JIT) 3.289 ± 0.037 3.242 3.367 1.00
head factorial_2M.cairo (AOT) 3.482 ± 0.065 3.389 3.563 1.06 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base fib_2M.cairo (JIT) 2.747 ± 0.041 2.685 2.813 1.00
base fib_2M.cairo (AOT) 2.926 ± 0.034 2.889 2.990 1.07 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
:--- ---: ---: ---: ---:
head fib_2M.cairo (JIT) 2.782 ± 0.029 2.732 2.811 1.00
head fib_2M.cairo (AOT) 2.970 ± 0.031 2.933 3.019 1.07 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base logistic_map.cairo (JIT) 3.066 ± 0.062 3.033 3.237 1.00
base logistic_map.cairo (AOT) 3.114 ± 0.036 3.071 3.180 1.02 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
:--- ---: ---: ---: ---:
head logistic_map.cairo (JIT) 3.058 ± 0.027 3.003 3.093 1.00
head logistic_map.cairo (AOT) 3.140 ± 0.029 3.099 3.179 1.03 ± 0.01

@edg-l edg-l added this pull request to the merge queue Nov 26, 2024
Merged via the queue into main with commit 76e8396 Nov 26, 2024
32 checks passed
@edg-l edg-l deleted the release-0.2.4 branch November 26, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review-ready A PR that is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants