-
Notifications
You must be signed in to change notification settings - Fork 8
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
compare the system llvm against "big-merge" and "pgo" #672
base: main
Are you sure you want to change the base?
Conversation
f13eca4
to
85e35fb
Compare
big-merge vs pgoAccording to the llvm-test-suite the execution time of PGOed LLVM is 5.9% faster but 12% slower compile time and even worse 24% slower link time. This is for 20240825. I wonder how the comparison looks against the system compiler and if the results are really that bad every time.
System vs PGOIt looks like the PGOed LLVM 20 version is 3.9% slower in terms of compile time compared to the Fedora 40 system LLVM version 18.
System vs. big-merge
|
Make result txt files easier to read with smaller lhs and rhs column widths.
Experiments are done in an f41 container on x86_64 this time and the PGO profile generation was done using the llvm-test-suite instead of hello-world. Here are the result files: results-pgo.json big-merge vs pgo
System vs PGO
System vs big-merge
|
This container setup allows you to compare the system llvm against "big-merge" and "pgo".
How to
Just run
make
to build and run the container image. It takes a long time to complete.Then you'll be promted to a terminal in the container where you'll find these files:
The names speak for themselves.
How to change to OS
If you want to change the version of the operating system, go to
Containerfile
and change the line that looks like this:FROM fedora:40
. Change it toFROM fedora:41
or something else.Then run
make
again.How to change the date for which to compare results?
Go to
entrypoint.sh
and change the line that definesyyyymmdd
to the year-month-date of your liking.