erigontech / erigontech/erigon

Log initial sync stats on completion

Open
#16,708 2 comments 0 reactions 0 assignees View on GitHub
Networking
Dominant language
Go
Stars
3.6k
Forks
1.5k
Avg merge
1d 16h
Merged PRs (30d)
455

Description

From https://github.com/erigontech/erigon/issues/16317#issuecomment-3196110618, I think the Downloader could log a summary of the initial sync for more quantifiable performance:

- How many incomplete files and bytes were finished (since the user may have resumed a previously incomplete node)
- How many bytes were hashed/skipped (sparse files optimization)
- Average webseed download rate
- Average p2p download/upload rates
- Chain name, and some kind of tag/representation for which preverified hash set was used as this is often omitted.

It's a small set of the most useful values to eyeball in CI and from users and easily compared. If it's a single log line it can be copy-pasted easily.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.