You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extended comparison tool and included HELLO, GEOPOS, GEORADIUS and SISMEMBER new benchmarks (#266)
* Enabled running forks source built benchmarks
* Fixed server_name Null check
* Enabled passing baseline/comparison hash and github_repo to ensure proper data filtering on compare. Removed refs/heads/ usage from builder
* skipping cli builder test on ci
* Added --baseline-target-branch and --comparison-target-branch to the compare tool
* Added GEOPOS and GEOSEARCH WITHCOORD new benchmarks
* Included the connection setup benchmark using HELLO
* Bumping version from 0.1.218 to 0.1.219
Copy file name to clipboardexpand all lines: pyproject.toml
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[tool.poetry]
2
2
name = "redis-benchmarks-specification"
3
-
version = "0.1.218"
3
+
version = "0.1.219"
4
4
description = "The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute."
returnf"--{name}-branch, --{name}-tag, --{name}-target-branch, --{name}-hash, and --{name}-target-version are mutually exclusive. You selected a total of {len(by_str_arr)}: {by_string}. Pick one..."
755
+
756
+
742
757
defget_by_strings(
743
758
baseline_branch,
744
759
comparison_branch,
@@ -748,57 +763,73 @@ def get_by_strings(
748
763
comparison_target_version=None,
749
764
baseline_hash=None,
750
765
comparison_hash=None,
766
+
baseline_target_branch=None,
767
+
comparison_target_branch=None,
751
768
):
752
769
baseline_covered=False
753
770
comparison_covered=False
754
771
by_str_baseline=""
755
772
by_str_comparison=""
756
773
baseline_str=""
757
774
comparison_str=""
775
+
baseline_by_arr= []
776
+
comparison_by_arr= []
777
+
778
+
################# BASELINE BY ....
779
+
758
780
ifbaseline_branchisnotNone:
759
-
baseline_covered=True
760
781
by_str_baseline="branch"
782
+
baseline_covered=True
761
783
baseline_str=baseline_branch
762
-
ifcomparison_branchisnotNone:
763
-
comparison_covered=True
764
-
by_str_comparison="branch"
765
-
comparison_str=comparison_branch
784
+
baseline_by_arr.append(by_str_baseline)
766
785
767
786
ifbaseline_tagisnotNone:
768
-
ifcomparison_covered:
769
-
logging.error(
770
-
"--baseline-branch and --baseline-tag are mutually exclusive. Pick one..."
"--comparison-branch and --comparison-tag are mutually exclusive. Pick one..."
832
+
"--comparison-branch and --comparison-tag, --comparison-hash, --comparison-target-branch, and --comparison-target-table are mutually exclusive. Pick one..."
802
833
)
803
834
exit(1)
804
835
comparison_covered=True
@@ -808,18 +839,29 @@ def get_by_strings(
808
839
# check if we had already covered comparison
809
840
ifcomparison_covered:
810
841
logging.error(
811
-
"--comparison-branch, --comparison-tag, and --comparison-target-table are mutually exclusive. Pick one..."
842
+
"--comparison-branch, --comparison-tag, --comparison-hash, --comparison-target-branch, and --comparison-target-table are mutually exclusive. Pick one..."
812
843
)
813
844
exit(1)
814
845
comparison_covered=True
815
846
by_str_comparison="target+version"
816
847
comparison_str=comparison_target_version
817
848
849
+
ifcomparison_target_branchisnotNone:
850
+
# check if we had already covered comparison
851
+
ifcomparison_covered:
852
+
logging.error(
853
+
"--comparison-branch, --comparison-tag, --comparison-hash, --comparison-target-branch, and --comparison-target-table are mutually exclusive. Pick one..."
854
+
)
855
+
exit(1)
856
+
comparison_covered=True
857
+
by_str_comparison="target+branch"
858
+
comparison_str=comparison_target_branch
859
+
818
860
ifcomparison_hashisnotNone:
819
861
# check if we had already covered comparison
820
862
ifcomparison_covered:
821
863
logging.error(
822
-
"--comparison-branch, --comparison-tag, --comparison-hash, and --comparison-target-table are mutually exclusive. Pick one..."
864
+
"--comparison-branch, --comparison-tag, --comparison-hash, --comparison-target-branch, and --comparison-target-table are mutually exclusive. Pick one..."
823
865
)
824
866
exit(1)
825
867
comparison_covered=True
@@ -829,13 +871,13 @@ def get_by_strings(
829
871
ifbaseline_coveredisFalse:
830
872
logging.error(
831
873
"You need to provider either "
832
-
+"( --baseline-branch, --baseline-tag, --baseline-hash, or --baseline-target-version ) "
874
+
+"( --baseline-branch, --baseline-tag, --baseline-hash, --baseline-target-branch or --baseline-target-version ) "
833
875
)
834
876
exit(1)
835
877
ifcomparison_coveredisFalse:
836
878
logging.error(
837
879
"You need to provider either "
838
-
+"( --comparison-branch, --comparison-tag, --comparison-hash, or --comparison-target-version ) "
880
+
+"( --comparison-branch, --comparison-tag, --comparison-hash, --comparison-target-branch or --comparison-target-version ) "
description: 'Runs memtier_benchmark, for a keyspace length of 1 GEO key. The GEO key contains 2 elements and comes from the example of https://redis.io/docs/latest/commands/geopos, and we query it using GEOPOS command.'
description: 'Runs memtier_benchmark, for a keyspace length of 1 GEO key. The GEO key contains 2 elements and comes from the example of https://redis.io/docs/latest/commands/geosearch, and we query it using GEOSEARCH command.'
description: 'Runs memtier_benchmark, for a keyspace length of 1 SET key. The SET contains 100 elements in it and we query it using SISMEMBER in which the value is a member. '
description: 'Runs memtier_benchmark, for a keyspace length of 1 SET key. The SET contains 100 elements in it and we query it using SISMEMBER in which the value is not a member. '
0 commit comments