Skip to content

Comments

dastest: add testing.B#2096

Open
quasilyte wants to merge 1 commit intoGaijinEntertainment:masterfrom
quasilyte:quasilyte_dastest_benchmarks
Open

dastest: add testing.B#2096
quasilyte wants to merge 1 commit intoGaijinEntertainment:masterfrom
quasilyte:quasilyte_dastest_benchmarks

Conversation

@quasilyte
Copy link
Contributor

@quasilyte quasilyte commented Feb 19, 2026

Adds benchmarking API to the dastest testing framework.
If T is a testing::T version of Go's testing.T,
then B is like Go's testing.B.

Currently, it supports several output formats:

The default, "native" format - only for interactive use.
It is intended to be pretty and blend-in the most
with test-related output of dastest.

The second format is "go". It can be used to
produce go-compatible samples that can then be
consumed by any Go-related benchmark analysis tool.
An example of such tool is benchstat.

The third format is "json". It can be used
for any further data analysis (e.g. for our custom tools).

@quasilyte quasilyte force-pushed the quasilyte_dastest_benchmarks branch from 2bd595f to b68bc4e Compare February 20, 2026 13:34
@quasilyte quasilyte changed the title WIP: dastest: add testing.B dastest: add testing.B Feb 20, 2026
@quasilyte quasilyte force-pushed the quasilyte_dastest_benchmarks branch 6 times, most recently from 5c8982f to 764517a Compare February 20, 2026 14:50
Adds benchmarking API to the dastest testing framework.
If T is a `testing::T` version of Go's `testing.T`,
then B is like Go's `testing.B`.

Currently, it supports several output formats:

The default, "native" format - only for interactive use.
It is intended to be pretty and blend-in the most
with test-related output of dastest.

The second format is "go". It can be used to
produce go-compatible samples that can then be
consumed by any Go-related benchmark analysis tool.
An example of such tool is benchstat.

The third format is "json". It can be used
for any further data analysis (e.g. for our custom tools).
@quasilyte quasilyte force-pushed the quasilyte_dastest_benchmarks branch from 764517a to 3fb7fe5 Compare February 20, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants