Open overlookmotel opened 1 month ago
https://www.val.town/ seems like an easy way to build this.
Can leverage https://github.com/benchmark-action/github-action-benchmark
Maybe an extra tracking CI for compiling the whole oxc
crate, for downstream users.
Here's what I would like to do:
In transform-ci
. Setup https://github.com/benchmark-action/github-action-benchmark
It will track
Once this is done, copy it over to Rolldown as well.
We may end up not using the github action, and use a custom solution instead https://github.com/web-infra-dev/rspack-ecosystem-benchmark
You want to abandon CodSpeed?
For the record, I have some setup up here https://github.com/oxc-project/monitor-oxc/blob/b66ad58fa2309bbd3a0c7aec00937c56db23daad/.github/workflows/ci.yml#L199-L217
I may end up putting this in the main repo, but due to how tedious it is to work on github actions, I'm going to abandon this and focus time else where.
Problem
Compile times are something we care about, but we're not measuring them systematically, so we have little visibility over them.
Potential solution
Building the benchmarks is a fairly good analogue for real-world usage where you have a warm compiler cache.
--timings
..out
file so the graph appears as a faux flamegraph on CodSpeed. That'd give you a before/after diff too. (This is probably way too much work, and not worthwhile).