You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2021. It is now read-only.
benchmark supports the following arguments:
--headless - render headless
--gif - create a gif in ./dist (requires ImageMagick 'convert' in path)
--resultfile - write stats to a timestamped file
--throttle X - wait X milliseconds between writes to the same file
--help,-h - print this message
gif output does not work
Sorry, ImageMagick convert binary has to be available in path
whats that throttle thing about?
The benchmark writes to the same file in very short intervals. sometimes so short, that the update watcher misses a write and then the process gets stuck as benchmark waits for an update to complete before writing the next step. It automatically adds a throttle to prevent this which increases 10ms every time it gets stuck. You can prevent this dance by providing a throttle argument at start
Welcome to the svite benchmark challenge
Lets see who's got the fastest hot module updates in github town in 3 easy steps
1. install
mac/linux/wsl
windows
2. inside svite-bench directory execute
node benchmark --headless --gif # --gif only works with ImageMagick 'convert' in path.3. add comment with output and svite-bench/dist/benchmark.gif below
FAQ
Whats on the line?
Bragging rights.
What does it do?
Go read the code
help
gif output does not work
Sorry, ImageMagick
convertbinary has to be available in pathwhats that throttle thing about?
The benchmark writes to the same file in very short intervals. sometimes so short, that the update watcher misses a write and then the process gets stuck as benchmark waits for an update to complete before writing the next step. It automatically adds a throttle to prevent this which increases 10ms every time it gets stuck. You can prevent this dance by providing a throttle argument at start