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 logo #1590

Closed mgrunwaldt closed 4 months ago

mgrunwaldt commented 7 months ago

Update Logo

Description

Upload new logo and update readme.

codecov[bot] commented 7 months ago

Codecov Report

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

Project coverage is 94.76%. Comparing base (f47f760) to head (dc574ad).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1590 +/- ## ======================================= Coverage 94.76% 94.76% ======================================= Files 101 101 Lines 38826 38826 ======================================= Hits 36795 36795 Misses 2031 2031 ```

: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.076 ± 0.064 2.031 2.223 1.01 ± 0.03
head big_factorial 2.045 ± 0.010 2.033 2.067 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 1.995 ± 0.014 1.973 2.010 1.00
head big_fibonacci 1.995 ± 0.017 1.980 2.036 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 7.660 ± 0.235 7.459 8.201 1.00
head blake2s_integration_benchmark 7.713 ± 0.100 7.560 7.834 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.117 ± 0.009 2.102 2.125 1.00
head compare_arrays_200000 2.118 ± 0.033 2.085 2.205 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.414 ± 0.008 1.407 1.433 1.01 ± 0.01
head dict_integration_benchmark 1.404 ± 0.003 1.400 1.408 1.00
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.283 ± 0.007 1.271 1.292 1.00
head field_arithmetic_get_square_benchmark 1.298 ± 0.022 1.274 1.339 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 7.708 ± 0.205 7.526 8.105 1.00 ± 0.03
head integration_builtins 7.703 ± 0.068 7.590 7.837 1.00
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 7.912 ± 0.111 7.769 8.117 1.00
head keccak_integration_benchmark 7.970 ± 0.202 7.818 8.520 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.118 ± 0.091 2.066 2.374 1.01 ± 0.07
head linear_search 2.106 ± 0.103 2.050 2.395 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.699 ± 0.009 1.679 1.710 1.00
head math_cmp_and_pow_integration_benchmark 1.699 ± 0.007 1.688 1.714 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.603 ± 0.016 1.584 1.632 1.01 ± 0.01
head math_integration_benchmark 1.594 ± 0.004 1.587 1.601 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.194 ± 0.007 1.186 1.209 1.00
head memory_integration_benchmark 1.202 ± 0.012 1.190 1.231 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.824 ± 0.024 1.804 1.875 1.00
head operations_with_data_structures_benchmarks 1.832 ± 0.013 1.811 1.847 1.00 ± 0.01
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 528.2 ± 28.0 515.7 607.3 1.01 ± 0.06
head pedersen 522.2 ± 8.0 514.9 542.8 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 972.4 ± 2.5 968.0 975.2 1.00
head poseidon_integration_benchmark 977.2 ± 11.4 971.6 1009.4 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.856 ± 0.005 1.850 1.864 1.00
head secp_integration_benchmark 1.857 ± 0.007 1.849 1.869 1.00 ± 0.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 645.7 ± 6.9 641.0 664.6 1.01 ± 0.01
head set_integration_benchmark 641.3 ± 2.1 638.7 645.7 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.206 ± 0.039 4.133 4.276 1.00 ± 0.01
head uint256_integration_benchmark 4.202 ± 0.039 4.159 4.270 1.00
pefontana commented 7 months ago

Nice logos!!!

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 ± σ):     27.099 s ±  0.056 s    [User: 26.336 s, System: 0.762 s]
  Range (min … max):   27.060 s … 27.138 s    2 runs

Benchmark 2: hyper_threading_pr threads: 1
  Time (mean ± σ):     27.142 s ±  0.063 s    [User: 26.375 s, System: 0.766 s]
  Range (min … max):   27.098 s … 27.187 s    2 runs

Summary
  'hyper_threading_main threads: 1' ran
    1.00 ± 0.00 times faster than 'hyper_threading_pr 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.572 s ±  0.008 s    [User: 26.847 s, System: 0.801 s]
  Range (min … max):   14.567 s … 14.577 s    2 runs

Benchmark 2: hyper_threading_pr threads: 2
  Time (mean ± σ):     14.591 s ±  0.047 s    [User: 26.904 s, System: 0.770 s]
  Range (min … max):   14.557 s … 14.624 s    2 runs

Summary
  'hyper_threading_main threads: 2' ran
    1.00 ± 0.00 times faster than 'hyper_threading_pr 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.776 s ±  0.180 s    [User: 38.910 s, System: 0.879 s]
  Range (min … max):   10.649 s … 10.904 s    2 runs

Benchmark 2: hyper_threading_pr threads: 4
  Time (mean ± σ):     10.816 s ±  0.154 s    [User: 38.756 s, System: 0.940 s]
  Range (min … max):   10.707 s … 10.925 s    2 runs

Summary
  'hyper_threading_main threads: 4' ran
    1.00 ± 0.02 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.919 s ±  0.036 s    [User: 38.743 s, System: 0.965 s]
  Range (min … max):   10.894 s … 10.944 s    2 runs

Benchmark 2: hyper_threading_pr threads: 6
  Time (mean ± σ):     11.046 s ±  0.223 s    [User: 38.491 s, System: 0.993 s]
  Range (min … max):   10.889 s … 11.204 s    2 runs

Summary
  'hyper_threading_main threads: 6' ran
    1.01 ± 0.02 times faster than 'hyper_threading_pr 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.506 s ±  0.046 s    [User: 39.276 s, System: 0.985 s]
  Range (min … max):   10.473 s … 10.538 s    2 runs

Benchmark 2: hyper_threading_pr threads: 8
  Time (mean ± σ):     10.461 s ±  0.049 s    [User: 39.247 s, System: 1.003 s]
  Range (min … max):   10.427 s … 10.496 s    2 runs

Summary
  'hyper_threading_pr threads: 8' ran
    1.00 ± 0.01 times faster than 'hyper_threading_main 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.583 s ±  0.152 s    [User: 39.421 s, System: 1.019 s]
  Range (min … max):   10.475 s … 10.690 s    2 runs

Benchmark 2: hyper_threading_pr threads: 16
  Time (mean ± σ):     10.597 s ±  0.192 s    [User: 39.635 s, System: 1.006 s]
  Range (min … max):   10.461 s … 10.733 s    2 runs

Summary
  'hyper_threading_main threads: 16' ran
    1.00 ± 0.02 times faster than 'hyper_threading_pr threads: 16'