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
514 stars 144 forks source link

Update broken links in READMEs #1740

Closed fmoletta closed 5 months ago

github-actions[bot] commented 5 months ago
**Hyper Thereading Benchmark results**

hyperfine -r 2 -n "hyper_threading_main threads: 1" 'RAYON_NUM_THREADS=1 ./hyper_threading_main' -n "hyper_threading_pr threads: 1" 'RAYON_NUM_THREADS=1 ./hyper_threading_pr'
Benchmark 1: hyper_threading_main threads: 1
  Time (mean ± σ):     26.391 s ±  0.001 s    [User: 25.659 s, System: 0.730 s]
  Range (min … max):   26.390 s … 26.391 s    2 runs

Benchmark 2: hyper_threading_pr threads: 1
  Time (mean ± σ):     26.118 s ±  0.103 s    [User: 25.361 s, System: 0.754 s]
  Range (min … max):   26.045 s … 26.191 s    2 runs

Summary
  'hyper_threading_pr threads: 1' ran
    1.01 ± 0.00 times faster than 'hyper_threading_main threads: 1'

hyperfine -r 2 -n "hyper_threading_main threads: 2" 'RAYON_NUM_THREADS=2 ./hyper_threading_main' -n "hyper_threading_pr threads: 2" 'RAYON_NUM_THREADS=2 ./hyper_threading_pr'
Benchmark 1: hyper_threading_main threads: 2
  Time (mean ± σ):     14.118 s ±  0.183 s    [User: 26.055 s, System: 0.736 s]
  Range (min … max):   13.988 s … 14.247 s    2 runs

Benchmark 2: hyper_threading_pr threads: 2
  Time (mean ± σ):     13.887 s ±  0.012 s    [User: 25.734 s, System: 0.792 s]
  Range (min … max):   13.879 s … 13.896 s    2 runs

Summary
  'hyper_threading_pr threads: 2' ran
    1.02 ± 0.01 times faster than 'hyper_threading_main threads: 2'

hyperfine -r 2 -n "hyper_threading_main threads: 4" 'RAYON_NUM_THREADS=4 ./hyper_threading_main' -n "hyper_threading_pr threads: 4" 'RAYON_NUM_THREADS=4 ./hyper_threading_pr'
Benchmark 1: hyper_threading_main threads: 4
  Time (mean ± σ):     10.485 s ±  0.110 s    [User: 38.920 s, System: 0.873 s]
  Range (min … max):   10.407 s … 10.563 s    2 runs

Benchmark 2: hyper_threading_pr threads: 4
  Time (mean ± σ):     10.936 s ±  0.324 s    [User: 38.554 s, System: 0.947 s]
  Range (min … max):   10.707 s … 11.166 s    2 runs

Summary
  'hyper_threading_main threads: 4' ran
    1.04 ± 0.03 times faster than 'hyper_threading_pr threads: 4'

hyperfine -r 2 -n "hyper_threading_main threads: 6" 'RAYON_NUM_THREADS=6 ./hyper_threading_main' -n "hyper_threading_pr threads: 6" 'RAYON_NUM_THREADS=6 ./hyper_threading_pr'
Benchmark 1: hyper_threading_main threads: 6
  Time (mean ± σ):     10.697 s ±  0.060 s    [User: 38.904 s, System: 0.980 s]
  Range (min … max):   10.654 s … 10.739 s    2 runs

Benchmark 2: hyper_threading_pr threads: 6
  Time (mean ± σ):     10.657 s ±  0.463 s    [User: 38.851 s, System: 0.977 s]
  Range (min … max):   10.330 s … 10.985 s    2 runs

Summary
  'hyper_threading_pr threads: 6' ran
    1.00 ± 0.04 times faster than 'hyper_threading_main threads: 6'

hyperfine -r 2 -n "hyper_threading_main threads: 8" 'RAYON_NUM_THREADS=8 ./hyper_threading_main' -n "hyper_threading_pr threads: 8" 'RAYON_NUM_THREADS=8 ./hyper_threading_pr'
Benchmark 1: hyper_threading_main threads: 8
  Time (mean ± σ):     10.555 s ±  0.044 s    [User: 39.216 s, System: 1.032 s]
  Range (min … max):   10.524 s … 10.586 s    2 runs

