Rewrite benchmarks according to benchstat syntax #1472

Open
opened 2024-11-06 07:40:34 +00:00 by fyrchik · 0 comments
Owner

https://pkg.go.dev/golang.org/x/perf/benchproc/syntax

It will allow us to use benchstat to compare different sub-benchmarks.
As an example

b.Run(fmt.Sprintf("%s-%s", stEntry.desc, tt.desc), func(b *testing.B) {

-- we could filter by test type and compare different storage types.

https://pkg.go.dev/golang.org/x/perf/benchproc/syntax It will allow us to use benchstat to compare different sub-benchmarks. As an example https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/17ec84151b4f9f3d2ff593ecdad41b8c0c860e02/pkg/local_object_storage/blobstor/perf_test.go#L200 -- we could filter by test type and compare different storage types.
fyrchik added the
triage
label 2024-11-06 07:40:34 +00:00
fyrchik added the
good first issue
label 2024-11-06 07:44:32 +00:00
fyrchik added this to the vNext milestone 2024-11-06 07:44:40 +00:00
fyrchik added
help wanted
and removed
triage
labels 2024-11-06 07:44:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1472
No description provided.