Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin HS
e4dbd5f685
eth/tracers/js: avoid compiling js bigint when not needed ( #30640 )
...
While looking at some mem profiles from `evm` runs, I noticed that
`goja` compilation of the bigint library was present. The bigint library
compilation happens in a package `init`, whenever the package
`eth/tracers/js` is loaded. This PR changes it to load lazily when
needed.
It becomes slightly faster with this change, and slightly less alloc:y.
Non-scientific benchmark with 100 executions:
```
time for i in {1..100}; do ./evm --code 6040 run; done;
```
current `master`:
```
real 0m6.634s
user 0m5.213s
sys 0m2.277s
```
Without compiling bigint
```
real 0m5.802s
user 0m4.191s
sys 0m1.965s
```
2 weeks ago
..
catalyst
build, internal, version: break ci.go/version->common dependency ( #30638 )
2 weeks ago
downloader
build: update to golangci-lint 1.61.0 ( #30587 )
3 weeks ago
ethconfig
beacon, core, eth, miner: integrate witnesses into production Geth ( #30069 )
2 months ago
fetcher
eth/fetcher: fix blob transaction propagation ( #30125 )
2 months ago
filters
core, eth, ethstats: simplify chain head events ( #30601 )
3 weeks ago
gasestimator
internal/ethapi: eth_multicall ( #27720 )
2 months ago
gasprice
core, eth, ethstats: simplify chain head events ( #30601 )
3 weeks ago
protocols
core, trie, triedb: minor changes from snapshot integration ( #30599 )
3 weeks ago
tracers
eth/tracers/js: avoid compiling js bigint when not needed ( #30640 )
2 weeks ago
api_admin.go
eth: ignore genesis block on importChain ( #27956 )
1 year ago
api_backend.go
core, eth, ethstats: simplify chain head events ( #30601 )
3 weeks ago
api_debug.go
miner: refactor the miner, make the pending block on demand ( #28623 )
8 months ago
api_debug_test.go
core/state: state reader abstraction ( #29761 )
2 months ago
api_miner.go
miner: refactor the miner, make the pending block on demand ( #28623 )
8 months ago
backend.go
build, internal, version: break ci.go/version->common dependency ( #30638 )
2 weeks ago
bloombits.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
handler.go
core, trie, triedb: minor changes from snapshot integration ( #30599 )
3 weeks ago
handler_eth.go
consensus, cmd, core, eth: remove support for non-merge mode of operation ( #29169 )
8 months ago
handler_eth_test.go
build: update to golangci-lint 1.61.0 ( #30587 )
3 weeks ago
handler_snap.go
eth: check snap satelliteness, delegate drop to eth ( #22235 )
4 years ago
handler_test.go
all: remove forkchoicer and reorgNeeded ( #29179 )
2 months ago
peer.go
eth: remove admin.peers[i].eth.head and difficulty ( #26804 )
2 years ago
peerset.go
consensus, cmd, core, eth: remove support for non-merge mode of operation ( #29169 )
8 months ago
state_accessor.go
core/state: state reader abstraction ( #29761 )
2 months ago
sync.go
consensus, cmd, core, eth: remove support for non-merge mode of operation ( #29169 )
8 months ago
sync_test.go
consensus, cmd, core, eth: remove support for non-merge mode of operation ( #29169 )
8 months ago