-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Read debug info in streaming / chunks
Rather than allocating space to store it all in memory. This was done like this before as during prototyping I did not know if reqwest would also do this or stream the file. I've since memory profiled reqwest and checked its source code and it doesn't keep the whole body in memory. Test Plan ========= Manually checked that it continues to work and that the file is read in chunks with a memory profiler (heaptrack).
- Loading branch information
1 parent
12eb4f1
commit 474cbbc
Showing
2 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters