erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.1k stars 1.09k forks source link

Caplin: `HasBlock` call becomes red on heap profiling #11704

Closed AskAlexSharov closed 2 weeks ago

AskAlexSharov commented 3 weeks ago

mainnet.pdf

Giulio2002 commented 2 weeks ago

i see - it should be easily fixable tbh

Giulio2002 commented 2 weeks ago

i mean - it is not really significant because this is still 80% I/O and network, but i can make it better

Giulio2002 commented 2 weeks ago
Screenshot 2024-08-23 alle 23 28 39

There you go, see - i just fixed it and now FrozenBlocks is the bottleneck lol.

Giulio2002 commented 2 weeks ago
Screenshot 2024-08-23 alle 23 53 26

Removed frozenblocks too with some generic optimizations, startup time got better and now it seems to be mostly only I/O

P.S - The other arrow points to GC