Skip to content

sun0day/vite-perf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-perf

A cli tool to collect vite server performance metrics, includes:

  • vite config loading time
  • tsconfck init time
  • vite server start up time
  • vite server scan dependencies time
  • vite server pre-bundle time
  • browser page loading time

Screenshot

image

Prerequisite

  • vite@^4.0.0
  • node@^14.0.0

Install

$ npm i vite-perf

Usage

$ vperf --force --load startUp

Options

option type required description
--force boolean same as vite --force
--load 'startUp'/'prebundle' specific when to load the page, 'startUp' means load the page once vite server starts up, 'prebundle' means load the page once vite server finishes pre-bundle

About

A cli tool to collect vite performance metrics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published