diff options
author | David Hows <howsdav@gmail.com> | 2017-10-25 22:53:35 +1100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-10-25 13:53:35 +0200 |
commit | 05b3178ca4e51925ab5ddfb3cdcf092a1fb10cd8 (patch) | |
tree | 014fd71cabc52b37ed849ea013b07a36b26c342d /bin | |
parent | ce8a698b48a0c5f4b096167fd5a1e398f6ee4ad6 (diff) | |
download | spack-05b3178ca4e51925ab5ddfb3cdcf092a1fb10cd8.tar.gz spack-05b3178ca4e51925ab5ddfb3cdcf092a1fb10cd8.tar.bz2 spack-05b3178ca4e51925ab5ddfb3cdcf092a1fb10cd8.tar.xz spack-05b3178ca4e51925ab5ddfb3cdcf092a1fb10cd8.zip |
Zlib gets a 50-60% performance win when compiled with -O2 (#5838)
Chasing a performance regression has lead me to this change, going from default optimization gives a significant performance win. The sweet spot for zlib is apparently `-O2`, both `-Ofast` and `-O3` are slightly worse (regression is about 3% compared with `-O2) in my testing.
Happy to share my methodology with people so we can benchmark on a wider variety of systems.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions