lambdaclass / cairo-vm

cairo-vm is a Rust implementation of the Cairo VM. Cairo (CPU Algebraic Intermediate Representation) is a programming language for writing provable programs, where one party can prove to another that a certain computation was executed correctly without the need for this party to re-execute the same program.
https://lambdaclass.github.io/cairo-vm
Apache License 2.0
504 stars 138 forks source link

Release v1.0.0-rc1 #1629

Closed edg-l closed 6 months ago

edg-l commented 6 months ago

Fixes #1627

Checklist

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.67%. Comparing base (2a8e0a3) to head (15eccc4).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1629 +/- ## ======================================= Coverage 97.67% 97.67% ======================================= Files 91 91 Lines 37393 37393 ======================================= Hits 36523 36523 Misses 870 870 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 6 months ago

Benchmark Results for unmodified programs :rocket:

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.260 ± 0.023 2.227 2.301 1.01 ± 0.01
head big_factorial 2.247 ± 0.014 2.224 2.268 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.266 ± 0.053 2.240 2.414 1.00
head big_fibonacci 2.305 ± 0.086 2.256 2.511 1.02 ± 0.04
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 8.435 ± 0.094 8.338 8.575 1.00
head blake2s_integration_benchmark 8.483 ± 0.098 8.328 8.598 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.331 ± 0.025 2.306 2.390 1.00 ± 0.02
head compare_arrays_200000 2.329 ± 0.035 2.294 2.418 1.00
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.428 ± 0.026 1.398 1.489 1.00 ± 0.03
head dict_integration_benchmark 1.427 ± 0.032 1.400 1.494 1.00
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.381 ± 0.015 1.357 1.418 1.06 ± 0.01
head field_arithmetic_get_square_benchmark 1.299 ± 0.010 1.286 1.315 1.00
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 8.594 ± 0.172 8.403 8.936 1.02 ± 0.03
head integration_builtins 8.437 ± 0.172 8.276 8.857 1.00
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 8.659 ± 0.102 8.525 8.777 1.00
head keccak_integration_benchmark 8.727 ± 0.105 8.614 8.876 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.391 ± 0.075 2.336 2.593 1.02 ± 0.03
head linear_search 2.346 ± 0.030 2.318 2.419 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.824 ± 0.048 1.793 1.952 1.16 ± 0.03
head math_cmp_and_pow_integration_benchmark 1.572 ± 0.022 1.542 1.621 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.603 ± 0.018 1.580 1.639 1.12 ± 0.02
head math_integration_benchmark 1.434 ± 0.016 1.407 1.455 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.272 ± 0.016 1.254 1.299 1.00
head memory_integration_benchmark 1.273 ± 0.022 1.243 1.302 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.912 ± 0.039 1.875 2.010 1.19 ± 0.03
head operations_with_data_structures_benchmarks 1.606 ± 0.027 1.581 1.673 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 590.4 ± 2.1 587.4 593.7 1.01 ± 0.01
head pedersen 585.6 ± 6.6 573.8 594.2 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 950.3 ± 12.8 929.1 964.2 1.01 ± 0.02
head poseidon_integration_benchmark 944.4 ± 18.4 929.8 994.7 1.00
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.886 ± 0.016 1.860 1.912 1.01 ± 0.01
head secp_integration_benchmark 1.867 ± 0.020 1.838 1.906 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 722.3 ± 3.2 717.5 726.1 1.00
head set_integration_benchmark 724.1 ± 8.1 715.4 744.4 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.591 ± 0.052 4.522 4.709 1.01 ± 0.01
head uint256_integration_benchmark 4.552 ± 0.027 4.512 4.585 1.00