@@ -260,6 +260,18 @@ commands:
260
260
module_path :
261
261
type : string
262
262
default : bin/linux-x64-release/rejson.so
263
+ profile_env :
264
+ type : string
265
+ default : " 0"
266
+ benchmark_glob :
267
+ type : string
268
+ default : " *.yml"
269
+ triggering_env :
270
+ type : string
271
+ default : " circleci"
272
+ allowed_envs :
273
+ type : string
274
+ default : " oss-standalone"
263
275
steps :
264
276
- run :
265
277
name : Prepare automation
@@ -278,7 +290,9 @@ commands:
278
290
export AWS_SECRET_ACCESS_KEY=$PERFORMANCE_EC2_SECRET_KEY
279
291
export AWS_DEFAULT_REGION=$PERFORMANCE_EC2_REGION
280
292
export EC2_PRIVATE_PEM=$PERFORMANCE_EC2_PRIVATE_PEM
281
-
293
+ export PROFILE=<< parameters.profile_env >>
294
+ export BENCHMARK_GLOB=<< parameters.benchmark_glob >>
295
+ export PERF_CALLGRAPH_MODE="dwarf"
282
296
redisbench-admin run-remote \
283
297
--required-module ReJSON \
284
298
--module_path "$ROOT/<< parameters.module_path >>" \
@@ -288,8 +302,10 @@ commands:
288
302
--github_sha $CIRCLE_SHA1 \
289
303
--github_branch $CIRCLE_BRANCH \
290
304
--upload_results_s3 \
291
- --triggering_env circleci \
292
- --push_results_redistimeseries
305
+ --fail_fast \
306
+ --triggering_env << parameters.triggering_env >> \
307
+ --push_results_redistimeseries \
308
+ --allowed-envs << parameters.allowed_envs >>
293
309
294
310
# ----------------------------------------------------------------------------------------------------------------------------------
295
311
@@ -442,12 +458,21 @@ jobs:
442
458
name : Run QA Tests
443
459
command : MODULE_VERSION=$CIRCLE_BRANCH VERBOSE=1 TEST=nightly QUICK=1 ./tests/qa/run
444
460
445
- benchmarks :
461
+ benchmark-json-oss-standalone :
446
462
docker :
447
463
- image : redisfab/rmbuilder:6.2.5-x64-bionic
448
464
steps :
449
465
- build-steps
450
466
- benchmark-steps
467
+ benchmark-json-oss-standalone-profiler :
468
+ docker :
469
+ - image : redisfab/rmbuilder:6.2.5-x64-bionic
470
+ steps :
471
+ - build-steps
472
+ - benchmark-steps :
473
+ profile_env : " 1"
474
+ triggering_env : " circleci.profilers" # results generated with profilers attached are not mixed with the ones without it
475
+
451
476
452
477
# ----------------------------------------------------------------------------------------------------------------------------------
453
478
@@ -532,7 +557,7 @@ workflows:
532
557
context : common
533
558
matrix :
534
559
parameters :
535
- platform : [focal, bionic, xenial, ol8 , centos7, bullseye]
560
+ platform : [focal, bionic, xenial, rocky8 , centos7, bullseye]
536
561
- build-arm-platforms :
537
562
<< : *on-integ-and-version-tags
538
563
context : common
@@ -550,9 +575,6 @@ workflows:
550
575
matrix :
551
576
parameters :
552
577
san-type : [address] # [address, memory]
553
- - benchmarks :
554
- context : common
555
- << : *on-integ-and-version-tags
556
578
- upload-artifacts :
557
579
name : upload-artifacts-to-staging-lab
558
580
staging-lab : " 1"
@@ -575,6 +597,13 @@ workflows:
575
597
<< : *on-version-tags
576
598
requires :
577
599
- upload-release-artifacts
600
+ - benchmark-json-oss-standalone :
601
+ << : *on-integ-and-version-tags
602
+ context : common
603
+ - benchmark-json-oss-standalone-profiler :
604
+ << : *on-integ-and-version-tags
605
+ context : common
606
+
578
607
579
608
nightly :
580
609
triggers :
@@ -592,5 +621,7 @@ workflows:
592
621
matrix :
593
622
parameters :
594
623
redis_version : ["6.0", "6.2"]
595
- - benchmarks :
624
+ - benchmark-json-oss-standalone :
625
+ context : common
626
+ - benchmark-json-oss-standalone-profiler :
596
627
context : common
0 commit comments