Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Poulpe
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
octobus
Poulpe
Commits
49e89e4c
Commit
49e89e4c
authored
5 years ago
by
Pierre-Yves David
Browse files
Options
Downloads
Patches
Plain Diff
benchmark: document the discovery tests
parent
71bc4a30
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
benchmarks/discovery.py
+28
-0
28 additions, 0 deletions
benchmarks/discovery.py
with
28 additions
and
0 deletions
benchmarks/discovery.py
+
28
−
0
View file @
49e89e4c
...
...
@@ -43,6 +43,12 @@
@setup_role
class
DiscoveryIdenticalTimeSuite
(
BaseDiscoveryTimeSuite
):
"""
This benchmark discovery between two repository with the same content
This benchmark use `perfdiscovery` (see BaseDiscoveryTimeSuite).
Any repos should be elligible for
"
identical
"
discovery.
"""
role_action
=
'
discovery
'
role_subtype
=
'
identical
'
...
...
@@ -53,6 +59,13 @@
@setup_role
class
DiscoverySubsetTimeSuite
(
BaseDiscoveryTimeSuite
):
"""
This benchmark discovery when remote has stricly more data
This benchmark use `perfdiscovery` (see BaseDiscoveryTimeSuite).
Any repos should be elligible for
"
subset
"
discovery. We test it with
various amount of missing changesets locally.
"""
role_action
=
'
discovery
'
role_subtype
=
'
subset
'
...
...
@@ -63,6 +76,13 @@
@setup_role
class
DiscoverySupersetTimeSuite
(
BaseDiscoveryTimeSuite
):
"""
This benchmark discovery when remote has stricly less data
This benchmark use `perfdiscovery` (see BaseDiscoveryTimeSuite).
Any repos should be elligible for
"
superset
"
discovery. We test it with
various amount of missing changesets remotely.
"""
role_action
=
'
discovery
'
role_subtype
=
'
superset
'
...
...
@@ -73,6 +93,14 @@
@setup_role
class
DiscoveryBalancedTimeSuite
(
BaseDiscoveryTimeSuite
):
"""
This benchmark discovery when local and remote has different content
This benchmark use `perfdiscovery` (see BaseDiscoveryTimeSuite).
Only a fews are eligible for
"
balanced
"
discovery. since it needs enough
different heads to create disparity on both side. The test it with various
amount of
"
reasonably sized
"
difference.
"""
role_action
=
'
discovery
'
role_subtype
=
'
balanced
'
...
...
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