1. Bryan O'Sullivan
  2. text

Commits

Bryan O'Sullivan  committed 569aa55

Add a String benchmark.

  • Participants
  • Parent commits 1111ad9
  • Branches default

Comments (0)

Files changed (1)

File tests/benchmarks/src/Data/Text/Benchmarks/Equality.hs

View file
  • Ignore whitespace
         B.readFile fp >>= evaluate . func . B.lines
     , bench "LazyByteString" $
         BL.readFile fp >>= evaluate . func . BL.lines
+    , bench "String" $
+        readFile fp >>= evaluate . func . lines
     ]
 
 -- | Frequency of most-appearing line (from the first 100 lines)