{"library":"speed-measure-vite-plugin","title":"Speed Measure Vite Plugin","type":"library","description":"A Vite plugin that measures the transform speed of other Vite plugins, currently at version 2.0.1. It wraps plugins and records execution time for hooks like transform, resolveId, and load. Compatible with Vite >= 3.0.0. Differentiators: simple API, supports both build and dev mode (with gap detection), and allows custom hook selection and sort order. Ships TypeScript types. Low bundle size.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install speed-measure-vite-plugin"],"cli":null},"imports":["import smvp from 'speed-measure-vite-plugin'","import smvp from 'speed-measure-vite-plugin'","import type { Options } from 'speed-measure-vite-plugin'"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/lbb00/speed-measure-vite-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/speed-measure-vite-plugin","openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"// vite.config.js\nimport { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\nimport smvp from 'speed-measure-vite-plugin'\n\nexport default defineConfig({\n  plugins: smvp([vue()], {\n    hooks: ['transform', 'resolveId', 'load'],\n    sort: (a, b) => b - a,\n    maxGapTimeOnce: 1000\n  })\n})","lang":"javascript","description":"Measures plugin transform speed in a Vite build with Vue.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}