Skip to content

Add Commit Signing section #2019

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

Merged
merged 4 commits into from
Mar 26, 2025
Merged

Add Commit Signing section #2019

merged 4 commits into from
Mar 26, 2025

Conversation

gabrielbosio
Copy link
Collaborator

We added the requirement that all commits for all PRs to this repo must be signed. This PR adds a section in the CONTRIBUTING file explaining this requirement.

@gabrielbosio gabrielbosio added the pipelines This PR/issue is exclusively about improving our CI label Mar 21, 2025
Copy link

github-actions bot commented Mar 21, 2025

**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.409 s ±  0.035 s    [User: 25.620 s, System: 0.788 s]
  Range (min … max):   26.385 s … 26.434 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 1
  Time (mean ± σ):     26.415 s ±  0.022 s    [User: 25.622 s, System: 0.791 s]
  Range (min … max):   26.400 s … 26.431 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.690 s ±  0.062 s    [User: 25.807 s, System: 0.851 s]
  Range (min … max):   14.646 s … 14.733 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 2
  Time (mean ± σ):     14.628 s ±  0.024 s    [User: 25.665 s, System: 0.845 s]
  Range (min … max):   14.611 s … 14.646 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 ± σ):     10.581 s ±  0.532 s    [User: 38.201 s, System: 0.995 s]
  Range (min … max):   10.204 s … 10.957 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 4
  Time (mean ± σ):     10.953 s ±  0.069 s    [User: 37.793 s, System: 0.996 s]
  Range (min … max):   10.904 s … 11.002 s    2 runs
 
Summary
  hyper_threading_main threads: 4 ran
    1.04 ± 0.05 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.422 s ±  0.223 s    [User: 38.470 s, System: 0.970 s]
  Range (min … max):   10.265 s … 10.580 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 6
  Time (mean ± σ):     10.337 s ±  0.339 s    [User: 38.400 s, System: 0.964 s]
  Range (min … max):   10.097 s … 10.576 s    2 runs
 
Summary
  hyper_threading_pr threads: 6 ran
    1.01 ± 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.289 s ±  0.075 s    [User: 38.382 s, System: 1.024 s]
  Range (min … max):   10.236 s … 10.342 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 8
  Time (mean ± σ):     10.466 s ±  0.151 s    [User: 38.343 s, System: 1.044 s]
  Range (min … max):   10.359 s … 10.573 s    2 runs
 
Summary
  hyper_threading_main threads: 8 ran
    1.02 ± 0.02 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.625 s ±  0.271 s    [User: 38.627 s, System: 1.088 s]
  Range (min … max):   10.434 s … 10.817 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 16
  Time (mean ± σ):     10.278 s ±  0.005 s    [User: 38.900 s, System: 1.109 s]
  Range (min … max):   10.275 s … 10.281 s    2 runs
 
Summary
  hyper_threading_pr threads: 16 ran
    1.03 ± 0.03 times faster than hyper_threading_main threads: 16


Copy link

github-actions bot commented Mar 21, 2025

Benchmark Results for unmodified programs 🚀

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.124 ± 0.026 2.099 2.184 1.00 ± 0.01
head big_factorial 2.118 ± 0.012 2.102 2.140 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.042 ± 0.026 2.027 2.115 1.00 ± 0.01
head big_fibonacci 2.041 ± 0.010 2.033 2.066 1.00
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 7.560 ± 0.122 7.474 7.858 1.00
head blake2s_integration_benchmark 7.581 ± 0.109 7.464 7.737 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.167 ± 0.030 2.140 2.228 1.00 ± 0.02
head compare_arrays_200000 2.162 ± 0.015 2.144 2.197 1.00
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.439 ± 0.005 1.434 1.446 1.01 ± 0.01
head dict_integration_benchmark 1.420 ± 0.010 1.412 1.445 1.00
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.199 ± 0.005 1.192 1.208 1.00
head field_arithmetic_get_square_benchmark 1.203 ± 0.006 1.196 1.217 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 7.600 ± 0.083 7.544 7.830 1.00 ± 0.01
head integration_builtins 7.578 ± 0.038 7.517 7.647 1.00
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 7.814 ± 0.055 7.705 7.905 1.00
head keccak_integration_benchmark 7.901 ± 0.089 7.833 8.140 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.168 ± 0.011 2.151 2.185 1.00
head linear_search 2.175 ± 0.017 2.159 2.221 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.535 ± 0.007 1.527 1.545 1.01 ± 0.01
head math_cmp_and_pow_integration_benchmark 1.517 ± 0.008 1.505 1.532 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.482 ± 0.011 1.471 1.508 1.00 ± 0.02
head math_integration_benchmark 1.481 ± 0.020 1.461 1.526 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.219 ± 0.008 1.211 1.240 1.00
head memory_integration_benchmark 1.227 ± 0.009 1.213 1.243 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.588 ± 0.012 1.571 1.606 1.01 ± 0.01
head operations_with_data_structures_benchmarks 1.580 ± 0.010 1.567 1.598 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 534.1 ± 1.8 531.6 537.1 1.00
head pedersen 539.1 ± 10.9 532.6 569.5 1.01 ± 0.02
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 639.3 ± 8.3 628.0 657.3 1.00
head poseidon_integration_benchmark 648.5 ± 5.6 640.4 660.6 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.862 ± 0.013 1.847 1.893 1.00 ± 0.01
head secp_integration_benchmark 1.854 ± 0.007 1.845 1.868 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 684.8 ± 3.9 678.6 690.6 1.00 ± 0.01
head set_integration_benchmark 682.5 ± 2.3 677.6 685.1 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.201 ± 0.031 4.152 4.243 1.00
head uint256_integration_benchmark 4.202 ± 0.030 4.166 4.265 1.00 ± 0.01

Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.53%. Comparing base (7c4ecdf) to head (d1df1a2).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2019   +/-   ##
=======================================
  Coverage   96.53%   96.53%           
=======================================
  Files         102      102           
  Lines       42726    42726           
=======================================
  Hits        41247    41247           
  Misses       1479     1479           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@JulianGCalderon JulianGCalderon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JulianGCalderon JulianGCalderon added this pull request to the merge queue Mar 26, 2025
Merged via the queue into main with commit 75752a4 Mar 26, 2025
93 checks passed
@JulianGCalderon JulianGCalderon deleted the commit_signing_section branch March 26, 2025 22:39
Stavbe pushed a commit that referenced this pull request Mar 27, 2025
* Add Commit Signing section

* Clarify that this only affects to internal branches

Co-authored-by: Julian Gonzalez Calderon <[email protected]>

---------

Co-authored-by: Julian Gonzalez Calderon <[email protected]>
Co-authored-by: Franco Giachetta <[email protected]>
gabrielbosio added a commit that referenced this pull request May 21, 2025
* Add Commit Signing section

* Clarify that this only affects to internal branches

Co-authored-by: Julian Gonzalez Calderon <[email protected]>

---------

Co-authored-by: Julian Gonzalez Calderon <[email protected]>
Co-authored-by: Franco Giachetta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipelines This PR/issue is exclusively about improving our CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants