Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.0.0-rc1 #1876

Merged
merged 3 commits into from
Nov 21, 2024
Merged

Release v2.0.0-rc1 #1876

merged 3 commits into from
Nov 21, 2024

Conversation

edg-l
Copy link
Member

@edg-l edg-l commented Nov 19, 2024

Bump the version to v2.0.0-rc1

Copy link

github-actions bot commented Nov 19, 2024

**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 ± σ):     32.914 s ±  0.038 s    [User: 32.123 s, System: 0.790 s]
  Range (min … max):   32.887 s … 32.941 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 1
  Time (mean ± σ):     32.211 s ±  0.006 s    [User: 31.380 s, System: 0.829 s]
  Range (min … max):   32.206 s … 32.215 s    2 runs
 
Summary
  'hyper_threading_pr threads: 1' ran
    1.02 ± 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 ± σ):     17.770 s ±  0.003 s    [User: 30.936 s, System: 0.825 s]
  Range (min … max):   17.768 s … 17.773 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 2
  Time (mean ± σ):     17.750 s ±  0.010 s    [User: 30.959 s, System: 0.849 s]
  Range (min … max):   17.743 s … 17.757 s    2 runs
 
Summary
  'hyper_threading_pr threads: 2' ran
    1.00 ± 0.00 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 ± σ):     12.281 s ±  0.480 s    [User: 43.944 s, System: 0.989 s]
  Range (min … max):   11.941 s … 12.621 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 4
  Time (mean ± σ):     12.257 s ±  0.350 s    [User: 43.602 s, System: 1.023 s]
  Range (min … max):   12.009 s … 12.504 s    2 runs
 
Summary
  'hyper_threading_pr threads: 4' ran
    1.00 ± 0.05 times faster than 'hyper_threading_main 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 ± σ):     11.982 s ±  0.295 s    [User: 44.068 s, System: 1.070 s]
  Range (min … max):   11.774 s … 12.191 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 6
  Time (mean ± σ):     11.955 s ±  0.405 s    [User: 43.934 s, System: 1.084 s]
  Range (min … max):   11.668 s … 12.241 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 ± σ):     11.935 s ±  0.101 s    [User: 44.268 s, System: 1.093 s]
  Range (min … max):   11.864 s … 12.006 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 8
  Time (mean ± σ):     11.851 s ±  0.254 s    [User: 44.246 s, System: 1.048 s]
  Range (min … max):   11.671 s … 12.031 s    2 runs
 
Summary
  'hyper_threading_pr threads: 8' ran
    1.01 ± 0.02 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 ± σ):     12.240 s ±  0.006 s    [User: 44.415 s, System: 1.088 s]
  Range (min … max):   12.236 s … 12.244 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 16
  Time (mean ± σ):     11.749 s ±  0.158 s    [User: 44.528 s, System: 1.150 s]
  Range (min … max):   11.638 s … 11.861 s    2 runs
 
Summary
  'hyper_threading_pr threads: 16' ran
    1.04 ± 0.01 times faster than 'hyper_threading_main threads: 16'


Copy link

github-actions bot commented Nov 19, 2024

Benchmark Results for unmodified programs 🚀

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.506 ± 0.051 2.453 2.585 1.01 ± 0.03
head big_factorial 2.488 ± 0.037 2.444 2.570 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.420 ± 0.014 2.402 2.439 1.00
head big_fibonacci 2.422 ± 0.033 2.400 2.509 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 9.116 ± 0.090 8.992 9.270 1.00
head blake2s_integration_benchmark 9.140 ± 0.095 8.977 9.251 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.571 ± 0.020 2.551 2.618 1.01 ± 0.01
head compare_arrays_200000 2.558 ± 0.022 2.538 2.602 1.00
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.696 ± 0.029 1.661 1.770 1.00
head dict_integration_benchmark 1.700 ± 0.027 1.680 1.766 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.443 ± 0.045 1.408 1.535 1.01 ± 0.03
head field_arithmetic_get_square_benchmark 1.429 ± 0.018 1.415 1.464 1.00
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 9.172 ± 0.063 9.105 9.271 1.00
head integration_builtins 9.365 ± 0.408 9.071 10.320 1.02 ± 0.05
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 9.447 ± 0.067 9.360 9.536 1.00
head keccak_integration_benchmark 9.641 ± 0.356 9.356 10.394 1.02 ± 0.04
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.563 ± 0.057 2.515 2.687 1.01 ± 0.03
head linear_search 2.540 ± 0.034 2.510 2.627 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.736 ± 0.015 1.718 1.754 1.01 ± 0.01
head math_cmp_and_pow_integration_benchmark 1.724 ± 0.016 1.704 1.746 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.706 ± 0.034 1.678 1.788 1.01 ± 0.02
head math_integration_benchmark 1.688 ± 0.014 1.670 1.708 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.421 ± 0.011 1.407 1.436 1.00
head memory_integration_benchmark 1.444 ± 0.064 1.390 1.562 1.02 ± 0.05
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.811 ± 0.019 1.800 1.861 1.00
head operations_with_data_structures_benchmarks 1.822 ± 0.044 1.785 1.926 1.01 ± 0.03
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 588.7 ± 6.9 579.6 600.4 1.01 ± 0.01
head pedersen 583.3 ± 2.4 580.1 588.5 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 698.6 ± 3.4 692.3 703.5 1.00
head poseidon_integration_benchmark 702.4 ± 18.4 685.7 742.8 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 2.073 ± 0.031 2.055 2.156 1.00 ± 0.02
head secp_integration_benchmark 2.067 ± 0.011 2.051 2.092 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 672.7 ± 40.8 655.3 787.9 1.00
head set_integration_benchmark 683.4 ± 9.4 674.7 699.1 1.02 ± 0.06
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 5.024 ± 0.063 4.987 5.197 1.00
head uint256_integration_benchmark 5.035 ± 0.031 4.989 5.093 1.00 ± 0.01

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.33%. Comparing base (1e2d042) to head (efa9a6c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1876   +/-   ##
=======================================
  Coverage   96.33%   96.33%           
=======================================
  Files         102      102           
  Lines       40687    40687           
=======================================
  Hits        39195    39195           
  Misses       1492     1492           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@pefontana pefontana enabled auto-merge November 19, 2024 19:51
@pefontana pefontana disabled auto-merge November 19, 2024 19:51
@edg-l edg-l added this pull request to the merge queue Nov 21, 2024
Merged via the queue into main with commit 388a4e5 Nov 21, 2024
73 checks passed
@edg-l edg-l deleted the release-v2.0.0-rc1 branch November 21, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants