This repository has been archived by the owner on Jul 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
benchmark - challenge #6
Comments
{
system: {
platform: 'linux',
cpu: { brand: 'Core™ i7-7500U', cores: 4, physicalCores: 2 },
mem: { total: 16530305024, available: 11239120896, free: 7456063488 },
date: 'Thu, 02 Jul 2020 19:09:21 GMT'
},
versions: { benchmark: '0.1.1', svite: '0.1.0', vite: '1.0.0-beta.8' },
stats: {
boot: { vite: 774, pageLoad: 1289 },
updates: {
count: 44,
sum: 3079,
avg: 69.98,
min: 50,
max: 102,
durations: '102,79,67,70,83,83,80,71,80,70,99,81,70,79,71,83,63,50,71,83,67,62,50,67,70,79,54,83,67,63,70,62,55,62,71,67,62,54,64,64,71,63,54,63'
}
},
settings: { headless: true, throttle: 0, gif: true }
} |
|
You can still post scores but i'm closing this as it is not really an 'issue' |
{ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
convert
binary 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
The text was updated successfully, but these errors were encountered: