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

Malt-webview can now process json greater than 512 MB #105

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

bernarda78
Copy link
Contributor

After profiling some huge code base I ended up being unable to view the profiling done by Malt due to my file being close to 1 GB.

This PR changes the way the file is read, and uses streams to

It was tested on my 1 GB file and it works fine. Obviously (?) the web interface is a bit less responsive and need to be refreshed for everything to appear cleanly.

I updated the README in accordance.

/!\ Disclaimer : this is my first time writing NodeJS so feel free to improve it.

Feel free to ask if I need to change anything to allow for this PR.

Antoine Bernard added 3 commits July 25, 2024 17:46
This allows us to load big json files (i.e. greater than 512 MB) using
the big-json package.
 + update the README.md of the project with information related to big
   files
 + fixed a typo in the manpages
 + The state of the repository was obtained with the command `npm
   install --no-package-lock --save big-json`
@svalat
Copy link
Member

svalat commented Aug 9, 2024

Thanks for fixing this issue, I encountered it a long time ago.

I merge you PR.

@svalat svalat merged commit 6d7006a into memtt:master Aug 9, 2024
1 check passed
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