Update benchmark with new options format

pull/3/head
Amio 2018-07-18 13:54:25 +08:00
rodzic 8aafb96f8b
commit cdc622ed75
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -7,7 +7,7 @@ const fullParams = { subject: 'license', status: 'MIT', color: 'cyan' }
new Suite()
.add('[classic] style, long params ', () => badgen(longParams))
.add('[classic] style, full params ', () => badgen(fullParams))
.add(' [flat] style, long params ', () => badgen(longParams, { style: 'flat' }))
.add(' [flat] style, full params ', () => badgen(fullParams, { style: 'flat' }))
.add(' [flat] style, long params ', () => badgen({ style: 'flat', ...longParams }))
.add(' [flat] style, full params ', () => badgen({ style: 'flat', ...fullParams }))
.on('cycle', event => console.log(String(event.target)))
.run()