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 deps to 2.7.0 #1813

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Update cairo-lang deps to 2.7.0 #1813

merged 2 commits into from
Aug 1, 2024

Conversation

pefontana
Copy link
Collaborator

@pefontana pefontana commented Aug 1, 2024

Update cairo-lang deps to 2.7.0

Description

Description of the pull request changes and motivation.

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.

@edg-l edg-l enabled auto-merge August 1, 2024 15:22
Copy link

github-actions bot commented Aug 1, 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 ± σ):     26.805 s ±  0.007 s    [User: 26.010 s, System: 0.794 s]
  Range (min … max):   26.800 s … 26.810 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 1
  Time (mean ± σ):     26.751 s ±  0.039 s    [User: 25.947 s, System: 0.802 s]
  Range (min … max):   26.723 s … 26.778 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 ± σ):     15.005 s ±  0.018 s    [User: 26.558 s, System: 0.806 s]
  Range (min … max):   14.992 s … 15.018 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 2
  Time (mean ± σ):     14.990 s ±  0.000 s    [User: 26.480 s, System: 0.818 s]
  Range (min … max):   14.990 s … 14.990 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.250 s ±  0.175 s    [User: 38.182 s, System: 1.040 s]
  Range (min … max):   11.126 s … 11.374 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 4
  Time (mean ± σ):     10.576 s ±  0.208 s    [User: 38.700 s, System: 0.945 s]
  Range (min … max):   10.429 s … 10.723 s    2 runs
 
Summary
  'hyper_threading_pr threads: 4' ran
    1.06 ± 0.03 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 ± σ):     10.723 s ±  0.278 s    [User: 38.981 s, System: 0.988 s]
  Range (min … max):   10.527 s … 10.920 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 6
  Time (mean ± σ):     10.707 s ±  0.305 s    [User: 38.289 s, System: 1.021 s]
  Range (min … max):   10.491 s … 10.923 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 ± σ):     10.761 s ±  0.071 s    [User: 39.103 s, System: 0.976 s]
  Range (min … max):   10.711 s … 10.812 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 8
  Time (mean ± σ):     10.414 s ±  0.100 s    [User: 38.907 s, System: 1.112 s]
  Range (min … max):   10.344 s … 10.485 s    2 runs
 
Summary
  'hyper_threading_pr threads: 8' ran
    1.03 ± 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.552 s ±  0.154 s    [User: 39.548 s, System: 1.104 s]
  Range (min … max):   10.444 s … 10.661 s    2 runs
 
Benchmark 2: hyper_threading_pr threads: 16
  Time (mean ± σ):     10.679 s ±  0.095 s    [User: 39.170 s, System: 1.078 s]
  Range (min … max):   10.611 s … 10.746 s    2 runs
 
Summary
  'hyper_threading_main threads: 16' ran
    1.01 ± 0.02 times faster than 'hyper_threading_pr threads: 16'


@edg-l edg-l added this pull request to the merge queue Aug 1, 2024
Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.88%. Comparing base (d33589a) to head (6ead024).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1813   +/-   ##
=======================================
  Coverage   94.88%   94.88%           
=======================================
  Files         102      102           
  Lines       40327    40327           
=======================================
  Hits        38263    38263           
  Misses       2064     2064           

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

Copy link

github-actions bot commented Aug 1, 2024

Benchmark Results for unmodified programs 🚀

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.130 ± 0.028 2.103 2.189 1.00
head big_factorial 2.131 ± 0.018 2.107 2.149 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.088 ± 0.022 2.058 2.118 1.00 ± 0.02
head big_fibonacci 2.088 ± 0.028 2.062 2.142 1.00
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 7.847 ± 0.117 7.744 8.082 1.00
head blake2s_integration_benchmark 7.927 ± 0.344 7.711 8.878 1.01 ± 0.05
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.200 ± 0.017 2.171 2.220 1.00 ± 0.02
head compare_arrays_200000 2.196 ± 0.032 2.168 2.275 1.00
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.442 ± 0.022 1.423 1.499 1.00
head dict_integration_benchmark 1.443 ± 0.023 1.415 1.492 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.267 ± 0.076 1.226 1.480 1.02 ± 0.06
head field_arithmetic_get_square_benchmark 1.240 ± 0.009 1.227 1.260 1.00
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 7.970 ± 0.369 7.769 8.952 1.00
head integration_builtins 8.014 ± 0.402 7.729 9.071 1.01 ± 0.07
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 8.053 ± 0.111 7.956 8.254 1.00
head keccak_integration_benchmark 8.136 ± 0.184 7.963 8.577 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.164 ± 0.017 2.140 2.187 1.00
head linear_search 2.192 ± 0.054 2.151 2.338 1.01 ± 0.03
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.516 ± 0.021 1.497 1.571 1.00 ± 0.02
head math_cmp_and_pow_integration_benchmark 1.509 ± 0.009 1.495 1.527 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.458 ± 0.026 1.437 1.529 1.01 ± 0.02
head math_integration_benchmark 1.444 ± 0.008 1.436 1.457 1.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.218 ± 0.008 1.206 1.231 1.00
head memory_integration_benchmark 1.218 ± 0.021 1.196 1.272 1.00 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.574 ± 0.020 1.551 1.618 1.01 ± 0.02
head operations_with_data_structures_benchmarks 1.565 ± 0.013 1.553 1.591 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 534.7 ± 6.2 529.3 552.0 1.00 ± 0.01
head pedersen 532.7 ± 4.7 527.2 542.9 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 747.4 ± 5.3 739.0 755.1 1.00
head poseidon_integration_benchmark 747.8 ± 6.3 739.9 759.4 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.857 ± 0.017 1.836 1.884 1.00 ± 0.01
head secp_integration_benchmark 1.854 ± 0.021 1.829 1.894 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 631.0 ± 11.5 622.9 661.6 1.00 ± 0.02
head set_integration_benchmark 629.8 ± 6.8 622.2 644.5 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.293 ± 0.047 4.244 4.367 1.00
head uint256_integration_benchmark 4.375 ± 0.267 4.235 5.120 1.02 ± 0.06

Merged via the queue into main with commit d9c6331 Aug 1, 2024
72 checks passed
@edg-l edg-l deleted the update-cairo-lang-2.7.0 branch August 1, 2024 16:01
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