Browse Source

Fix `add1kItems` benchmark to avoid it getting swallowed on CI

Now it will repeat only 3 times instead of default (5).
pull/764/head
Oleksandr Karpovich 4 years ago committed by Oleksandr Karpovich
parent
commit
d0d272897b
  1. 4
      web/benchmark-core/src/jsTest/kotlin/BenchmarkTests.kt

4
web/benchmark-core/src/jsTest/kotlin/BenchmarkTests.kt

@ -65,8 +65,8 @@ class BenchmarkTests {
return duration
}
@Test
fun add1kItems() = runBenchmark("add1000Items") {
@Test // add1kItems overrides default `repeat` value (was - 5, now - 3) to avoid getting swallowed on CI
fun add1kItems() = runBenchmark(name = "add1000Items", repeat = 3) {
addNItems(1000)
}

Loading…
Cancel
Save