Switch more benchmarks to benny
[benchmarks-js.git] / empty-array.js
index 0c5f725e43122a307beae3468f05919a48e130de..52f836e5f474b31f6c578291e9920a89d1f9df6a 100644 (file)
@@ -8,12 +8,12 @@ Benchmark.suite(
   Benchmark.add('length = 0', () => {
     testArray.length = 0
   }),
-  Benchmark.add('pop loop', async () => {
+  Benchmark.add('pop loop', () => {
     while (testArray.length > 0) {
       testArray.pop()
     }
   }),
-  Benchmark.add('splice', async () => {
+  Benchmark.add('splice', () => {
     testArray.splice(0, testArray.length)
   }),
   Benchmark.add('shift loop', () => {