https://github.com/checkly/vitals-tester
https://github.com/checkly/vitals-tester
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/checkly/vitals-tester
- Owner: checkly
- License: mit
- Created: 2021-10-29T14:36:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-27T10:13:22.000Z (over 3 years ago)
- Last Synced: 2025-03-26T06:11:15.845Z (3 months ago)
- Language: CSS
- Homepage: vitals-tester.vercel.app
- Size: 2.75 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vitals-tester
small utility to generate the vitals you want.http://vitals-tester.vercel.app/
### General
Every metric supports categories (GOOD, POOR, NEEDS_IMPROVEMENT) which will randomly pick a value to match that category.
Or numerical values with optional random parameters. So ?lcp=1000 sets the lcp to 1000, ?lcp=1000&random=500 sets the lcp
to some value between 500 and 1500. lcp?=GOOD sets it to a randomly picked "GOOD" value for the metric.type={DESKTOP|MOBILE} set mobile or desktop thresholds when using categorical values (GOOD, POOR, NEEDS_IMPROVEMENT)
random=Number set a random fluctuation of +/-Number### LCP and FCP can be used together or individually
https://vitals-tester.vercel.app/?fcp=POORhttps://vitals-tester.vercel.app/?fcp=NEEDS_IMPROVEMENT
https://vitals-tester.vercel.app/?fcp=GOOD
https://vitals-tester.vercel.app/?lcp=1000&random=500
https://vitals-tester.vercel.app/?fcp=500&lcp=1000&random=500
https://vitals-tester.vercel.app/?fcp=GOOD&lcp=POOR
### TBT can be used only standalone but with categories or values
https://vitals-tester.vercel.app/?tbt=POOR&type=MOBILEhttps://vitals-tester.vercel.app/?tbt=500&random=100
### CLS also can only be used alone
https://vitals-tester.vercel.app/?cls=0.15&random=0.01https://vitals-tester.vercel.app/?cls=GOOD