Skip to content

Commit

Permalink
[benchmark] add consecutive nullish values to the attrs test
Browse files Browse the repository at this point in the history
  • Loading branch information
pygy committed May 31, 2018
1 parent 86a5f34 commit 55ac30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion performance/test-perf.js
Expand Up @@ -233,7 +233,7 @@ suite.add({
var counter = 0
var keyLooper = function (n) { return function (c) { return c % n ? (c + "px") : c } }
var get = function (obj, i) { return obj[i%obj.length] }
var classes = ["foo", "foo bar", "", "baz-bat", null, "fooga"]
var classes = ["foo", "foo bar", "", "baz-bat", null, "fooga", null, null, undefined]
var styles = []
var multivalue = ["0 1px", "0 0 1px 0", "0", "1px", "20px 10px", "7em 5px", "1px 0 5em 2px"]
var stylekeys = [
Expand Down

0 comments on commit 55ac30c

Please sign in to comment.