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

Update hint_processor docs #1611

Closed fmoletta closed 6 months ago

fmoletta commented 6 months ago

The hint_processor docs still mention the proxies that have long ago been removed from the code

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.271 ± 0.025 2.237 2.306 1.02 ± 0.01
head big_factorial 2.236 ± 0.011 2.225 2.262 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.240 ± 0.019 2.224 2.266 1.01 ± 0.01
head big_fibonacci 2.228 ± 0.018 2.210 2.253 1.00
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 8.196 ± 0.074 8.127 8.343 1.00
head blake2s_integration_benchmark 8.252 ± 0.103 8.125 8.393 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.286 ± 0.012 2.273 2.317 1.01 ± 0.01
head compare_arrays_200000 2.274 ± 0.011 2.261 2.297 1.00
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.466 ± 0.010 1.453 1.480 1.01 ± 0.01
head dict_integration_benchmark 1.457 ± 0.006 1.451 1.467 1.00
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.294 ± 0.012 1.282 1.318 1.01 ± 0.01
head field_arithmetic_get_square_benchmark 1.281 ± 0.008 1.274 1.302 1.00
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 8.310 ± 0.100 8.182 8.468 1.01 ± 0.01
head integration_builtins 8.226 ± 0.059 8.165 8.370 1.00
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 8.547 ± 0.084 8.447 8.655 1.01 ± 0.01
head keccak_integration_benchmark 8.490 ± 0.069 8.428 8.623 1.00
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.321 ± 0.017 2.305 2.360 1.00 ± 0.01
head linear_search 2.313 ± 0.021 2.291 2.346 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.571 ± 0.007 1.563 1.583 1.01 ± 0.01
head math_cmp_and_pow_integration_benchmark 1.558 ± 0.009 1.546 1.573 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.448 ± 0.010 1.442 1.474 1.01 ± 0.01
head math_integration_benchmark 1.436 ± 0.011 1.425 1.455 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.274 ± 0.012 1.263 1.304 1.02 ± 0.01
head memory_integration_benchmark 1.249 ± 0.005 1.242 1.261 1.00
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.606 ± 0.015 1.590 1.637 1.00 ± 0.01
head operations_with_data_structures_benchmarks 1.603 ± 0.008 1.591 1.613 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 605.4 ± 3.3 601.1 610.2 1.00 ± 0.01
head pedersen 604.8 ± 1.6 601.8 607.0 1.00
Command Mean [s] Min [s] Max [s] Relative
base poseidon_integration_benchmark 1.063 ± 0.009 1.048 1.079 1.00
head poseidon_integration_benchmark 1.075 ± 0.005 1.061 1.080 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.924 ± 0.006 1.916 1.934 1.00 ± 0.01
head secp_integration_benchmark 1.921 ± 0.009 1.908 1.939 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 777.7 ± 14.4 768.9 817.7 1.01 ± 0.02
head set_integration_benchmark 771.2 ± 2.6 767.9 775.1 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.560 ± 0.033 4.517 4.601 1.01 ± 0.01
head uint256_integration_benchmark 4.531 ± 0.021 4.502 4.577 1.00
codecov[bot] commented 6 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 (9f68b60) 97.16%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1611 +/- ## ======================================= Coverage 97.16% 97.16% ======================================= Files 92 92 Lines 37369 37369 ======================================= Hits 36309 36309 Misses 1060 1060 ```

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