Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve benchmarks for small Builders #680

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

clyring
Copy link
Member

@clyring clyring commented Jun 5, 2024

...separated out from #569. The main improvement is that this separates the buffer allocation cost (which is similar for all Builders) from the actual write/encoding cost.

   * Do not measure the overhead of allocating destination chunks
   * Add several more benchmarks for P.cstring and P.cstringUtf8
@clyring clyring merged commit a41622f into haskell:master Jun 5, 2024
25 of 26 checks passed
Bodigrim pushed a commit that referenced this pull request Oct 9, 2024
* Improve benchmarks for small Builders

   * Do not measure the overhead of allocating destination chunks
   * Add several more benchmarks for P.cstring and P.cstringUtf8

* More benchmark fiddling

* Update "since" markers for new NFData instances
Bodigrim pushed a commit that referenced this pull request Oct 15, 2024
* Improve benchmarks for small Builders

   * Do not measure the overhead of allocating destination chunks
   * Add several more benchmarks for P.cstring and P.cstringUtf8

* More benchmark fiddling

* Update "since" markers for new NFData instances
@Bodigrim Bodigrim added this to the 0.12.2.0 milestone Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants