chore: update bench

pull/15/head
Amio 2018-08-24 12:40:11 +08:00
rodzic 5a105b62e2
commit f872bc80a3
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,12 +1,12 @@
const { Suite } = require('benchmark')
const badgen = require('..')
const dockerIcon = require('../test/docker-icon-b64.js')
const icon = require('../test/icon-data-uri.js')
/* eslint max-len: ["error", { "code": 90 }] */
const longParams = { subject: 'build-build-build', status: 'passing-passing-passing' }
const fullParams = { subject: 'license', status: 'Apache 2.0', color: 'cyan' }
const emojiParams = { subject: 'emojis', status: '💩🤱🦄💩🤱🦄', emoji: true }
const iconParams = { subject: 'docker', status: 'badge', icon: dockerIcon }
const iconParams = { subject: 'docker', status: 'badge', icon }
new Suite()
.add('[classic] style, long params', () => badgen(longParams))