celestiaorg / celestiaorg/go-header

Add benchmarks for go-header

Open
#93 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
21
Forks
33
Avg merge
5d 20h
Merged PRs (30d)
7

Description

Result of discussion with @Wondertan

The goal is to add benchmarks for various scenarios and testing for block time and size limits.

Option 1:
- Expand go-header metrics coverage in go-header
- Pull metrics into Granfana board
- Multiple implementations can use the same Grafana board

Option 2:
- Write the Knuu test that spins up the network and desired topology
- Call API needed to be measured like (produce and retrieve blocks or headers)
- Measure the time between calls
- Optionally make some reusable benchmarking tooling for Knuu

Contributor guide

Open the contributing guide

Research direction

Start by comparing the two proposed approaches: expanding go-header metrics with a Grafana board, or using a Knuu network and topology to measure block and header APIs. Identify the relevant APIs and scenarios for block time and size limits, then define which benchmarks and tests demonstrate completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
performance, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.