This commit is contained in:
Brooke Vibber 2023-09-04 10:23:59 -07:00
commit 5e084b9a71
3 changed files with 46 additions and 30 deletions

View file

@ -9,44 +9,59 @@ handle a couple of different variants -- but this might not be true of all
possibilities. 256 randomized variants is linearly slower.
```
% node speci.js
** x_first
% make test
node speci.js x-first
** x-first
run 1
72 ms
189 ms
run 2
15 ms
293 ms
run 3
22 ms
178 ms
** y_first
node speci.js y-first
** y-first
run 1
73 ms
196 ms
run 2
23 ms
175 ms
run 3
20 ms
174 ms
node speci.js mixed
** mixed
run 1
2766 ms
732 ms
run 2
52 ms
716 ms
run 3
53 ms
912 ms
** randomized
node speci.js rand-suffix
** rand-suffix
run 1
464 ms
15596 ms
run 2
445 ms
15636 ms
run 3
445 ms
15501 ms
node speci.js rand-prefix
** rand-prefix
run 1
18896 ms
run 2
18883 ms
run 3
18784 ms
```