oxc/.github
overlookmotel f0cbbbe28c
ci: build each benchmark only with deps it needs (#3221)
This PR builds on #3201 to further speed up the benchmarks and reduce CI
time.

* Build and run each benchmark as separate job (like before).
* But now each bench is only built with the dependencies it needs.
* For linter benchmarks, build benchmark in 1 job (like #3201 does).
* Run each linter fixture in a separate job as they're slow.

This reduces total time to complete benchmarks from between 6m-7m to
~4m40s.

All the individual jobs complete in under 1m30s, except for building
linter benchmark which takes 2m30s. So there won't be the problem of
blocking the CI queue that there was before.

NB: I did try this before, and didn't see a benefit. But I realized
today what I was doing wrong - it only works once the caches are
populated by a previous run on main branch.

So the CI times in this PR won't look good, but once it's merged to
main, it will take effect. Here it is running on main branch of my fork:

https://github.com/overlookmotel/oxc/actions/runs/9030511348

I also added a step to delete the temp artefacts which aren't needed
once the run has completed.
2024-05-10 22:01:24 +08:00
..
actions chore: update babel repo (#3205) 2024-05-08 20:15:15 +08:00
ISSUE_TEMPLATE Update issue templates 2024-04-09 14:54:46 +08:00
workflows ci: build each benchmark only with deps it needs (#3221) 2024-05-10 22:01:24 +08:00
CODE_OF_CONDUCT.md improve README (#800) 2023-08-27 22:36:17 +08:00
codecov.yml ci: cache codecov; enable code coverage for oxc_transformer 2024-04-11 16:16:02 +08:00
FUNDING.yml Create FUNDING.yml 2023-03-24 22:47:05 -07:00
labeler.yml chore: remove unsless oxc_resolve ci files (#1682) 2023-12-15 10:37:46 +00:00
renovate.json chore: update renovate.json 2024-05-07 12:33:40 +08:00
SECURITY.md improve README (#800) 2023-08-27 22:36:17 +08:00