go-ethereum/core
cuiweixie 54498a3504 core: precompute precompiles in create evm instead of compute it each time
name                                    old time/op    new time/op    delta
SimpleLoop/staticcall-identity-100M-10     134ms ± 1%     131ms ± 0%  -2.60%  (p=0.000 n=17+18)
SimpleLoop/call-identity-100M-10           158ms ± 1%     157ms ± 2%  -1.00%  (p=0.000 n=20+20)
SimpleLoop/loop-100M-10                    200ms ± 1%     197ms ± 1%  -1.43%  (p=0.000 n=16+19)
SimpleLoop/call-nonexist-100M-10           504ms ± 0%     508ms ± 0%  +0.82%  (p=0.000 n=16+20)
SimpleLoop/call-EOA-100M-10                147ms ± 2%     148ms ± 4%    ~     (p=0.060 n=20+20)
SimpleLoop/call-reverting-100M-10          330ms ± 0%     329ms ± 0%  -0.30%  (p=0.003 n=18+16)

name                                    old alloc/op   new alloc/op   delta
SimpleLoop/staticcall-identity-100M-10    21.9MB ± 0%    21.9MB ± 0%    ~     (p=0.219 n=20+20)
SimpleLoop/call-identity-100M-10          21.5MB ± 0%    21.5MB ± 0%    ~     (p=0.140 n=20+20)
SimpleLoop/loop-100M-10                   2.73kB ±13%    2.70kB ±14%    ~     (p=0.764 n=20+20)
SimpleLoop/call-nonexist-100M-10           102MB ± 0%     102MB ± 0%    ~     (p=0.723 n=20+20)
SimpleLoop/call-EOA-100M-10               23.9MB ± 0%    23.9MB ± 0%    ~     (p=0.797 n=20+19)
SimpleLoop/call-reverting-100M-10          240MB ± 0%     240MB ± 0%    ~     (p=0.409 n=18+20)

name                                    old allocs/op  new allocs/op  delta
SimpleLoop/staticcall-identity-100M-10      685k ± 0%      685k ± 0%    ~     (p=0.146 n=20+20)
SimpleLoop/call-identity-100M-10            671k ± 0%      671k ± 0%    ~     (p=0.221 n=20+20)
SimpleLoop/loop-100M-10                     26.6 ± 5%      26.5 ± 6%    ~     (p=1.000 n=20+20)
SimpleLoop/call-nonexist-100M-10           2.24M ± 0%     2.24M ± 0%    ~     (p=0.973 n=20+20)
SimpleLoop/call-EOA-100M-10                 746k ± 0%      746k ± 0%    ~     (p=0.947 n=20+20)
SimpleLoop/call-reverting-100M-10          5.00M ± 0%     5.00M ± 0%    ~     (p=0.225 n=18+20)
2024-02-22 22:28:19 +08:00
..
asm eth/tracers/js: fix isPush for push0 (#28520) 2023-11-14 13:14:38 +01:00
bloombits core: fix typos (#28218) 2023-09-29 10:52:22 +03:00
forkid params, core/forkid: add mainnet timestamp for Cancun (#28958) 2024-02-08 19:36:38 +01:00
rawdb all: fix typos in comments (#28881) 2024-02-05 22:16:32 +01:00
state core,eth,internal: fix typo (#29024) 2024-02-20 19:42:48 +08:00
txpool core/txpool: fix typo (#29036) 2024-02-21 10:00:01 +02:00
types core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
vm core: precompute precompiles in create evm instead of compute it each time 2024-02-22 22:28:19 +08:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
block_validator.go core/types: support for optional blob sidecar in BlobTx (#27841) 2023-08-14 10:13:34 +02:00
block_validator_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
blockchain.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
blockchain_insert.go core, eth, trie: expose more detailed dirty ram tracking for diff layers (#27971) 2023-08-23 14:08:39 +03:00
blockchain_reader.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
blockchain_repair_test.go core/rawdb, ethdb/pebble: avoid fsync db in tests (#27836) 2023-08-23 20:43:55 +02:00
blockchain_sethead_test.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
blockchain_snapshot_test.go core/rawdb, ethdb/pebble: avoid fsync db in tests (#27836) 2023-08-23 20:43:55 +02:00
blockchain_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
blocks.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
bloom_indexer.go core: preallocate batch size in bloomIndexer (#25289) 2022-08-03 17:02:09 +02:00
chain_indexer.go core,console: replace noarg fmt.Errorf with errors.New (#27332) 2023-05-25 08:24:09 -04:00
chain_indexer_test.go core: fix potential race in chainIndexerTest (#22346) 2021-03-19 13:32:57 +01:00
chain_makers.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
chain_makers_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
dao_test.go all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00
error.go internal/ethapi: handle blobs in API methods (#28786) 2024-01-17 15:06:14 +01:00
events.go eth/filters: remove use of event.TypeMux for pending logs (#20312) 2019-12-10 12:39:14 +01:00
evm.go all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
forkchoice.go core: clarify code in forkchoice (#26257) 2022-11-28 11:07:25 +01:00
gaspool.go core, miner: revert block gas counter in case of invalid transaction (#26799) 2023-03-07 05:23:52 -05:00
gen_genesis.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
genesis.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
genesis_alloc.go cmd, core, params: add support for the Holesky testnet (#28007) 2023-08-25 18:11:40 +03:00
genesis_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
headerchain.go all: remove ethash pow, only retain shims needed for consensus and tests (#27178) 2023-05-03 12:58:39 +03:00
headerchain_test.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
mkalloc.go cmd, core, params: add support for the Holesky testnet (#28007) 2023-08-25 18:11:40 +03:00
rlp_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
sender_cacher.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
state_prefetcher.go core/types, params: add blob transaction type, RLP encoded for now (#27049) 2023-04-21 12:52:02 +03:00
state_processor.go all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
state_processor_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
state_transition.go core/txpool: fix typo (#29036) 2024-02-21 10:00:01 +02:00
txindexer.go core: cache transaction indexing tail in memory (#28908) 2024-02-06 10:44:42 +08:00
txindexer_test.go core: move genesis alloc types to core/types (#29003) 2024-02-16 19:05:33 +01:00
types.go core: use atomic type (#27011) 2023-03-30 06:53:32 -04:00