Skip to content

MatthewSH/glicko2-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Glicko2 Library Benchmarks

Tested Packages

Benchmarks

1k Players, 1k Matches

Package Period #1 Period #2 Period #3
[email protected] ~66 ms ~61 ms ~12 ms
[email protected] ~13 ms ~8.52 ms ~2.74 ms
[email protected] ~9.32 ms ~6.36 ms ~4.14 ms
[email protected] ~67 ms ~70 ms ~53 ms

100k Players, 10k Matches

Package Period #1 Period #2 Period #3
[email protected] ~7.7 s ~8.05 s ~7.85 s
[email protected] ~228 ms ~170 ms ~158 ms
[email protected] ~260 ms ~211 ms ~199 ms
[email protected] ~20 s ~27 s ~26 s

100k Players, 100k Matches

Package Period #1 Period #2 Period #3
[email protected] ~58 s ~56 s ~54 s
[email protected] ~366 ms ~308 ms ~439 ms
[email protected] ~380 ms ~436 ms ~301 ms
[email protected] ~3.9 min ~5.58 min ~6.7 min

1k Players, 7.5k Matches

Package Period #1 Period #2 Period #3
[email protected] ~315 ms ~191 ms ~153 ms
[email protected] ~26 ms ~8.03 ms ~12 ms
[email protected] ~23 ms ~12 ms ~2.73 ms
[email protected] ~272 ms ~208 ms ~213 ms

10k Players, 20k Matches

Package Period #1 Period #2 Period #3
[email protected] ~1.25 s ~1.26 s ~1.23 s
[email protected] ~72 ms ~46 ms ~43 ms
[email protected] ~65 ms ~45 ms ~31 ms
[email protected] ~3.61 s ~3.29 s ~3.28 s

25k Players, 75k Matches

Package Period #1 Period #2 Period #3
[email protected] ~18 s ~17 s ~18 s
[email protected] ~170 ms ~137 ms ~121 ms
[email protected] ~156 ms ~159 ms ~115 ms
[email protected] ~39 s ~45 s ~47 s

1m Players, 1m Matches

Package Period #1 Period #2 Period #3
[email protected] ~6.97 h - -
[email protected] ~10 s ~6.89 s ~6.83 s
[email protected] ~4.26 s ~4.01 s ~3.85 s
[email protected] ~4.13 s ~4.21 s ~4.18 s
[email protected] - - -

Running Your Own Benchmarks

  1. First generate your data sets: npx cross-env PLAYER_LIMIT=*limit* MATCH_LIMIT=*limit* node ./src/faker.js
  2. Run the benchmark: npm run bench

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published