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

Upgrade to LLVM 17 #531

Merged
merged 18 commits into from
Jan 23, 2024
Merged

Upgrade to LLVM 17 #531

merged 18 commits into from
Jan 23, 2024

Conversation

arshajii
Copy link
Contributor

@arshajii arshajii commented Jan 20, 2024

Benchmark results (2021 MacBook Pro 16'', Apple M1 Max, 64GB RAM, macOS 13.5.2):

Benchmark Codon 0.16.3 Codon + LLVM 17 (539d211) Speedup (%) Avg Speedup (%)
binary_trees 3.75559 3.81548 -1.570
binary_trees 3.76056 3.7452 0.410
binary_trees 3.96315 3.74773 5.748
binary_trees 3.75181 3.75386 -0.055
binary_trees 3.95998 3.75445 5.474 2.002
chaos 0.773945 0.783475 -1.216
chaos 0.773962 0.76894 0.653
chaos 0.772019 0.771798 0.029
chaos 0.771419 0.775499 -0.526
chaos 0.774265 0.766622 0.997 -0.013
fannkuch 3.24201 3.26445 -0.687
fannkuch 3.24968 3.28362 -1.034
fannkuch 3.24594 3.31628 -2.121
fannkuch 3.26789 3.28161 -0.418
fannkuch 3.25285 3.26867 -0.484 -0.949
float 0.29008 0.302462 -4.094
float 0.292217 0.294341 -0.722
float 0.297383 0.293924 1.177
float 0.279793 0.2942 -4.897
float 0.283956 0.294442 -3.561 -2.419
go 0.655093 0.658728 -0.552
go 0.663538 0.665318 -0.268
go 0.657976 0.658232 -0.039
go 0.658525 0.659118 -0.090
go 0.662735 0.659158 0.543 -0.081
nbody 0.154534 0.153783 0.488
nbody 0.154603 0.153625 0.637
nbody 0.15444 0.154046 0.256
nbody 0.154397 0.153737 0.429
nbody 0.153901 0.153892 0.006 0.363
primes 0.0361049 0.036094 0.030
primes 0.0360901 0.0360551 0.097
primes 0.0360601 0.0360129 0.131
primes 0.036082 0.0373821 -3.478
primes 0.0361652 0.036093 0.200 -0.604
set_partition 9.12461 8.72543 4.575
set_partition 9.12209 8.68909 4.983
set_partition 9.28029 8.71474 6.490
set_partition 9.22629 8.72097 5.794
set_partition 9.17722 8.72273 5.210 5.410
spectral_norm 0.240676 0.241844 -0.483
spectral_norm 0.240446 0.240221 0.094
spectral_norm 0.240363 0.238519 0.773
spectral_norm 0.241589 0.241112 0.198
spectral_norm 0.239909 0.23975 0.066 0.130
taq 4.6518 4.58803 1.390
taq 4.61357 4.59772 0.345
taq 4.62393 4.61043 0.293
taq 4.60312 4.61324 -0.219
taq 4.617 4.60441 0.273 0.416
word_count 1.97823 1.9571 1.080
word_count 1.95464 1.94091 0.707
word_count 1.96828 1.94453 1.221
word_count 1.95063 1.94186 0.452
word_count 1.94997 1.92937 1.068 0.906

@arshajii arshajii merged commit 725003c into develop Jan 23, 2024
3 checks passed
@arshajii arshajii deleted the llvm-17 branch January 23, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant