oxc-project / backlog

backlog for collborators only
0 stars 0 forks source link

Benchmark compile times #6

Open overlookmotel opened 1 month ago

overlookmotel commented 1 month ago

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.

Boshen commented 1 month ago

https://www.val.town/ seems like an easy way to build this.

Boshen commented 2 weeks ago

Can leverage https://github.com/benchmark-action/github-action-benchmark

Maybe an extra tracking CI for compiling the whole oxc crate, for downstream users.

Boshen commented 2 weeks ago

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

overlookmotel commented 2 weeks ago

You want to abandon CodSpeed?

Boshen commented 2 weeks ago

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.