git.iko.soy/typeable/attoparsec
on master help sign in
More scan benchmarks
commitaa3ef165ca7c5c914340f654bdc6c7bf059ec316 authorJohan Tibell <johan.tibell@gmail.com> dateTue 13 Nov 2012, 17:17 (14 years ago) parent5603f29
1 file changed+4−1
benchmarks/Benchmarks.hs+4−1
benchmarks/Benchmarks.hs+4−1
@@ -75,7 +75,10 @@ main = do
7575 , bench "isAlpha_iso8859_15" $ nf (ABL.parse (AC.takeWhile AC.isAlpha_iso8859_15)) bl
7676 ]
7777 , bench "word32LE" $ nf (AB.parse word32LE) b
78− , bench "scan" $ nf (AB.parse quotedString) b
78+ , bgroup "scan" [
79+ bench "short" $ nf (AB.parse quotedString) (BC.pack "abcdefghijk\"")
80+ , bench "long" $ nf (AB.parse quotedString) b
81+ ]
7982 ]
8083
8184-- Benchmarks bind and (potential) bounds-check merging.