haskell-prettyprinter / haskell-prettyprinter/prettyprinter

Add benchmarks for layoutSmart

Open
#118 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
309
Forks
43
Avg merge
21h 25m
Merged PRs (30d)
1

Description

Currently I often rely on the example from https://github.com/dhall-lang/dhall-haskell/issues/1496#issuecomment-549003609 – it would be nice if something similar was available in the benchmark suite…

A first step might be to extend `large-output` to use `layoutSmart` but so far I'm under the impression that it wouldn't exercise `layoutSmart` very well – timings are very similar to `layoutPretty`.

https://github.com/quchen/prettyprinter/blob/ff555e19b7b17a74f16e6fb062256a57dabe4d92/prettyprinter/bench/LargeOutput.hs#L189-L195

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.