2{-# LANGUAGE NoImplicitPrelude #-}
3{-# LANGUAGE ScopedTypeVariables #-}
5module Main (main) where
9import Compare.BufferBuilder ()
11import Data.BufferBuilder.Json
13import Twitter.Manual ()
15import qualified Data.Aeson as Aeson
16import qualified Compare.JsonBench as JsonBench
18#ifdef MIN_VERSION_json_builder
19import Data.Json.Builder
20import Compare.JsonBuilder ()
26 env (load "json-data/twitter100.json") $ \ ~(twtr :: Result) ->
28 bench "aeson" $ nf Aeson.encode twtr
29 , bench "buffer-builder" $ nf encodeJson twtr
30#ifdef MIN_VERSION_json_builder
31 , bench "json-builder" $ nf toJsonLBS twtr
34 , JsonBench.benchmarks
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list