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

update cairo-lang dependencies to 2.10.0-rc.0 #1901

Merged
merged 1 commit into from
Dec 26, 2024
Merged

Conversation

FrancoGiachetta
Copy link
Contributor

update cairo-lang to 2.10.0-rc.0

Description

This PR updates cairo-lang to 2.10.0-rc.0

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.
    • CHANGELOG has been updated.

@FrancoGiachetta FrancoGiachetta marked this pull request as ready for review December 26, 2024 12:33
Copy link

**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 ± σ):     31.800 s ±  0.021 s    [User: 31.001 s, System: 0.797 s]
  Range (min … max):   31.785 s … 31.815 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 1
  Time (mean ± σ):     32.363 s ±  0.844 s    [User: 31.559 s, System: 0.800 s]
  Range (min … max):   31.766 s … 32.960 s    2 runs
 
Summary
  hyper_threading_main threads: 1 ran
    1.02 ± 0.03 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 ± σ):     17.680 s ±  0.065 s    [User: 30.894 s, System: 0.812 s]
  Range (min … max):   17.634 s … 17.726 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 2
  Time (mean ± σ):     17.850 s ±  0.132 s    [User: 31.066 s, System: 0.810 s]
  Range (min … max):   17.756 s … 17.944 s    2 runs
 
Summary
  hyper_threading_main threads: 2 ran
    1.01 ± 0.01 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 ± σ):     12.039 s ±  0.357 s    [User: 43.566 s, System: 0.931 s]
  Range (min … max):   11.787 s … 12.291 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 4
  Time (mean ± σ):     12.412 s ±  0.016 s    [User: 43.099 s, System: 0.940 s]
  Range (min … max):   12.401 s … 12.424 s    2 runs
 
Summary
  hyper_threading_main threads: 4 ran
    1.03 ± 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 ± σ):     11.955 s ±  0.395 s    [User: 43.726 s, System: 0.948 s]
  Range (min … max):   11.676 s … 12.234 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 6
  Time (mean ± σ):     11.860 s ±  0.239 s    [User: 43.402 s, System: 0.927 s]
  Range (min … max):   11.691 s … 12.029 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 ± σ):     11.772 s ±  0.024 s    [User: 43.857 s, System: 0.995 s]
  Range (min … max):   11.755 s … 11.789 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 8
  Time (mean ± σ):     11.872 s ±  0.097 s    [User: 43.727 s, System: 0.949 s]
  Range (min … max):   11.804 s … 11.941 s    2 runs
 
Summary
  hyper_threading_main threads: 8 ran
    1.01 ± 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 ± σ):     11.706 s ±  0.126 s    [User: 44.210 s, System: 1.056 s]
  Range (min … max):   11.617 s … 11.795 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 16
  Time (mean ± σ):     11.881 s ±  0.240 s    [User: 43.830 s, System: 1.049 s]
  Range (min … max):   11.711 s … 12.051 s    2 runs
 
Summary
  hyper_threading_main threads: 16 ran
    1.01 ± 0.02 times faster than hyper_threading_pr threads: 16


Copy link

Benchmark Results for unmodified programs 🚀

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.492 ± 0.030 2.449 2.539 1.00 ± 0.02
head big_factorial 2.485 ± 0.024 2.458 2.516 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.399 ± 0.019 2.384 2.429 1.00
head big_fibonacci 2.428 ± 0.034 2.389 2.477 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 9.155 ± 0.294 8.985 9.961 1.00
head blake2s_integration_benchmark 9.156 ± 0.173 9.035 9.560 1.00 ± 0.04
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.569 ± 0.040 2.524 2.659 1.00
head compare_arrays_200000 2.574 ± 0.040 2.532 2.663 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.692 ± 0.017 1.673 1.724 1.00
head dict_integration_benchmark 1.712 ± 0.051 1.677 1.848 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.428 ± 0.032 1.399 1.499 1.00
head field_arithmetic_get_square_benchmark 1.446 ± 0.033 1.419 1.529 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 9.183 ± 0.149 9.065 9.576 1.00
head integration_builtins 9.353 ± 0.311 9.173 10.181 1.02 ± 0.04
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 9.371 ± 0.058 9.308 9.505 1.00
head keccak_integration_benchmark 9.460 ± 0.052 9.406 9.545 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.581 ± 0.035 2.535 2.655 1.00
head linear_search 2.602 ± 0.060 2.543 2.730 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.760 ± 0.045 1.722 1.879 1.00 ± 0.03
head math_cmp_and_pow_integration_benchmark 1.753 ± 0.025 1.723 1.808 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.713 ± 0.047 1.677 1.827 1.02 ± 0.03
head math_integration_benchmark 1.688 ± 0.011 1.671 1.704 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.417 ± 0.009 1.405 1.433 1.00
head memory_integration_benchmark 1.422 ± 0.016 1.405 1.450 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.806 ± 0.025 1.781 1.868 1.00
head operations_with_data_structures_benchmarks 1.812 ± 0.017 1.788 1.835 1.00 ± 0.02
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 587.9 ± 6.2 580.1 600.0 1.00
head pedersen 593.3 ± 12.1 583.0 618.6 1.01 ± 0.02
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 707.7 ± 8.9 695.5 722.2 1.00
head poseidon_integration_benchmark 708.5 ± 16.2 700.1 753.6 1.00 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 2.058 ± 0.014 2.047 2.087 1.00
head secp_integration_benchmark 2.070 ± 0.023 2.048 2.125 1.01 ± 0.01
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 660.7 ± 4.4 656.0 670.4 1.00
head set_integration_benchmark 704.4 ± 11.8 695.9 732.8 1.07 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 5.013 ± 0.073 4.944 5.143 1.00
head uint256_integration_benchmark 5.031 ± 0.051 4.992 5.149 1.00 ± 0.02

Copy link

codecov bot commented Dec 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.33%. Comparing base (3f3df3e) to head (88d92a9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1901   +/-   ##
=======================================
  Coverage   96.33%   96.33%           
=======================================
  Files         102      102           
  Lines       40751    40751           
=======================================
  Hits        39259    39259           
  Misses       1492     1492           

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

@pefontana pefontana added this pull request to the merge queue Dec 26, 2024
Merged via the queue into main with commit 83bfdcf Dec 26, 2024
83 checks passed
@pefontana pefontana deleted the update-cairo2.10 branch December 26, 2024 15:05
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.

3 participants