[Tech debt] Builds suddenly started taking 3x the duration to complete
Motivation
Our beta builds went from 6 mins -> 15 mins suddenly and look like they're still increasing
https://github.com/fribbels/dreary-quibbles/actions/workflows/deploy-gh-pages.yml
Started around here at this commit https://github.com/fribbels/dreary-quibbles/actions/runs/8408427651
Objective
Investigate what's going on and fix the build
Hi, first issue and I messaged before in the discord but thought I'd post the context here for future reference.
I profiled the Vite command between the 2 commits mentioned in the post, 05bbe17 and 0153d65, and found the main difference being set shouldStop( ) calls and a larger stack in the slower build.
My best guess is a change in modules where one or some are now large enough to run into memory issues.
I've attached both cpuprofiles compressed into a zip because of file size. They can be viewed with a preferred profiler or online at https://www.speedscope.app/
https://github.com/fribbels/hsr-optimizer/pull/338
Deployed in https://github.com/fribbels/hsr-optimizer/pull/370