http://www.schwedenurlaub.com/ferienhaus-kvarntorpet-schweden-soedermanland-mariefred-1991
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running 1 benchmarks... | |
Benchmark benchmarks: RUNNING... | |
warming up | |
estimating clock resolution... | |
mean is 1.272820 us (640001 iterations) | |
found 155815 outliers among 639999 samples (24.3%) | |
4 (6.3e-4%) low severe | |
155811 (24.3%) high severe | |
estimating cost of a clock call... | |
mean is 34.57473 ns (12 iterations) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running 1 benchmarks... | |
Benchmark benchmarks: RUNNING... | |
warming up | |
estimating clock resolution... | |
mean is 1.357818 us (640001 iterations) | |
found 3790 outliers among 639999 samples (0.6%) | |
3077 (0.5%) high severe | |
estimating cost of a clock call... | |
mean is 35.68071 ns (12 iterations) | |
found 2 outliers among 12 samples (16.7%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- inspired by: http://scrollingtext.org/project-euler-problem-14 | |
-- executing main takes 5 sec in ghci | |
-- 0.7 sec when compiled with -O | |
import qualified Data.Vector as V | |
n :: Integer | |
n = 1000000 | |
cacheSize :: Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benchmarked against: https://github.com/meiersi/blaze-binary/commit/d2bc3f004f608ebdd1eece624f288a263753bb36 | |
and https://github.com/kolmodin/binary/commit/abbf46373620b45caca64e1072b300379e9c0fa1 | |
warming up | |
estimating clock resolution... | |
mean is 1.466016 us (640001 iterations) | |
found 3590 outliers among 639999 samples (0.6%) | |
2943 (0.5%) high severe | |
estimating cost of a clock call... | |
mean is 36.12254 ns (13 iterations) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Copyright : (c) 2012 Michael Snoyman, Simon Meier | |
-- License : BSD3-style (see LICENSE) | |
-- | |
-- Maintainer : Simon Meier <iridcode@gmail.com> | |
-- Stability : experimental | |
-- Portability : tested on GHC only | |
-- | |
-- Benchmark hexadecimal encoding speed. Use the preview repository of the new | |
-- bytestring builder to test this code: | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | | |
-- Copyright : (c) 2012 Simon Meier | |
-- License : BSD3-style (see LICENSE) | |
-- | |
-- Maintainer : Simon Meier <iridcode@gmail.com> | |
-- Stability : experimental | |
-- Portability : tested on GHC only | |
-- | |
-- Benchmark decimal encoding speed of 10 million integers. | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
└─╼ ./cabal-dev/bin/cereal-bench | |
Sanity checks: | |
lengths of input data: [11,11,11,11,11,11,11] | |
cereal :/[Int]: 96 | |
binary :/[Int]: 96 | |
new builder :/[Int]: 100 | |
new builder2:/[Int]: 96 | |
cereal :/[String]: 138 | |
binary :/[String]: 138 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./dist/build/bench-bytestring-builder/bench-bytestring-builder snoyman | |
Sanity checks: | |
lengths of input data: [10001,10001,10001,10001,10001,10001,10001] | |
warming up | |
estimating clock resolution... | |
mean is 5.480878 us (160001 iterations) | |
found 3843 outliers among 159999 samples (2.4%) | |
3403 (2.1%) high severe | |
estimating cost of a clock call... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benchmarking decode/en/aeson | |
mean: 1.549123 ms, lb 1.519203 ms, ub 1.589703 ms, ci 0.950 | |
std dev: 177.1128 us, lb 137.1106 us, ub 225.7957 us, ci 0.950 | |
found 10 outliers among 100 samples (10.0%) | |
3 (3.0%) high mild | |
7 (7.0%) high severe | |
variance introduced by outliers: 83.157% | |
variance is severely inflated by outliers |
NewerOlder