Skip to content

Added file write benchmarks#585

Merged
Bodigrim merged 8 commits into
haskell:masterfrom
BebeSparkelSparkel:filewrite-bench
May 7, 2024
Merged

Added file write benchmarks#585
Bodigrim merged 8 commits into
haskell:masterfrom
BebeSparkelSparkel:filewrite-bench

Conversation

@BebeSparkelSparkel

Copy link
Copy Markdown
Contributor

In preparation for #446

@BebeSparkelSparkel BebeSparkelSparkel marked this pull request as draft April 23, 2024 16:15
Comment thread benchmarks/haskell/Benchmarks/FileWrite.hs Outdated
Comment thread benchmarks/haskell/Benchmarks.hs Outdated

@Bodigrim Bodigrim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please fix CI for GHC 8.2?

Comment thread benchmarks/haskell/Benchmarks/FileWrite.hs Outdated
Comment thread benchmarks/haskell/Benchmarks/FileWrite.hs Outdated
Comment thread benchmarks/haskell/Benchmarks/FileWrite.hs Outdated
@BebeSparkelSparkel BebeSparkelSparkel marked this pull request as ready for review April 30, 2024 14:44
@Bodigrim Bodigrim requested a review from Lysxia April 30, 2024 20:07
@BebeSparkelSparkel BebeSparkelSparkel marked this pull request as draft April 30, 2024 20:22
@BebeSparkelSparkel

BebeSparkelSparkel commented Apr 30, 2024

Copy link
Copy Markdown
Contributor Author

Need to add tests for lazy bytestring will small chunk size. Not finished yet.

@BebeSparkelSparkel BebeSparkelSparkel marked this pull request as ready for review May 1, 2024 21:05
Comment thread benchmarks/haskell/Benchmarks/FileWrite.hs Outdated
@Bodigrim

Bodigrim commented May 5, 2024

Copy link
Copy Markdown
Contributor

@Lysxia good to go?

@Lysxia Lysxia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is good to go.

I was just confused about how to interpret the results to justify an optimization to putStr in PR #589. See this thread on an earlier version of it).

But these benchmarks are still useful in general to keep track of performance improvements to printing Text.

@Bodigrim Bodigrim merged commit bd15593 into haskell:master May 7, 2024
@Bodigrim

Bodigrim commented May 7, 2024

Copy link
Copy Markdown
Contributor

Thanks @BebeSparkelSparkel!

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.

3 participants