Sha256: 6a8b82e58006b05b100b5476fd4908b0b77611532eb5ed96712abdce2308524a
Contents?: true
Size: 617 Bytes
Versions: 2
Compression:
Stored size: 617 Bytes
Contents
#!/bin/bash # Try gcc profile-guided optimizations set -eu MAKE="make -j$(grep -c processor /proc/cpuinfo)" DATAFILE="$HOME/data/silesia" $MAKE benchmark > /dev/null echo "=====================" echo "Original performance:" echo "---------------------" ./benchmark "$@" "$DATAFILE" $MAKE CFLAGS=-fprofile-generate LDFLAGS=-fprofile-generate benchmark > /dev/null ./benchmark "$@" "$DATAFILE" > /dev/null $MAKE CFLAGS=-fprofile-use benchmark > /dev/null rm -f {lib,programs}/*.gcda echo "==========================" echo "PGO-optimized performance:" echo "--------------------------" ./benchmark "$@" "$DATAFILE"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
libdeflate-0.1.1 | ext/libdeflate/libdeflate/tools/pgo_build.sh |
libdeflate-0.1.0 | ext/libdeflate/libdeflate/tools/pgo_build.sh |