Skip to content

Conversation

@JoviDeCroock
Copy link
Member

@JoviDeCroock JoviDeCroock commented Jun 5, 2025

This bumps vitest to 3.2 and removes the caching from the transform. It looks like vitest does a lot of internal caching and us sharing the Promise as well as caching the output works against us. This resulted in us having to save the file twice for changes to show

Looks like a 9-11% decrease in Performance

Before   Duration  32.68s (transform 0ms, setup 1.73s, collect 5.92s, tests 1.67s, environment 0ms, prepare 1.22s)
After:   Duration  35.56s (transform 0ms, setup 1.44s, collect 5.77s, tests 1.78s, environment 0ms, prepare 1.31s)

@JoviDeCroock JoviDeCroock merged commit ee6598d into main Jun 5, 2025
6 checks passed
@JoviDeCroock JoviDeCroock deleted the fix-vitest-issue branch June 5, 2025 08:00
@JoviDeCroock JoviDeCroock mentioned this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants