Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link against gmp,mpfr & enable PGO,LTO for up to 1.25x speedup
PGO workload is taken from [here](https://github.com/Tensibai/benchmark-awk-vs) **Benchmarking** Use a different benchmark for testing to ensure we aren't just optimizing for one workload. 1. Generate some data `yes 'SomeSampleText SomeOtherText 33 1970 YetAnotherText 777 abc 1 AndSomeMore' | head -12000000 > gawkdata.txt` 2. Benchmark `perf stat -r 5 gawk 'BEGIN {a = 0;} /YetAnotherText/ {a ++;} END {print "a: " a;}' gawkdata.txt` Before: 2.12259 +- 0.00260 seconds time elapsed ( +- 0.12% ) After : 1.59791 +- 0.00152 seconds time elapsed ( +- 0.10% )
- Loading branch information