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
508 stars 142 forks source link

Update Rust version to 1.72.1 #1603

Closed pefontana closed 7 months ago

pefontana commented 7 months ago

Update Rust version to 1.72.1

Description

Description of the pull request changes and motivation.

Checklist

github-actions[bot] commented 7 months ago

Benchmark Results for unmodified programs :rocket:

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.262 ± 0.030 2.231 2.338 1.22 ± 0.05
head big_factorial 1.861 ± 0.073 1.830 2.067 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.227 ± 0.015 2.214 2.253 1.24 ± 0.03
head big_fibonacci 1.792 ± 0.043 1.769 1.914 1.00
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 8.188 ± 0.086 8.105 8.315 1.31 ± 0.04
head blake2s_integration_benchmark 6.248 ± 0.171 6.117 6.537 1.00
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.281 ± 0.016 2.263 2.304 1.21 ± 0.05
head compare_arrays_200000 1.882 ± 0.073 1.848 2.086 1.00
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.453 ± 0.009 1.445 1.467 1.15 ± 0.01
head dict_integration_benchmark 1.267 ± 0.007 1.255 1.274 1.00
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.291 ± 0.009 1.280 1.304 1.12 ± 0.02
head field_arithmetic_get_square_benchmark 1.150 ± 0.019 1.129 1.186 1.00
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 8.223 ± 0.074 8.156 8.409 1.29 ± 0.04
head integration_builtins 6.356 ± 0.172 6.192 6.641 1.00
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 8.482 ± 0.123 8.396 8.777 1.28 ± 0.07
head keccak_integration_benchmark 6.652 ± 0.375 6.356 7.588 1.00
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.334 ± 0.054 2.300 2.480 1.23 ± 0.05
head linear_search 1.898 ± 0.056 1.859 2.047 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.579 ± 0.007 1.572 1.590 1.00
head math_cmp_and_pow_integration_benchmark 1.621 ± 0.013 1.609 1.644 1.03 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.450 ± 0.013 1.439 1.482 1.01 ± 0.03
head math_integration_benchmark 1.439 ± 0.037 1.414 1.540 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.270 ± 0.007 1.262 1.279 1.16 ± 0.02
head memory_integration_benchmark 1.090 ± 0.014 1.079 1.123 1.00
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.605 ± 0.009 1.594 1.615 1.00
head operations_with_data_structures_benchmarks 1.724 ± 0.009 1.711 1.738 1.07 ± 0.01
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 602.0 ± 1.7 599.5 604.3 1.11 ± 0.01
head pedersen 540.4 ± 6.7 535.0 557.7 1.00
Command Mean [s] Min [s] Max [s] Relative
base poseidon_integration_benchmark 1.056 ± 0.006 1.048 1.068 1.13 ± 0.01
head poseidon_integration_benchmark 0.935 ± 0.005 0.931 0.944 1.00
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.921 ± 0.019 1.909 1.974 1.11 ± 0.01
head secp_integration_benchmark 1.724 ± 0.005 1.719 1.732 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 773.0 ± 3.1 770.2 780.3 1.06 ± 0.01
head set_integration_benchmark 726.0 ± 1.8 723.9 729.8 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.536 ± 0.052 4.498 4.637 1.24 ± 0.02
head uint256_integration_benchmark 3.661 ± 0.048 3.607 3.730 1.00
codecov[bot] commented 7 months ago

Codecov Report

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

Comparison is base (39e8b08) 97.16% compared to head (26716b4) 97.72%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1603 +/- ## ========================================== + Coverage 97.16% 97.72% +0.55% ========================================== Files 92 91 -1 Lines 37369 37366 -3 ========================================== + Hits 36309 36515 +206 + Misses 1060 851 -209 ```

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

pefontana commented 7 months ago

# Debian benchmarks.md

pefontana commented 7 months ago

# Macos M3 benchamarks