Output benchmarks in machine-readable format #1064
scotttrinh
started this conversation in
Ideas
Replies: 1 comment 7 replies
-
Here's one possible output that is roughly based on the existing text for type instantiation benchmarks: interface BenchmarkTypeInstantiationResult {
name: string;
baseline: number;
result: number;
} It might be useful to provide some computed data in the result as well, but maybe minimal is a good place to start. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the
@arktest/attest
package extensively for iterating on expensive types in https://github.com/edgedb/edgedb-js, and I always find myself manually parsing the output to generate visualizations and to update the benchmarks themselves. I was thinking about building some automation around these things, but the current output is not easy to parse.I believe the most flexible output format would be some structured JSON, so I'm opening up this discussion to gather some feedback about some possible schemas for this output.
Beta Was this translation helpful? Give feedback.
All reactions