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

update to cairo 2.9.0-dev #877

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

update to cairo 2.9.0-dev #877

wants to merge 6 commits into from

Conversation

edg-l
Copy link
Member

@edg-l edg-l commented Oct 23, 2024

This bumps native to v0.2.1-alpha.0 which isnt semver compatible with the previous alpha,
this is because this release is "incomplete", some libfuncs arent implemented yet.

This release is done for upstreams convenience, this pr doesn't need to be merged, but a tag will be made and released to crates

Fixes #879

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.

* implement get_class_hash_at syscall

* fix
Copy link

github-actions bot commented Oct 24, 2024

Benchmarking results

Benchmark for program factorial_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 10.957 ± 0.343 10.507 11.361 24.35 ± 0.81
cairo-native (embedded AOT) 3.295 ± 0.046 3.228 3.380 7.32 ± 0.13
cairo-native (embedded JIT using LLVM's ORC Engine) 3.248 ± 0.050 3.179 3.332 7.22 ± 0.14
cairo-native (standalone AOT) 0.674 ± 0.001 0.673 0.675 1.50 ± 0.02
cairo-native (standalone AOT with -march=native) 0.450 ± 0.005 0.448 0.464 1.00

Benchmark for program fib_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 10.885 ± 0.347 10.456 11.303 1353.72 ± 43.68
cairo-native (embedded AOT) 2.699 ± 0.011 2.686 2.720 335.71 ± 2.19
cairo-native (embedded JIT using LLVM's ORC Engine) 2.737 ± 0.031 2.700 2.795 340.39 ± 4.18
cairo-native (standalone AOT) 0.008 ± 0.000 0.008 0.009 1.04 ± 0.01
cairo-native (standalone AOT with -march=native) 0.008 ± 0.000 0.008 0.008 1.00

Benchmark for program logistic_map

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.316 ± 0.052 4.234 4.415 60.84 ± 0.89
cairo-native (embedded AOT) 2.939 ± 0.048 2.853 3.026 41.43 ± 0.76
cairo-native (embedded JIT using LLVM's ORC Engine) 3.086 ± 0.032 3.038 3.146 43.49 ± 0.58
cairo-native (standalone AOT) 0.115 ± 0.000 0.114 0.115 1.62 ± 0.01
cairo-native (standalone AOT with -march=native) 0.071 ± 0.001 0.071 0.073 1.00

@edg-l edg-l marked this pull request as ready for review October 24, 2024 14:19
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.

[2.9.0] Implement int_range_try_new and int_range_pop_front libfuncs
1 participant