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.73.0 #1604

Closed pefontana closed 7 months ago

pefontana commented 7 months ago

Update rust version to 1.73.0

Description

Description of the pull request changes and motivation.

Checklist

codecov[bot] commented 7 months ago

Codecov Report

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

Comparison is base (7abbb39) 97.13% compared to head (e17ae8a) 97.68%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1604 +/- ## ========================================== + Coverage 97.13% 97.68% +0.55% ========================================== Files 92 91 -1 Lines 37347 37289 -58 ========================================== + Hits 36276 36427 +151 + Misses 1071 862 -209 ```

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

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.288 ± 0.019 2.261 2.314 1.00
head big_factorial 2.292 ± 0.030 2.273 2.364 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.246 ± 0.015 2.237 2.287 1.01 ± 0.01
head big_fibonacci 2.232 ± 0.007 2.222 2.243 1.00
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 8.270 ± 0.091 8.180 8.422 1.00
head blake2s_integration_benchmark 8.571 ± 0.131 8.378 8.703 1.04 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.324 ± 0.016 2.305 2.348 1.00
head compare_arrays_200000 2.390 ± 0.058 2.331 2.533 1.03 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.464 ± 0.013 1.453 1.491 1.00
head dict_integration_benchmark 1.470 ± 0.008 1.452 1.483 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.307 ± 0.013 1.293 1.333 1.00
head field_arithmetic_get_square_benchmark 1.317 ± 0.006 1.308 1.323 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 8.301 ± 0.063 8.251 8.451 1.00
head integration_builtins 8.628 ± 0.182 8.398 9.033 1.04 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 8.562 ± 0.080 8.465 8.675 1.00
head keccak_integration_benchmark 8.800 ± 0.147 8.630 9.089 1.03 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.340 ± 0.020 2.321 2.382 1.00
head linear_search 2.354 ± 0.014 2.332 2.385 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.583 ± 0.006 1.575 1.595 1.00 ± 0.01
head math_cmp_and_pow_integration_benchmark 1.580 ± 0.020 1.558 1.618 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.446 ± 0.015 1.436 1.480 1.00 ± 0.02
head math_integration_benchmark 1.443 ± 0.028 1.416 1.510 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.294 ± 0.062 1.262 1.468 1.02 ± 0.05
head memory_integration_benchmark 1.272 ± 0.018 1.253 1.308 1.00
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.619 ± 0.012 1.606 1.642 1.00
head operations_with_data_structures_benchmarks 1.620 ± 0.009 1.609 1.634 1.00 ± 0.01
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 605.5 ± 1.6 603.6 609.2 1.03 ± 0.00
head pedersen 590.7 ± 1.4 588.0 592.8 1.00
Command Mean [s] Min [s] Max [s] Relative
base poseidon_integration_benchmark 1.076 ± 0.003 1.071 1.081 1.08 ± 0.01
head poseidon_integration_benchmark 0.995 ± 0.006 0.985 1.010 1.00
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.942 ± 0.019 1.924 1.988 1.03 ± 0.01
head secp_integration_benchmark 1.888 ± 0.017 1.877 1.934 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 777.6 ± 6.9 771.6 793.9 1.03 ± 0.01
head set_integration_benchmark 752.1 ± 7.8 745.4 768.1 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.587 ± 0.045 4.540 4.675 1.00
head uint256_integration_benchmark 4.690 ± 0.033 4.643 4.752 1.02 ± 0.01