redis-benchmarks-specification 0.1.246__py3-none-any.whl → 0.1.247__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of redis-benchmarks-specification might be problematic. Click here for more details.
- redis_benchmarks_specification/__compare__/compare.py +36 -4
- redis_benchmarks_specification/test-suites/defaults.yml +5 -1
- {redis_benchmarks_specification-0.1.246.dist-info → redis_benchmarks_specification-0.1.247.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.246.dist-info → redis_benchmarks_specification-0.1.247.dist-info}/RECORD +7 -7
- {redis_benchmarks_specification-0.1.246.dist-info → redis_benchmarks_specification-0.1.247.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.246.dist-info → redis_benchmarks_specification-0.1.247.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.246.dist-info → redis_benchmarks_specification-0.1.247.dist-info}/entry_points.txt +0 -0
|
@@ -569,7 +569,7 @@ def compute_regression_table(
|
|
|
569
569
|
verbose=False,
|
|
570
570
|
last_n_baseline=-1,
|
|
571
571
|
last_n_comparison=-1,
|
|
572
|
-
metric_mode="
|
|
572
|
+
metric_mode="lower-better",
|
|
573
573
|
from_date=None,
|
|
574
574
|
from_ts_ms=None,
|
|
575
575
|
to_date=None,
|
|
@@ -1019,6 +1019,8 @@ def from_rts_to_regression_table(
|
|
|
1019
1019
|
baseline_only_list = []
|
|
1020
1020
|
comparison_only_list = []
|
|
1021
1021
|
no_datapoints_list = []
|
|
1022
|
+
no_datapoints_baseline_list = []
|
|
1023
|
+
no_datapoints_comparison_list = []
|
|
1022
1024
|
original_metric_mode = metric_mode
|
|
1023
1025
|
for test_name in test_names:
|
|
1024
1026
|
metric_mode = original_metric_mode
|
|
@@ -1079,6 +1081,22 @@ def from_rts_to_regression_table(
|
|
|
1079
1081
|
if len(baseline_timeseries) > 1 and multi_value_baseline is False:
|
|
1080
1082
|
baseline_timeseries = get_only_Totals(baseline_timeseries)
|
|
1081
1083
|
|
|
1084
|
+
if len(baseline_timeseries) == 0:
|
|
1085
|
+
logging.warning(
|
|
1086
|
+
f"No datapoints for test={test_name} for baseline timeseries {baseline_timeseries}"
|
|
1087
|
+
)
|
|
1088
|
+
no_datapoints_baseline_list.append(test_name)
|
|
1089
|
+
if test_name not in no_datapoints_list:
|
|
1090
|
+
no_datapoints_list.append(test_name)
|
|
1091
|
+
|
|
1092
|
+
if len(comparison_timeseries) == 0:
|
|
1093
|
+
logging.warning(
|
|
1094
|
+
f"No datapoints for test={test_name} for comparison timeseries {comparison_timeseries}"
|
|
1095
|
+
)
|
|
1096
|
+
no_datapoints_comparison_list.append(test_name)
|
|
1097
|
+
if test_name not in no_datapoints_list:
|
|
1098
|
+
no_datapoints_list.append(test_name)
|
|
1099
|
+
|
|
1082
1100
|
if len(baseline_timeseries) != 1 and multi_value_baseline is False:
|
|
1083
1101
|
if verbose:
|
|
1084
1102
|
logging.warning(
|
|
@@ -1159,7 +1177,10 @@ def from_rts_to_regression_table(
|
|
|
1159
1177
|
# note = "waterline={:.1f}%.".format(largest_variance)
|
|
1160
1178
|
# waterline = largest_variance
|
|
1161
1179
|
|
|
1162
|
-
except redis.exceptions.ResponseError:
|
|
1180
|
+
except redis.exceptions.ResponseError as e:
|
|
1181
|
+
logging.error(
|
|
1182
|
+
"Detected a redis.exceptions.ResponseError. {}".format(e.__str__())
|
|
1183
|
+
)
|
|
1163
1184
|
pass
|
|
1164
1185
|
except ZeroDivisionError as e:
|
|
1165
1186
|
logging.error("Detected a ZeroDivisionError. {}".format(e.__str__()))
|
|
@@ -1201,7 +1222,7 @@ def from_rts_to_regression_table(
|
|
|
1201
1222
|
else:
|
|
1202
1223
|
# lower-better
|
|
1203
1224
|
percentage_change = (
|
|
1204
|
-
float(baseline_v)
|
|
1225
|
+
-(float(baseline_v) - float(comparison_v)) / float(baseline_v)
|
|
1205
1226
|
) * 100.0
|
|
1206
1227
|
else:
|
|
1207
1228
|
logging.warn(
|
|
@@ -1283,16 +1304,27 @@ def from_rts_to_regression_table(
|
|
|
1283
1304
|
logging.warning(
|
|
1284
1305
|
"There were no datapoints both for baseline and comparison for test: {test_name}"
|
|
1285
1306
|
)
|
|
1286
|
-
no_datapoints_list
|
|
1307
|
+
if test_name not in no_datapoints_list:
|
|
1308
|
+
no_datapoints_list.append(test_name)
|
|
1287
1309
|
logging.warning(
|
|
1288
1310
|
f"There is a total of {len(no_datapoints_list)} tests without datapoints for baseline AND comparison"
|
|
1289
1311
|
)
|
|
1290
1312
|
logging.info(
|
|
1291
1313
|
f"There is a total of {len(comparison_only_list)} tests without datapoints for baseline"
|
|
1292
1314
|
)
|
|
1315
|
+
print(
|
|
1316
|
+
"No datapoint baseline regex={test_names_str}".format(
|
|
1317
|
+
test_names_str="|".join(no_datapoints_baseline_list)
|
|
1318
|
+
)
|
|
1319
|
+
)
|
|
1293
1320
|
logging.info(
|
|
1294
1321
|
f"There is a total of {len(baseline_only_list)} tests without datapoints for comparison"
|
|
1295
1322
|
)
|
|
1323
|
+
print(
|
|
1324
|
+
"No datapoint comparison regex={test_names_str}".format(
|
|
1325
|
+
test_names_str="|".join(no_datapoints_comparison_list)
|
|
1326
|
+
)
|
|
1327
|
+
)
|
|
1296
1328
|
logging.info(f"There is a total of {len(unstable_list)} UNSTABLE tests")
|
|
1297
1329
|
return (
|
|
1298
1330
|
detected_regressions,
|
|
@@ -10,15 +10,19 @@ exporter:
|
|
|
10
10
|
- $."BEST RUN RESULTS".Totals."Latency"
|
|
11
11
|
- $."BEST RUN RESULTS".Totals."Misses/sec"
|
|
12
12
|
- $."BEST RUN RESULTS".Totals."Percentile Latencies"."p50.00"
|
|
13
|
+
- $."BEST RUN RESULTS".Totals."Percentile Latencies"."p99.00"
|
|
13
14
|
- $."WORST RUN RESULTS".Totals."Ops/sec"
|
|
14
15
|
- $."WORST RUN RESULTS".Totals."Latency"
|
|
15
16
|
- $."WORST RUN RESULTS".Totals."Misses/sec"
|
|
16
17
|
- $."WORST RUN RESULTS".Totals."Percentile Latencies"."p50.00"
|
|
18
|
+
- $."WORST RUN RESULTS".Totals."Percentile Latencies"."p99.00"
|
|
17
19
|
- $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Ops/sec"
|
|
18
20
|
- $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Latency"
|
|
19
21
|
- $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Misses/sec"
|
|
20
|
-
- $."AGGREGATED AVERAGE RESULTS (
|
|
22
|
+
- $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Percentile Latencies"."p50.00"
|
|
23
|
+
- $."AGGREGATED AVERAGE RESULTS (3 runs)".Totals."Percentile Latencies"."p99.00"
|
|
21
24
|
- $."ALL STATS".Totals."Ops/sec"
|
|
22
25
|
- $."ALL STATS".Totals."Latency"
|
|
23
26
|
- $."ALL STATS".Totals."Misses/sec"
|
|
24
27
|
- $."ALL STATS".Totals."Percentile Latencies"."p50.00"
|
|
28
|
+
- $."ALL STATS".Totals."Percentile Latencies"."p99.00"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.247
|
|
4
4
|
Summary: 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.
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -20,7 +20,7 @@ redis_benchmarks_specification/__common__/spec.py,sha256=eTF5559epBB0FrJPx-jRDQV
|
|
|
20
20
|
redis_benchmarks_specification/__common__/timeseries.py,sha256=_LJFtC5sVP7DTaLZaIzv5g7wRxPTQZRwFIYvWX4p4N8,50533
|
|
21
21
|
redis_benchmarks_specification/__compare__/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
22
22
|
redis_benchmarks_specification/__compare__/args.py,sha256=-vQco6WG73DJtUFA7s-5bNk05vwHjOc94puVKZMZUYE,6513
|
|
23
|
-
redis_benchmarks_specification/__compare__/compare.py,sha256=
|
|
23
|
+
redis_benchmarks_specification/__compare__/compare.py,sha256=0uv61Xlvlb7cUd6ZvIf1P3icj8xEe9FkPco7kuIGitI,53479
|
|
24
24
|
redis_benchmarks_specification/__init__.py,sha256=YQIEx2sLPPA0JR9OuCuMNMNtm-f_gqDKgzvNJnkGNKY,491
|
|
25
25
|
redis_benchmarks_specification/__runner__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
26
26
|
redis_benchmarks_specification/__runner__/args.py,sha256=lYvbPd_3ppHZv4f2sRwXcF-fcBrwRSn3H2RMmNVkojY,7221
|
|
@@ -49,7 +49,7 @@ redis_benchmarks_specification/setups/builders/gcc:8.5.0-amd64-debian-buster-def
|
|
|
49
49
|
redis_benchmarks_specification/setups/builders/gcc:8.5.0-arm64-debian-buster-default.yml,sha256=I6qEO7MZKduVx6xbBrRniE1i6NK9R8-uQXdQJT9o5G4,511
|
|
50
50
|
redis_benchmarks_specification/setups/platforms/aws-ec2-1node-c5.4xlarge.yml,sha256=l7HsjccpebwZXeutnt3SHSETw4iiRwQ9dCDXLOySSRQ,622
|
|
51
51
|
redis_benchmarks_specification/setups/topologies/topologies.yml,sha256=4h8e-zXA9-_iuJ2MsgldUnPKpHTUUD3BgLdZ9FsLPdI,3007
|
|
52
|
-
redis_benchmarks_specification/test-suites/defaults.yml,sha256=
|
|
52
|
+
redis_benchmarks_specification/test-suites/defaults.yml,sha256=CfNfn_nKTtVvbbTwmksJgLKzCzzBAm5SO7UAdrcqncg,1268
|
|
53
53
|
redis_benchmarks_specification/test-suites/generate.py,sha256=FApiWulMw-_2jhl1zqrLUnTnOk3Vm7YxC3oGdauhv3A,3835
|
|
54
54
|
redis_benchmarks_specification/test-suites/latency-rate-limited-10000_qps-memtier_benchmark-100Kkeys-hash-hgetall-50-fields-100B-values.yml,sha256=HSFrXsVcX1c69IsOaRgrcnJrKs-qaNrtuFLpKuykbWI,2182
|
|
55
55
|
redis_benchmarks_specification/test-suites/latency-rate-limited-10000_qps-memtier_benchmark-100Kkeys-load-hash-50-fields-with-1000B-values.yml,sha256=HbE7SDAJbF7t6J4ue58D3U6BT36q2RZKwRHunQn7AhA,1904
|
|
@@ -329,8 +329,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-mixed
|
|
|
329
329
|
redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-mixed-20-80-with-512B-values-pipeline-10-5200_conns.yml,sha256=4NHvtQR0UY-4iH4mPSUhJKrk-b5vSYtqZc2J7pm4vMA,1143
|
|
330
330
|
redis_benchmarks_specification/test-suites/memtier_benchmark-connection-hello.yml,sha256=VIFNaaAqRQMeDvtXmKGDpJTnu658Lv5i_oAju5uSi_c,708
|
|
331
331
|
redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
|
|
332
|
-
redis_benchmarks_specification-0.1.
|
|
333
|
-
redis_benchmarks_specification-0.1.
|
|
334
|
-
redis_benchmarks_specification-0.1.
|
|
335
|
-
redis_benchmarks_specification-0.1.
|
|
336
|
-
redis_benchmarks_specification-0.1.
|
|
332
|
+
redis_benchmarks_specification-0.1.247.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
333
|
+
redis_benchmarks_specification-0.1.247.dist-info/METADATA,sha256=4-472_bg8tn_XhVJ8dyc7FdTI9jd0SLirFkEOEbK8bA,22726
|
|
334
|
+
redis_benchmarks_specification-0.1.247.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
335
|
+
redis_benchmarks_specification-0.1.247.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
336
|
+
redis_benchmarks_specification-0.1.247.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|