-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
perf(experimental): add file system cache #9026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 38 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
47f758c
perf(experimental): add file system cache
sheremet-va 5748d96
chore: fix cache key
sheremet-va d026fbe
refactor: use a class for easier management
sheremet-va e556995
chore: early cache check
sheremet-va 87cf020
chore: move fs to project
sheremet-va eb86964
chore: rename file
sheremet-va bcd9193
perf: don't read multiple times, respect project-level cacheFs
sheremet-va 2d845ea
chore: enable caching via the experimental flag
sheremet-va f9fb30d
chore: inherit fsModuleCache
sheremet-va 6060ce9
chore: cleanup
sheremet-va d44708c
feat: add --clearCache
sheremet-va bd0ef35
chore: cleanup
sheremet-va 45f16c8
docs: add section about the public method
sheremet-va 365e1cb
Merge branch 'main' of github.com:vitest-dev/vitest into perf/add-fs-…
sheremet-va 96e2003
fix: return traces to fetchModule
sheremet-va cea30f8
perf: use hash function instead
sheremet-va 7e58c0a
docs: fix links
sheremet-va 9af8f8c
test: validate the option is inherited
sheremet-va 3b61a13
fix: don't read virtual file, read tmp in server runner
sheremet-va 6b69f28
cI: add a step to ci
sheremet-va 5a38b08
feat: add fsModuleCachePath
sheremet-va d345717
ci: run ci:cache
sheremet-va c771a4f
feat(cache): support watch mode
sheremet-va 5dd1423
chore: just use strings
sheremet-va 270d9c6
perf: keep the id in memory
sheremet-va c473ecb
chore: run cached tests also on windows
sheremet-va 5e3bdc4
fix: check coverage transform
sheremet-va 1983f44
feat: add fsModuleCacheKeyGenerator
sheremet-va eefd22b
fix: remove sourceMap.mappings
sheremet-va 4d1a0a5
chore: add debug
sheremet-va 53c481d
chore: keep mappings information
sheremet-va 961ed42
chore: remove test-dts-config
sheremet-va 5162485
chore: ignore all dts tests
sheremet-va a7cc69f
chore: ignore ui tests
sheremet-va f10869e
feat: introduce `defineCacheKeyGenerator`
sheremet-va fcbed42
docs: update versions and links
sheremet-va a3577d0
docs: cleanup
sheremet-va 310a64d
chore: update debug messages
sheremet-va dbde0ce
refactor: rename fsCache to fsModuelCache
sheremet-va c4b210b
refactor: cache environment configs
sheremet-va 570da82
refactor: provide context to defineCacheKeyGenerator
sheremet-va 8ff2cd9
chore: cleanup
sheremet-va 217a123
fix: nuke cache if lockfile changes
sheremet-va 1547588
test: add defineCacheKey test
sheremet-va d4a5450
chore: lockfile
sheremet-va d870c04
chore: cleanup
sheremet-va b7ed675
test: specify cache path to avoid clearing global cache
sheremet-va dc20427
chore: hash config file dependencies
sheremet-va f3f126a
chore: cleanup
sheremet-va 4c41971
chore: fix log
sheremet-va 7f014ad
Merge branch 'main' of github.com:vitest-dev/vitest into perf/add-fs-…
sheremet-va be56ac9
Merge branch 'main' of github.com:vitest-dev/vitest into perf/add-fs-…
sheremet-va aba901a
feat: allow bailing out of caching in the generator
sheremet-va 16ffcbc
test: add more tests
sheremet-va 0bba4cf
docs: add known issues section
sheremet-va ff5cce4
chore: remove log
sheremet-va File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.