Skip to content

Remove ignores #1258

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Remove ignores #1258

wants to merge 1 commit into from

Conversation

DiegoCivi
Copy link
Contributor

Remove ignores from rust examples in documentation

Checklist

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

Copy link

Benchmark results Main vs HEAD.

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_insert.cairo (JIT) 5.134 ± 0.028 5.073 5.172 1.01 ± 0.01
base dict_insert.cairo (AOT) 5.078 ± 0.036 5.039 5.159 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_insert.cairo (JIT) 5.086 ± 0.028 5.016 5.115 1.02 ± 0.01
head dict_insert.cairo (AOT) 5.006 ± 0.025 4.957 5.048 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_snapshot.cairo (JIT) 5.026 ± 0.031 4.993 5.087 1.02 ± 0.01
base dict_snapshot.cairo (AOT) 4.935 ± 0.037 4.886 5.012 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_snapshot.cairo (JIT) 4.989 ± 0.014 4.968 5.013 1.02 ± 0.00
head dict_snapshot.cairo (AOT) 4.888 ± 0.016 4.854 4.910 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base factorial_2M.cairo (JIT) 5.400 ± 0.027 5.364 5.445 1.01 ± 0.01
base factorial_2M.cairo (AOT) 5.352 ± 0.030 5.295 5.390 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head factorial_2M.cairo (JIT) 5.344 ± 0.026 5.289 5.382 1.00 ± 0.01
head factorial_2M.cairo (AOT) 5.323 ± 0.029 5.277 5.383 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base fib_2M.cairo (JIT) 4.938 ± 0.030 4.883 4.971 1.01 ± 0.01
base fib_2M.cairo (AOT) 4.913 ± 0.037 4.877 5.005 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head fib_2M.cairo (JIT) 4.876 ± 0.027 4.844 4.927 1.01 ± 0.01
head fib_2M.cairo (AOT) 4.824 ± 0.018 4.802 4.855 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base linear_search.cairo (JIT) 5.151 ± 0.033 5.107 5.218 1.03 ± 0.01
base linear_search.cairo (AOT) 5.002 ± 0.030 4.946 5.044 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head linear_search.cairo (JIT) 5.071 ± 0.019 5.046 5.104 1.03 ± 0.01
head linear_search.cairo (AOT) 4.939 ± 0.019 4.903 4.959 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base logistic_map.cairo (JIT) 5.245 ± 0.026 5.215 5.301 1.04 ± 0.01
base logistic_map.cairo (AOT) 5.038 ± 0.025 5.009 5.081 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head logistic_map.cairo (JIT) 5.169 ± 0.014 5.145 5.190 1.03 ± 0.01
head logistic_map.cairo (AOT) 5.006 ± 0.024 4.954 5.036 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.419 ± 0.114 11.318 11.729 2.29 ± 0.03
cairo-native (embedded AOT) 4.990 ± 0.052 4.926 5.065 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 5.086 ± 0.027 5.037 5.113 1.02 ± 0.01

Benchmark for program dict_snapshot

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 805.9 ± 10.4 786.8 826.2 1.00
cairo-native (embedded AOT) 4881.9 ± 29.7 4821.1 4911.9 6.06 ± 0.09
cairo-native (embedded JIT using LLVM's ORC Engine) 4969.2 ± 23.7 4911.8 4993.3 6.17 ± 0.08

Benchmark for program factorial_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 5.259 ± 0.022 5.223 5.296 1.00
cairo-native (embedded AOT) 5.294 ± 0.031 5.246 5.340 1.01 ± 0.01
cairo-native (embedded JIT using LLVM's ORC Engine) 5.318 ± 0.020 5.295 5.368 1.01 ± 0.01

Benchmark for program fib_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 5.113 ± 0.079 5.069 5.334 1.06 ± 0.02
cairo-native (embedded AOT) 4.813 ± 0.025 4.779 4.850 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 4.866 ± 0.031 4.819 4.930 1.01 ± 0.01

Benchmark for program linear_search

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 860.4 ± 12.6 842.1 876.2 1.00
cairo-native (embedded AOT) 4912.6 ± 18.2 4884.2 4942.6 5.71 ± 0.09
cairo-native (embedded JIT using LLVM's ORC Engine) 5091.6 ± 19.2 5052.5 5114.9 5.92 ± 0.09

Benchmark for program logistic_map

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 538.8 ± 9.6 531.4 562.5 1.00
cairo-native (embedded AOT) 4959.6 ± 37.2 4903.6 5016.8 9.20 ± 0.18
cairo-native (embedded JIT using LLVM's ORC Engine) 5132.3 ± 40.7 5072.1 5177.6 9.53 ± 0.19

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.21%. Comparing base (858681c) to head (fdac014).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1258   +/-   ##
=======================================
  Coverage   80.21%   80.21%           
=======================================
  Files         112      112           
  Lines       29880    29880           
=======================================
  Hits        23967    23967           
  Misses       5913     5913           

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

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 participants