Skip to content

Commit

Permalink
docs: add "improving performance" to guide list (#4779)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Dec 28, 2023
1 parent 06c14f7 commit 578db5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ export default withPwa(defineConfig({
text: 'Common Errors',
link: '/guide/common-errors',
},
{
text: 'Improving Performance',
link: '/guide/improving-performance',
},
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,7 @@ Path to a [workspace](/guide/workspace) config file relative to [root](#root).
Run tests in an isolated environment. This option has no effect on `vmThreads` pool.
Disabling this option might improve [performance](/guide/performance) if your code doesn't rely on side effects (which is usually true for projects with `node` environment).
Disabling this option might [improve performance](/guide/improving-performance) if your code doesn't rely on side effects (which is usually true for projects with `node` environment).
::: note
You can disable isolation for specific pools by using [`poolOptions`](#pooloptions) property.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Performance
# Improving Performance

By default Vitest runs every test file in an isolated environment based on the [pool](/config/#pool):

Expand Down

0 comments on commit 578db5e

Please sign in to comment.