Testing the performance of compiler build optimisations.
C Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
subprojects
.gitignore
measure.py
meson.build
readme.md
zpipe.c

readme.md

Compiler optimisation test

This repository contains a benchmark app that compiles zlib with a bunch of different optimization settings.

The results are examined in this blog post.

To run the tests yourself you just need the Meson build system. You don't need to get zlib source yourself, it will automatically download it from the wrapdb.

The steps are simple:

  • clone this repo
  • edit measure.py to point to your Meson binaries
  • read the comments to see if you need to set some environment variables
  • run 'measure.py`