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

Added file write benchmarks #585

Merged
merged 8 commits into from
May 7, 2024

Conversation

BebeSparkelSparkel
Copy link
Contributor

In preparation for #446

@BebeSparkelSparkel BebeSparkelSparkel marked this pull request as draft April 23, 2024 16:15
benchmarks/haskell/Benchmarks/FileWrite.hs Outdated Show resolved Hide resolved
benchmarks/haskell/Benchmarks.hs Outdated Show resolved Hide resolved
Copy link
Contributor

@Bodigrim Bodigrim left a comment

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?

benchmarks/haskell/Benchmarks/FileWrite.hs Outdated Show resolved Hide resolved
benchmarks/haskell/Benchmarks/FileWrite.hs Outdated Show resolved Hide resolved
benchmarks/haskell/Benchmarks/FileWrite.hs Outdated Show resolved Hide resolved
@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
Copy link
Contributor Author

BebeSparkelSparkel commented Apr 30, 2024

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
@Bodigrim
Copy link
Contributor

Bodigrim commented May 5, 2024

@Lysxia good to go?

Copy link
Contributor

@Lysxia Lysxia left a comment

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
27 checks passed
@Bodigrim
Copy link
Contributor

Bodigrim commented May 7, 2024

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