Skip to content

Vue Performance Devtool is a browser extension for inspecting the performance of Vue Components.

Notifications You must be signed in to change notification settings

HcySunYang/vue-perf-devtool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Performance Devtool

Vue Performance Devtool is a browser extension for inspecting the performance of Vue Components. It statistically examines the performance of Vue components based on the measures which are collected by Vue using window.performance API.

logo

Initially started after reading React Performance Devtool and created from Vue Devtool.

Installation

The below extensions represent the current stable release.

Implementation

To use this performance devtool extension, you'll need to allow vue-devtools inspection and performance

// make sure to set this synchronously immediately after loading Vue
Vue.config.devtools = true
Vue.config.performance = true

Uses

  • Remove or unmount the component instances which are not being used.
  • Inspect what is blocking or taking more time after an operation has been started.
  • Examine which components are taking more time to load.

Description

demo

  • Init: Time taken in "beforeCreated" and "created" of lifecycle.
  • Render: Time taken to create the instance in javascript.
  • Patch: Time taken to render in dom.

Acknowledgments

Special thanks to Evan You and vue-devtool contributors

License

MIT

About

Vue Performance Devtool is a browser extension for inspecting the performance of Vue Components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.3%
  • Vue 26.7%
  • CSS 7.9%
  • HTML 3.1%