Skip to content

Core modules for a blazing fast markup combinator library

License

Notifications You must be signed in to change notification settings

Bodigrim/blaze-markup

 
 

Repository files navigation

blaze-markup

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

Name Before, μs After, μs Ratio
bigTable 3281.51 1641.01 0.500
basic 13.77 7.66 0.556
wideTree 4230.64 2192.20 0.518
wideTreeEscaping 818.71 354.08 0.432
deepTree 787.10 388.89 0.494
manyAttributes 2903.38 1480.55 0.510
customAttribute 5401.18 2944.69 0.545
Geometric mean 0.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

About

Core modules for a blazing fast markup combinator library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 95.9%
  • Ruby 1.7%
  • Makefile 1.6%
  • PHP 0.8%