From 1fdc9278c7c1db8a4ef2f80e4835ea699ce25264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Yves=20G=C3=A9rardy?= Date: Thu, 31 May 2018 17:33:35 +0200 Subject: [PATCH] [benchmark] add consecutive nullish values to the attrs test --- performance/test-perf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance/test-perf.js b/performance/test-perf.js index a2b79421..8ce4e969 100644 --- a/performance/test-perf.js +++ b/performance/test-perf.js @@ -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 = [