Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 10, 2011
Commits on Dec 26, 2010
  1. implemented fast Base64 encoding

      - based on a 'Write' to 'Put' combinator for the block-wise
        consumption of a strict bytestring.
      - speed is currently 2x bytestring-base64- implementation
Commits on Dec 23, 2010
Commits on Dec 11, 2010
Commits on Nov 28, 2010
  1. yet another trie on unboxed continuation calls

      - not successful: twice as slow, than BufRange construction. Sadly, I
        don't know why. Perhaps a GHC expert can explain the cause.
        => I'll write the interface of the internal library abstract enough
           such that a change like this would still be possible without
           modifying user code.
Commits on Nov 25, 2010
  1. generalized write type

      - currently it is a tad slower because it boxes the returned
        next pointer and computes the new address lazily *grr*
        Going to change that!
Commits on Nov 21, 2010
  1. benchmarking using a packed buffer range for builder

      - use 'BR pf pe' instead of curried 'pf pe' calls for continuation.
        The effect is small but measurable for the Builder (1%).
        Nevertheless, I'd suggest taking it in, as it also reduces the
        chance for coding errors.
  2. easy switching between GHC versions

      - put append is also (30%) slower than builder append on
        GHC 7.0.1 (rc1)
  3. benchmarking of Put monad vs. Builder monoid

      - put append is roughly 30% (!) more expensive than builder append
        on GHC 6.12.3
Commits on Nov 18, 2010
  1. implemented simple server

      allows benchmarking the best way to execute a builder to send
      its corresponding sequence of bytes over the network.
      => toLazyByteString and sending of its chunks is quite good. Not
         building the lazy bytestring gives only a very small advantage.
Commits on Nov 14, 2010
Commits on Nov 4, 2010
Commits on Oct 16, 2010
  1. Merge branch 'master' into feature-plot-benchmarks

    import new 'toStrictByteString' function
Commits on Oct 6, 2010
  1. made ghc version easier to configure in benchmarks

Commits on Oct 5, 2010
Commits on Sep 28, 2010
  1. test buffer wrapping behaviour

Commits on Sep 26, 2010
Commits on Sep 25, 2010
  1. 'zlib' compression benchmark added

       * benchmarking the effect of compacting the input stream before
         compression => worth it up to chunk sizes of 2kb
Commits on Sep 23, 2010
Commits on Sep 22, 2010
  1. ported throughput benchmark from 'binary'

      * comparing Data.Binary.Builder, Data.Binary.Put, Text.Blaze.Builder,
        and Text.Blaze.Put (based on the blaze-builder)
      => on a Core 2 Duo 32 bit - Text.Blaze.Builder almost always wins
  2. implemented and benchmarked chunked writing of lists

      * for Word8 and Word32 writing chunks of 8 at once is fastest
        on a Core 2 Duo running 32bit Linux
      * for utf-8 encoding a Char writing chunks has a negative impact
        on the blaze-html benchmarks
Commits on Aug 4, 2010
  1. @jaspervdj
  2. @jaspervdj

    Add tests file

    jaspervdj authored
  3. @jaspervdj
Something went wrong with that request. Please try again.