-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve memory&cpu consumption (#22)
Enhancement #22 improve memory&cpu consumption (#22) * parser_test: ReportAllocs * reader: avoid memory escape and unsafe byte to string * types: do not malloc base type * types: batch allocate StackFrame * batch allocate constants * cache typeFn in ClassMetadata * checkpoint: preallocate class * preallocate StackTrace field Frames * preallocate StackFrame * stream chunk reader and cache event * classes store pointer to ClassMetadata * types: enhancement range class.Fields * types: remove useless resolve * checkpoint: fix preallocate StackTrace field Frames * checkpoint: fix preallocate StackTrace field Frames * let unsafeByteToString configurable * move parseBaseTypeAndDrops global and add test * fix conflict * add async-profiler test * fix example_parsed.json.gz * fix getPointerToStackFrames * move unsafeByteToString into ChunkParseOptions * modify README.md
- Loading branch information
1 parent
222d698
commit e11aad6
Showing
16 changed files
with
1,110 additions
and
778 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
Oops, something went wrong.