Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tests_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
hive
tests_api
Commits
1de6f78a
Commit
1de6f78a
authored
2 years ago
by
Krzysztof Mochocki
Browse files
Options
Downloads
Patches
Plain Diff
Add several jobs in CI for easier benchmarking
parent
c934cd47
No related branches found
No related tags found
1 merge request
!253
Add template for benchmarking
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yaml
+105
-13
105 additions, 13 deletions
.gitlab-ci.yaml
with
105 additions
and
13 deletions
.gitlab-ci.yaml
+
105
−
13
View file @
1de6f78a
stages
:
-
benchmark
-
account history api
-
blocks api
-
hivemind
include
:
-
local
:
'
/ci-scripts/docker_based_benchmark_job.yaml'
-
local
:
'
/ci-scripts/docker_based_benchmark_job.yaml'
Trigger any
benchmark
:
.custom_
benchmark
:
extends
:
.benchmark_api
stage
:
benchmark
rules
:
-
when
:
manual
-
when
:
manual
tags
:
-
tests-api
######## VARIANTS ########
.api_account_history
:
&api_ah
API
:
account_history_api
.api_block
:
&api_blocks
API
:
blocks_api
.universal
:
&api_universal
API
:
universal
.light_60M
:
&light_60M
CSV
:
perf_60M_light.csv
.heavy_60M
:
&heavy_60M
CSV
:
perf_60M_heavy.csv
.http
:
&http
CALL_STYLE
:
old-style
.postgres
:
&postgres
CALL_STYLE
:
postgres
######## STAGES ########
.account_history_api
:
extends
:
.custom_benchmark
stage
:
account history api
variables
:
*api_ah
.blocks_api
:
extends
:
.custom_benchmark
stage
:
blocks api
variables
:
*api_blocks
.hivemind
:
extends
:
.custom_benchmark
stage
:
hivemind
variables
:
*api_universal
### account history api ###
light 60M http account history api
:
extends
:
.account_history_api
variables
:
## required
ADDRESS
:
hive-staging.pl.syncad.com
PORT
:
58091
CSV
:
perf_60M_light.csv
CALL_STYLE
:
old-style
## optional
ROOT_DIR
:
$CI_PROJECT_DIR
heavy 60M http account history api
:
extends
:
.account_history_api
variables
:
CSV
:
perf_60M_heavy.csv
CALL_STYLE
:
old-style
tags
:
-
tests-api
light 60M postgres account history api
:
extends
:
.account_history_api
variables
:
CSV
:
perf_60M_light.csv
CALL_STYLE
:
postgres
heavy 60M postgres account history api
:
extends
:
.account_history_api
variables
:
CSV
:
perf_60M_heavy.csv
CALL_STYLE
:
postgres
### blocks api ###
light 60M http blocks api
:
extends
:
.blocks_api
variables
:
CSV
:
perf_60M_light.csv
CALL_STYLE
:
old-style
heavy 60M http blocks api
:
extends
:
.blocks_api
variables
:
CSV
:
perf_60M_heavy.csv
CALL_STYLE
:
old-style
light 60M postgres blocks api
:
extends
:
.blocks_api
variables
:
CSV
:
perf_60M_light.csv
CALL_STYLE
:
postgres
heavy 60M postgres blocks api
:
extends
:
.blocks_api
variables
:
CSV
:
perf_60M_heavy.csv
CALL_STYLE
:
postgres
######## hivemind ########
warmup
:
extends
:
.hivemind
variables
:
CSV
:
2022_11_16_hivemind_60M_prod_jrpc.csv
CALL_STYLE
:
old-style
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