Benchmark 2: hyper_threading_pr threads: 8
  Time (mean ± σ):     10.557 s ±  0.077 s    [User: 39.162 s, System: 1.028 s]
  Range (min … max):   10.502 s … 10.612 s    2 runs

Summary
  'hyper_threading_main threads: 8' ran
    1.00 ± 0.01 times faster than 'hyper_threading_pr threads: 8'

hyperfine -r 2 -n "hyper_threading_main threads: 16" 'RAYON_NUM_THREADS=16 ./hyper_threading_main' -n "hyper_threading_pr threads: 16" 'RAYON_NUM_THREADS=16 ./hyper_threading_pr'
Benchmark 1: hyper_threading_main threads: 16
  Time (mean ± σ):     10.610 s ±  0.386 s    [User: 39.392 s, System: 1.030 s]
  Range (min … max):   10.337 s … 10.883 s    2 runs

Benchmark 2: hyper_threading_pr threads: 16
  Time (mean ± σ):     10.511 s ±  0.106 s    [User: 39.181 s, System: 1.109 s]
  Range (min … max):   10.436 s … 10.586 s    2 runs

Summary
  'hyper_threading_pr threads: 16' ran
    1.01 ± 0.04 times faster than 'hyper_threading_main threads: 16'
codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 94.80%. Comparing base (c5839fd) to head (c76768e).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1740 +/- ## ======================================= Coverage 94.80% 94.80% ======================================= Files 101 101 Lines 38719 38719 ======================================= Hits 36709 36709 Misses 2010 2010 ```

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

github-actions[bot] commented 5 months ago

Benchmark Results for unmodified programs :rocket:

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.068 ± 0.018 2.045 2.088 1.00 ± 0.01
head big_factorial 2.067 ± 0.017 2.042 2.085 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.092 ± 0.017 2.068 2.122 1.00 ± 0.02
head big_fibonacci 2.085 ± 0.032 2.051 2.160 1.00
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 7.129 ± 0.044 7.082 7.190 1.01 ± 0.02
head blake2s_integration_benchmark 7.082 ± 0.105 6.931 7.301 1.00
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.136 ± 0.016 2.115 2.169 1.00
head compare_arrays_200000 2.138 ± 0.029 2.076 2.187 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.407 ± 0.027 1.374 1.463 1.00 ± 0.03
head dict_integration_benchmark 1.402 ± 0.033 1.374 1.485 1.00
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.252 ± 0.015 1.234 1.283 1.01 ± 0.02
head field_arithmetic_get_square_benchmark 1.237 ± 0.012 1.221 1.252 1.00
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 7.218 ± 0.110 7.153 7.515 1.00
head integration_builtins 7.240 ± 0.200 7.097 7.784 1.00 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 7.446 ± 0.261 7.308 8.172 1.02 ± 0.04
head keccak_integration_benchmark 7.277 ± 0.105 7.153 7.424 1.00
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.172 ± 0.043 2.130 2.275 1.00 ± 0.02
head linear_search 2.162 ± 0.031 2.131 2.235 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.785 ± 0.010 1.769 1.798 1.00
head math_cmp_and_pow_integration_benchmark 1.804 ± 0.030 1.782 1.887 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.594 ± 0.023 1.563 1.644 1.01 ± 0.02
head math_integration_benchmark 1.580 ± 0.011 1.566 1.601 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.219 ± 0.039 1.195 1.326 1.01 ± 0.03
head memory_integration_benchmark 1.210 ± 0.007 1.199 1.221 1.00
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.873 ± 0.037 1.836 1.952 1.01 ± 0.02
head operations_with_data_structures_benchmarks 1.854 ± 0.017 1.835 1.899 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 529.2 ± 2.4 526.0 532.8 1.00
head pedersen 529.7 ± 2.5 523.8 533.0 1.00 ± 0.01
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 962.0 ± 4.5 953.9 972.1 1.00
head poseidon_integration_benchmark 964.9 ± 9.4 957.2 988.5 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.865 ± 0.028 1.836 1.932 1.01 ± 0.02
head secp_integration_benchmark 1.851 ± 0.011 1.837 1.878 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 696.5 ± 4.3 691.8 704.9 1.00 ± 0.01
head set_integration_benchmark 695.7 ± 7.5 690.8 715.0 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.118 ± 0.063 4.059 4.260 1.01 ± 0.03
head uint256_integration_benchmark 4.087 ± 0.085 4.008 4.303 1.00