Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Compose Playground
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Briar Staging
Compose Playground
Commits
d0d27289
Commit
d0d27289
authored
4 years ago
by
Oleksandr Karpovich
Committed by
Oleksandr Karpovich
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix `add1kItems` benchmark to avoid it getting swallowed on CI
Now it will repeat only 3 times instead of default (5).
parent
20fa5edd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/benchmark-core/src/jsTest/kotlin/BenchmarkTests.kt
+2
-2
2 additions, 2 deletions
web/benchmark-core/src/jsTest/kotlin/BenchmarkTests.kt
with
2 additions
and
2 deletions
web/benchmark-core/src/jsTest/kotlin/BenchmarkTests.kt
+
2
−
2
View file @
d0d27289
...
...
@@ -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
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment