blaze-markup

October 14, 2024 · View on GitHub

This is an experimental fork of blaze-markup to demonstrate performance benefits of text-builder-linear:

NameBefore, μsAfter, μsRatio
bigTable3281.511641.010.500
basic13.777.660.556
wideTree4230.642192.200.518
wideTreeEscaping818.71354.080.432
deepTree787.10388.890.494
manyAttributes2903.381480.550.510
customAttribute5401.182944.690.545
Geometric mean0.507

What

The core modules to build a blazingly fast markup combinator library such as blaze-html. Most applications should not use this package directly.

Development

Running the tests:

cabal configure --enable-tests && cabal build && cabal test

Running the benchmarks:

make benchmark

Credits

Authors:

  • Jasper Van der Jeugt
  • Simon Meier
  • Deepak Jois