Draft
Conversation
With larger enums, this can provide a significant performance boost [Changed] Lazy format enums in CTF Change-Id: Icb85752a6b05cf2df0bef9ac322582035c1ff029 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Change-Id: I4f4b8960fd9933c80d182c80548fc4cc66e06ce8 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Speeds up trace reading by ~5-10%. The concurrent hashmap was used to avoid contention. But the function is stable A will always produce B. So we can use a normal hashmap. [Changed] speed up ctf parsing of lexical scopes Change-Id: I75f4b68de08c43f8ccb11a6fb6cc19c2e7d02f1e Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
This accelerates trace reading when you have more streams, it appears to peak in performance when you have 2n streams where n is the number of cpus. Change-Id: I621d98ff18506a1b3e5c66a553b7464d7f28af0f Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Speeds up to O(1) for most cases Change-Id: Ib5a634f19cbf5ec669d37bfd497cc2252964bf72 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Contributor
Author
|
don't review, check it out ;) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is to share the work, not yet for merge