-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/vm: avoid memory expansion check for trivial ops (#24048)
commit ethereum/go-ethereum@155795b. This moves the memorySize and memory resize into dynamicGas branch based on the assumption that an opcode that have memorySize function will have dynamicGas function. goos: linux goarch: amd64 pkg: github.com/ethereum/go-ethereum/core/vm cpu: AMD EPYC 7763 64-Core Processor │ old.txt │ new.txt │ │ sec/op │ sec/op vs base │ EvmInsertionSort-4 77.40m ± 13% 74.33m ± 5% -3.97% (p=0.007 n=10) EvmQuickSort-4 4.952m ± 1% 4.766m ± 1% -3.76% (p=0.000 n=10) EvmSignatureValidation-4 11.36µ ± 3% 11.04µ ± 1% -2.78% (p=0.000 n=10) EvmMulticallErcTransfer-4 4.625m ± 1% 4.529m ± 2% -2.07% (p=0.003 n=10) EvmRedBlackTree-4 223.8m ± 2% 215.3m ± 3% -3.82% (p=0.001 n=10) geomean 5.380m 5.203m -3.28%
- Loading branch information
Showing
2 changed files
with
57 additions
and
40 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