Skip to content

Dump JSON directly to file instead of buffering#315

Merged
ChrisBr merged 1 commit intoShopify:mainfrom
skipkayhil:hm-dump-to-file
Mar 17, 2025
Merged

Dump JSON directly to file instead of buffering#315
ChrisBr merged 1 commit intoShopify:mainfrom
skipkayhil:hm-dump-to-file

Conversation

@skipkayhil
Copy link
Contributor

Buffering the whole string will use much more memory, and for large test suites with lots of failures the reporter is more likely to OOM.

Buffering the whole string will use much more memory, and for large test
suites with lots of failures the reporter is more likely to OOM.
Copy link
Contributor

@ChrisBr ChrisBr left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Any reason for this?

@ChrisBr ChrisBr merged commit eed9f38 into Shopify:main Mar 17, 2025
1 check passed
@skipkayhil skipkayhil deleted the hm-dump-to-file branch December 10, 2025 18:36
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