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

Bump pip cairo-lang to 0.13.2 #1828

Merged
merged 4 commits into from
Sep 17, 2024
Merged

Bump pip cairo-lang to 0.13.2 #1828

merged 4 commits into from
Sep 17, 2024

Conversation

JulianGCalderon
Copy link
Contributor

Bump pip cairo-lang to 0.13.2

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.

Copy link

github-actions bot commented Aug 28, 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 ± σ):     29.932 s ±  0.043 s    [User: 29.089 s, System: 0.842 s]
  Range (min … max):   29.902 s … 29.962 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 1
  Time (mean ± σ):     29.899 s ±  0.115 s    [User: 29.179 s, System: 0.718 s]
  Range (min … max):   29.817 s … 29.980 s    2 runs
 
Summary
  'hyper_threading_pr threads: 1' ran
    1.00 ± 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 ± σ):     16.681 s ±  0.002 s    [User: 29.247 s, System: 0.865 s]
  Range (min … max):   16.680 s … 16.683 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 2
  Time (mean ± σ):     16.677 s ±  0.009 s    [User: 29.290 s, System: 0.806 s]
  Range (min … max):   16.671 s … 16.683 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 ± σ):     11.749 s ±  0.046 s    [User: 40.715 s, System: 0.988 s]
  Range (min … max):   11.717 s … 11.781 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 4
  Time (mean ± σ):     11.462 s ±  0.517 s    [User: 40.817 s, System: 0.909 s]
  Range (min … max):   11.097 s … 11.827 s    2 runs
 
Summary
  'hyper_threading_pr threads: 4' ran
    1.03 ± 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.279 s ±  0.191 s    [User: 41.012 s, System: 0.978 s]
  Range (min … max):   11.143 s … 11.414 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 6
  Time (mean ± σ):     11.307 s ±  0.068 s    [User: 40.703 s, System: 1.014 s]
  Range (min … max):   11.259 s … 11.355 s    2 runs
 
Summary
  'hyper_threading_main threads: 6' ran
    1.00 ± 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 ± σ):     11.169 s ±  0.141 s    [User: 41.275 s, System: 1.014 s]
  Range (min … max):   11.070 s … 11.269 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 8
  Time (mean ± σ):     11.293 s ±  0.331 s    [User: 40.979 s, System: 0.995 s]
  Range (min … max):   11.059 s … 11.528 s    2 runs
 
Summary
  'hyper_threading_main threads: 8' ran
    1.01 ± 0.03 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.097 s ±  0.258 s    [User: 41.523 s, System: 1.126 s]
  Range (min … max):   10.915 s … 11.280 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 16
  Time (mean ± σ):     10.990 s ±  0.100 s    [User: 41.595 s, System: 1.019 s]
  Range (min … max):   10.919 s … 11.060 s    2 runs
 
Summary
  'hyper_threading_pr threads: 16' ran
    1.01 ± 0.03 times faster than 'hyper_threading_main threads: 16'


Copy link

github-actions bot commented Aug 28, 2024

Benchmark Results for modified programs 🚀

Command Mean [s] Min [s] Max [s] Relative
head big_factorial 2.401 ± 0.025 2.376 2.468 1.00
Command Mean [s] Min [s] Max [s] Relative
head big_fibonacci 2.351 ± 0.062 2.314 2.524 1.00
Command Mean [s] Min [s] Max [s] Relative
head blake2s_integration_benchmark 8.688 ± 0.242 8.429 9.172 1.00
Command Mean [s] Min [s] Max [s] Relative
head compare_arrays_200000 2.498 ± 0.045 2.467 2.617 1.00
Command Mean [s] Min [s] Max [s] Relative
head dict_integration_benchmark 1.642 ± 0.008 1.631 1.654 1.00
Command Mean [s] Min [s] Max [s] Relative
head field_arithmetic_get_square_benchmark 1.365 ± 0.012 1.351 1.384 1.00
Command Mean [s] Min [s] Max [s] Relative
head integration_builtins 8.752 ± 0.199 8.556 9.231 1.00
Command Mean [s] Min [s] Max [s] Relative
head keccak_integration_benchmark 9.043 ± 0.174 8.770 9.284 1.00
Command Mean [s] Min [s] Max [s] Relative
head linear_search 2.513 ± 0.045 2.471 2.600 1.00
Command Mean [s] Min [s] Max [s] Relative
head math_cmp_and_pow_integration_benchmark 1.734 ± 0.050 1.695 1.812 1.00
Command Mean [s] Min [s] Max [s] Relative
head math_integration_benchmark 1.657 ± 0.016 1.639 1.686 1.00
Command Mean [s] Min [s] Max [s] Relative
head memory_integration_benchmark 1.396 ± 0.020 1.382 1.434 1.00
Command Mean [s] Min [s] Max [s] Relative
head operations_with_data_structures_benchmarks 1.765 ± 0.017 1.747 1.796 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
head pedersen 572.9 ± 1.4 570.6 574.9 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
head poseidon_integration_benchmark 692.1 ± 9.4 684.0 714.4 1.00
Command Mean [s] Min [s] Max [s] Relative
head secp_integration_benchmark 1.997 ± 0.020 1.979 2.042 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
head set_integration_benchmark 685.0 ± 8.5 680.3 708.8 1.00
Command Mean [s] Min [s] Max [s] Relative
head uint256_integration_benchmark 4.802 ± 0.067 4.734 4.925 1.00

Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.83%. Comparing base (1f1190b) to head (189ad4c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1828   +/-   ##
=======================================
  Coverage   94.83%   94.83%           
=======================================
  Files         101      101           
  Lines       39579    39579           
=======================================
  Hits        37536    37536           
  Misses       2043     2043           

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

@JulianGCalderon JulianGCalderon marked this pull request as ready for review August 29, 2024 17:28
@pefontana pefontana added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit 5f8a011 Sep 17, 2024
72 checks passed
@pefontana pefontana deleted the pip-update-cairo-lang branch September 17, 2024 20:31
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