You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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% )
0 commit comments