perf(levm): change accessed_storage_slots from btree to fxhashmap #5762
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.
Motivation
Perf experiment, change btree to fxhash
Closes #5757
I would say there is no relevant change in performance
Improvements
CODECOPY(fixed src/dst, 0.25× max code size): ~1.19× fasterMOD(various bit widths): ~1.08–1.12× fasterDIV: ~1.11× fasterCALLDATACOPY(various non-zero data patterns): ~1.09–1.11× fasterRegressions
CALLDATACOPY(other data/layout patterns): ~1.19–1.22× slowerJUMPDESTanalysis: ~1.17× slowerJUMPDESTS: ~1.14× slowerRETURNDATACOPY: ~1.14× slowerCODECOPY(fixed src/dst, 0.75× max code size): ~1.14× slowerCALLDATASIZE(various lengths): ~1.12–1.13× slowerSWAP1: ~1.12× slower