Skip to content

Instantly share code, notes, and snippets.

@patrickt
Created August 2, 2020 18:29
Show Gist options
  • Save patrickt/ac727d6e5ca9ee557c5b6ccb7115e26b to your computer and use it in GitHub Desktop.
Save patrickt/ac727d6e5ca9ee557c5b6ccb7115e26b to your computer and use it in GitHub Desktop.
benchmarked Error/Either
time 48.08 μs (47.20 μs .. 49.37 μs)
0.994 R² (0.989 R² .. 0.999 R²)
mean 47.06 μs (46.60 μs .. 47.64 μs)
std dev 1.740 μs (1.034 μs .. 2.432 μs)
variance introduced by outliers: 18% (moderately inflated)
benchmarked Error/Identity/Either.ErrorC
time 5.277 ms (4.860 ms .. 5.552 ms)
0.980 R² (0.969 R² .. 0.988 R²)
mean 5.094 ms (4.982 ms .. 5.208 ms)
std dev 333.4 μs (295.8 μs .. 386.7 μs)
variance introduced by outliers: 39% (moderately inflated)
benchmarked Error/Identity/ExceptT
time 4.806 ms (4.697 ms .. 4.959 ms)
0.988 R² (0.973 R² .. 0.994 R²)
mean 4.995 ms (4.889 ms .. 5.123 ms)
std dev 377.7 μs (306.7 μs .. 450.4 μs)
variance introduced by outliers: 43% (moderately inflated)
benchmarked Error/IO/Either.ErrorC
time 10.92 ms (10.82 ms .. 11.02 ms)
1.000 R² (0.999 R² .. 1.000 R²)
mean 10.89 ms (10.85 ms .. 10.94 ms)
std dev 122.3 μs (90.33 μs .. 180.6 μs)
benchmarked Error/IO/ExceptT
time 11.04 ms (10.86 ms .. 11.38 ms)
0.996 R² (0.990 R² .. 1.000 R²)
mean 11.01 ms (10.95 ms .. 11.17 ms)
std dev 259.7 μs (104.3 μs .. 454.6 μs)
benchmarked NonDet/N-queens problem/NonDet.Church/4
time 13.30 μs (13.27 μs .. 13.36 μs)
1.000 R² (0.999 R² .. 1.000 R²)
mean 13.28 μs (13.26 μs .. 13.32 μs)
std dev 108.7 ns (78.38 ns .. 150.2 ns)
benchmarked NonDet/N-queens problem/NonDet.Church/8
time 809.2 μs (805.0 μs .. 815.4 μs)
1.000 R² (0.999 R² .. 1.000 R²)
mean 805.5 μs (803.9 μs .. 807.8 μs)
std dev 6.893 μs (5.321 μs .. 10.31 μs)
benchmarking NonDet/N-queens problem/NonDet.Church/16 ... took 14.82 s, total 56 iterations
benchmarked NonDet/N-queens problem/NonDet.Church/16
time 268.7 ms (267.3 ms .. 269.7 ms)
1.000 R² (1.000 R² .. 1.000 R²)
mean 269.5 ms (269.1 ms .. 270.4 ms)
std dev 982.1 μs (364.2 μs .. 1.677 ms)
benchmarked NonDet/N-queens problem/[]/4
time 11.62 μs (11.55 μs .. 11.78 μs)
0.996 R² (0.988 R² .. 1.000 R²)
mean 11.62 μs (11.55 μs .. 11.80 μs)
std dev 362.8 ns (118.6 ns .. 731.8 ns)
variance introduced by outliers: 14% (moderately inflated)
benchmarked NonDet/N-queens problem/[]/8
time 762.0 μs (738.9 μs .. 793.7 μs)
0.989 R² (0.980 R² .. 0.995 R²)
mean 811.1 μs (799.4 μs .. 827.7 μs)
std dev 58.81 μs (50.95 μs .. 74.09 μs)
variance introduced by outliers: 47% (moderately inflated)
benchmarking NonDet/N-queens problem/[]/16 ... took 14.69 s, total 56 iterations
benchmarked NonDet/N-queens problem/[]/16
time 259.6 ms (257.1 ms .. 263.5 ms)
1.000 R² (0.999 R² .. 1.000 R²)
mean 271.7 ms (266.5 ms .. 284.5 ms)
std dev 13.47 ms (4.114 ms .. 21.26 ms)
benchmarked Reader/ask/(->)
time 24.05 μs (23.65 μs .. 24.90 μs)
0.991 R² (0.977 R² .. 0.999 R²)
mean 23.67 μs (23.51 μs .. 24.08 μs)
std dev 999.9 ns (538.7 ns .. 1.727 μs)
variance introduced by outliers: 22% (moderately inflated)
benchmarked Reader/ask/Identity/ReaderC
time 23.12 μs (23.02 μs .. 23.31 μs)
0.996 R² (0.988 R² .. 1.000 R²)
mean 23.34 μs (23.19 μs .. 23.64 μs)
std dev 836.3 ns (204.2 ns .. 1.570 μs)
variance introduced by outliers: 18% (moderately inflated)
benchmarked Reader/ask/Identity/ReaderT
time 25.54 μs (24.60 μs .. 26.45 μs)
0.992 R² (0.987 R² .. 0.997 R²)
mean 23.73 μs (23.46 μs .. 24.08 μs)
std dev 1.144 μs (826.7 ns .. 1.441 μs)
variance introduced by outliers: 27% (moderately inflated)
benchmarked Reader/ask/IO/ReaderC
time 45.77 μs (44.91 μs .. 46.98 μs)
0.993 R² (0.988 R² .. 0.997 R²)
mean 51.19 μs (50.21 μs .. 52.46 μs)
std dev 3.978 μs (3.415 μs .. 5.063 μs)
variance introduced by outliers: 51% (severely inflated)
benchmarked Reader/ask/IO/ReaderT
time 5.974 ms (5.759 ms .. 6.294 ms)
0.989 R² (0.982 R² .. 0.994 R²)
mean 6.329 ms (6.188 ms .. 6.467 ms)
std dev 393.3 μs (330.4 μs .. 488.6 μs)
variance introduced by outliers: 32% (moderately inflated)
benchmarked Reader/local/(->)
time 23.67 μs (23.29 μs .. 24.08 μs)
0.999 R² (0.998 R² .. 1.000 R²)
mean 23.50 μs (23.37 μs .. 23.67 μs)
std dev 497.1 ns (377.9 ns .. 670.7 ns)
benchmarked Reader/local/Identity/ReaderC
time 24.23 μs (23.78 μs .. 24.61 μs)
0.997 R² (0.992 R² .. 0.999 R²)
mean 23.77 μs (23.53 μs .. 24.03 μs)
std dev 753.0 ns (606.3 ns .. 951.2 ns)
variance introduced by outliers: 15% (moderately inflated)
benchmarked Reader/local/Identity/ReaderT
time 24.28 μs (23.80 μs .. 24.64 μs)
0.995 R² (0.987 R² .. 0.999 R²)
mean 24.18 μs (23.87 μs .. 24.96 μs)
std dev 1.476 μs (632.3 ns .. 2.825 μs)
variance introduced by outliers: 37% (moderately inflated)
benchmarked Reader/local/IO/ReaderC
time 49.59 μs (48.07 μs .. 52.33 μs)
0.986 R² (0.976 R² .. 0.995 R²)
mean 49.33 μs (48.64 μs .. 50.45 μs)
std dev 3.107 μs (2.395 μs .. 4.118 μs)
variance introduced by outliers: 40% (moderately inflated)
benchmarked Reader/local/IO/ReaderT
time 12.25 ms (11.52 ms .. 13.00 ms)
0.990 R² (0.983 R² .. 0.999 R²)
mean 11.40 ms (11.22 ms .. 11.62 ms)
std dev 491.4 μs (298.9 μs .. 821.8 μs)
variance introduced by outliers: 17% (moderately inflated)
benchmarked State/Identity/Lazy.StateC
time 56.39 μs (55.03 μs .. 58.44 μs)
0.989 R² (0.983 R² .. 0.995 R²)
mean 61.05 μs (59.80 μs .. 62.34 μs)
std dev 4.495 μs (4.022 μs .. 5.653 μs)
variance introduced by outliers: 49% (moderately inflated)
benchmarked State/Identity/Strict.StateC
time 55.66 μs (54.65 μs .. 57.66 μs)
0.992 R² (0.982 R² .. 0.999 R²)
mean 55.42 μs (54.86 μs .. 56.22 μs)
std dev 2.358 μs (1.535 μs .. 3.593 μs)
variance introduced by outliers: 23% (moderately inflated)
benchmarked State/Identity/Lazy.StateT
time 17.92 ms (16.96 ms .. 18.57 ms)
0.994 R² (0.989 R² .. 0.998 R²)
mean 17.37 ms (17.02 ms .. 17.80 ms)
std dev 971.4 μs (699.4 μs .. 1.295 ms)
variance introduced by outliers: 21% (moderately inflated)
benchmarked State/Identity/Strict.StateT
time 5.344 ms (5.070 ms .. 5.617 ms)
0.985 R² (0.980 R² .. 0.991 R²)
mean 5.923 ms (5.769 ms .. 6.078 ms)
std dev 462.6 μs (385.3 μs .. 588.4 μs)
variance introduced by outliers: 46% (moderately inflated)
benchmarked State/IO/Lazy.StateC
time 121.3 μs (117.2 μs .. 124.8 μs)
0.995 R² (0.993 R² .. 0.998 R²)
mean 118.1 μs (117.2 μs .. 119.2 μs)
std dev 3.468 μs (2.747 μs .. 4.558 μs)
variance introduced by outliers: 13% (moderately inflated)
benchmarked State/IO/Strict.StateC
time 123.1 μs (121.1 μs .. 125.3 μs)
0.998 R² (0.997 R² .. 0.999 R²)
mean 121.6 μs (120.5 μs .. 122.5 μs)
std dev 3.321 μs (2.894 μs .. 3.931 μs)
variance introduced by outliers: 11% (moderately inflated)
benchmarked State/IO/Lazy.StateT
time 15.87 ms (15.47 ms .. 16.58 ms)
0.996 R² (0.993 R² .. 0.999 R²)
mean 16.10 ms (15.96 ms .. 16.28 ms)
std dev 400.4 μs (316.0 μs .. 530.8 μs)
benchmarked State/IO/Strict.StateT
time 14.16 ms (13.72 ms .. 14.75 ms)
0.989 R² (0.975 R² .. 0.997 R²)
mean 15.12 ms (14.78 ms .. 15.58 ms)
std dev 1.007 ms (763.9 μs .. 1.402 ms)
variance introduced by outliers: 31% (moderately inflated)
benchmarking Writer/(,) w ... took 8.965 s, total 56 iterations
benchmarked Writer/(,) w
time 171.2 ms (163.1 ms .. 181.1 ms)
0.997 R² (0.995 R² .. 0.999 R²)
mean 159.0 ms (155.6 ms .. 163.7 ms)
std dev 6.802 ms (5.629 ms .. 8.923 ms)
benchmarked Writer/Identity/Strict.WriterC
time 481.9 μs (475.1 μs .. 490.0 μs)
0.999 R² (0.998 R² .. 0.999 R²)
mean 479.2 μs (475.9 μs .. 484.1 μs)
std dev 14.29 μs (10.79 μs .. 21.01 μs)
variance introduced by outliers: 13% (moderately inflated)
benchmarking Writer/Identity/Lazy.WriterT ... took 7.875 s, total 56 iterations
benchmarked Writer/Identity/Lazy.WriterT
time 151.9 ms (148.2 ms .. 155.3 ms)
0.999 R² (0.999 R² .. 1.000 R²)
mean 137.3 ms (128.9 ms .. 141.9 ms)
std dev 10.67 ms (6.212 ms .. 15.48 ms)
variance introduced by outliers: 19% (moderately inflated)
benchmarking Writer/Identity/Strict.WriterT ... took 9.514 s, total 56 iterations
benchmarked Writer/Identity/Strict.WriterT
time 180.3 ms (173.8 ms .. 186.4 ms)
0.999 R² (0.997 R² .. 1.000 R²)
mean 168.2 ms (163.4 ms .. 172.8 ms)
std dev 7.876 ms (5.497 ms .. 11.06 ms)
benchmarked Writer/IO/Strict.WriterC
time 2.399 ms (2.385 ms .. 2.427 ms)
0.998 R² (0.993 R² .. 1.000 R²)
mean 2.426 ms (2.411 ms .. 2.448 ms)
std dev 65.93 μs (34.36 μs .. 108.4 μs)
variance introduced by outliers: 11% (moderately inflated)
benchmarking Writer/IO/Lazy.WriterT ... took 53.55 s, total 56 iterations
benchmarked Writer/IO/Lazy.WriterT
time 1.112 s (1.041 s .. 1.199 s)
0.993 R² (0.987 R² .. 0.999 R²)
mean 919.5 ms (848.2 ms .. 984.3 ms)
std dev 106.2 ms (83.67 ms .. 127.5 ms)
variance introduced by outliers: 38% (moderately inflated)
benchmarking Writer/IO/Strict.WriterT ... took 67.63 s, total 56 iterations
benchmarked Writer/IO/Strict.WriterT
time 1.259 s (1.132 s .. 1.337 s)
0.992 R² (0.979 R² .. 0.999 R²)
mean 1.220 s (1.193 s .. 1.250 s)
std dev 51.79 ms (36.55 ms .. 69.11 ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment