Skip to content

adam-arthur/vitest-perf-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstration of performance bug in Vitest

  • npm run test - observe that tests are instant
  • npm run test.dot - observe that tests are very slow
  • npm run test.verbose - observe that tests are very slow

Notes: This demo runs an autogenerated test suite with expect(true).toBe(true) and expect(false).toBe(true). Only difference between the different commands is the reporter used. Enabling console based reporters significantly impairs vitest performance (orders of magnitude)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published