Skip to content

Instantly share code, notes, and snippets.

@AndreasPK
Created October 15, 2019 16:50
Show Gist options
  • Save AndreasPK/14bd8376fb48e27b0858d57270e2a956 to your computer and use it in GitHub Desktop.
Save AndreasPK/14bd8376fb48e27b0858d57270e2a956 to your computer and use it in GitHub Desktop.
ghc performance diffs 8.6.5 vs 8.8 vs 8.10*(patch branch)
Andi@Horzube MINGW64 /e/pan-os-syslog
$ cabal new-run bench -w /e/ghc_layout/_quick/stage1/bin/ghc.exe --allow-newer="*"
Up to date
benchmarking 8-1-Traffic-A ...
benchmarked 8-1-Traffic-A
time 626.4 ns (611.3 ns .. 647.4 ns)
0.987 R² (0.971 R² .. 0.997 R²)
mean 618.7 ns (610.2 ns .. 634.3 ns)
std dev 38.10 ns (25.20 ns .. 65.38 ns)
variance introduced by outliers: 39% (moderately inflated)
benchmarking 8-1-Threat-A ...
benchmarked 8-1-Threat-A
time 689.7 ns (655.7 ns .. 722.5 ns)
0.975 R² (0.950 R² .. 0.991 R²)
mean 710.9 ns (690.7 ns .. 742.3 ns)
std dev 83.69 ns (51.17 ns .. 123.4 ns)
variance introduced by outliers: 70% (severely inflated)
benchmarking 8-1-Threat-B ...
benchmarked 8-1-Threat-B
time 779.2 ns (747.3 ns .. 815.3 ns)
0.989 R² (0.984 R² .. 0.996 R²)
mean 765.3 ns (753.8 ns .. 778.1 ns)
std dev 40.27 ns (32.54 ns .. 51.08 ns)
variance introduced by outliers: 31% (moderately inflated)
benchmarking 8-1-Threat-C ...
benchmarked 8-1-Threat-C
time 696.0 ns (665.5 ns .. 742.6 ns)
0.970 R² (0.944 R² .. 0.995 R²)
mean 684.7 ns (669.8 ns .. 707.4 ns)
std dev 60.04 ns (40.90 ns .. 81.60 ns)
variance introduced by outliers: 57% (severely inflated)
Andi@Horzube MINGW64 /e/pan-os-syslog
$ cabal new-run bench -w /e/ghc-8.8.1/bin/ghc.exe
Resolving dependencies...
Up to date
benchmarking 8-1-Traffic-A ...
benchmarked 8-1-Traffic-A
time 768.5 ns (740.1 ns .. 808.8 ns)
0.969 R² (0.940 R² .. 0.992 R²)
mean 776.2 ns (755.1 ns .. 822.7 ns)
std dev 98.41 ns (56.85 ns .. 174.8 ns)
variance introduced by outliers: 73% (severely inflated)
benchmarking 8-1-Threat-A ...
benchmarked 8-1-Threat-A
time 841.3 ns (819.2 ns .. 861.5 ns)
0.988 R² (0.976 R² .. 0.996 R²)
mean 856.3 ns (839.2 ns .. 886.0 ns)
std dev 69.06 ns (44.81 ns .. 103.7 ns)
variance introduced by outliers: 51% (severely inflated)
benchmarking 8-1-Threat-B ...
benchmarked 8-1-Threat-B
time 983.7 ns (943.5 ns .. 1.039 us)
0.977 R² (0.949 R² .. 0.996 R²)
mean 1.007 us (979.7 ns .. 1.066 us)
std dev 127.6 ns (71.74 ns .. 203.1 ns)
variance introduced by outliers: 74% (severely inflated)
benchmarking 8-1-Threat-C ...
benchmarked 8-1-Threat-C
time 815.5 ns (790.1 ns .. 851.9 ns)
0.986 R² (0.970 R² .. 0.997 R²)
mean 803.7 ns (792.4 ns .. 823.9 ns)
std dev 49.05 ns (31.78 ns .. 74.23 ns)
variance introduced by outliers: 38% (moderately inflated)
Andi@Horzube MINGW64 /e/pan-os-syslog
$ cabal new-run bench #this is 8.6.5
Resolving dependencies...
Up to date
benchmarking 8-1-Traffic-A ...
benchmarked 8-1-Traffic-A
time 677.6 ns (631.9 ns .. 726.3 ns)
0.973 R² (0.959 R² .. 0.991 R²)
mean 669.4 ns (650.5 ns .. 708.8 ns)
std dev 85.98 ns (49.52 ns .. 154.9 ns)
variance introduced by outliers: 73% (severely inflated)
benchmarking 8-1-Threat-A ...
benchmarked 8-1-Threat-A
time 768.6 ns (712.9 ns .. 852.8 ns)
0.886 R² (0.775 R² .. 0.987 R²)
mean 745.6 ns (720.2 ns .. 806.4 ns)
std dev 121.1 ns (63.49 ns .. 242.5 ns)
variance introduced by outliers: 82% (severely inflated)
benchmarking 8-1-Threat-B ...
benchmarked 8-1-Threat-B
time 803.0 ns (758.1 ns .. 858.6 ns)
0.964 R² (0.928 R² .. 0.989 R²)
mean 831.4 ns (808.4 ns .. 870.6 ns)
std dev 97.79 ns (60.60 ns .. 153.1 ns)
variance introduced by outliers: 70% (severely inflated)
benchmarking 8-1-Threat-C ...
benchmarked 8-1-Threat-C
time 697.0 ns (653.8 ns .. 743.8 ns)
0.982 R² (0.968 R² .. 0.994 R²)
mean 718.5 ns (697.6 ns .. 777.7 ns)
std dev 104.6 ns (46.36 ns .. 200.7 ns)
variance introduced by outliers: 78% (severely inflated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment