locust 2.32.2.dev38__py3-none-any.whl → 2.32.2.dev43__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.
- locust/_version.py +2 -2
- locust/html.py +2 -1
- locust/stats.py +4 -3
- {locust-2.32.2.dev38.dist-info → locust-2.32.2.dev43.dist-info}/METADATA +1 -1
- {locust-2.32.2.dev38.dist-info → locust-2.32.2.dev43.dist-info}/RECORD +8 -8
- {locust-2.32.2.dev38.dist-info → locust-2.32.2.dev43.dist-info}/LICENSE +0 -0
- {locust-2.32.2.dev38.dist-info → locust-2.32.2.dev43.dist-info}/WHEEL +0 -0
- {locust-2.32.2.dev38.dist-info → locust-2.32.2.dev43.dist-info}/entry_points.txt +0 -0
locust/_version.py
CHANGED
@@ -14,7 +14,7 @@ __version_tuple__: VERSION_TUPLE
|
|
14
14
|
version_tuple: VERSION_TUPLE
|
15
15
|
|
16
16
|
|
17
|
-
__version__ = "2.32.2.
|
17
|
+
__version__ = "2.32.2.dev43"
|
18
18
|
version = __version__
|
19
|
-
__version_tuple__ = (2, 32, 2, "
|
19
|
+
__version_tuple__ = (2, 32, 2, "dev43")
|
20
20
|
version_tuple = __version_tuple__
|
locust/html.py
CHANGED
@@ -53,7 +53,8 @@ def get_html_report(
|
|
53
53
|
{**exc, "nodes": ", ".join(exc["nodes"])} for exc in environment.runner.exceptions.values()
|
54
54
|
]
|
55
55
|
|
56
|
-
|
56
|
+
if stats.history and stats.history[-1]["time"] < end_time:
|
57
|
+
update_stats_history(environment.runner, end_time)
|
57
58
|
history = stats.history
|
58
59
|
|
59
60
|
is_distributed = isinstance(environment.runner, MasterRunner)
|
locust/stats.py
CHANGED
@@ -902,9 +902,9 @@ def sort_stats(stats: dict[Any, S]) -> list[S]:
|
|
902
902
|
return [stats[key] for key in sorted(stats.keys())]
|
903
903
|
|
904
904
|
|
905
|
-
def update_stats_history(runner: Runner) -> None:
|
905
|
+
def update_stats_history(runner: Runner, timestamp: str | None = None) -> None:
|
906
906
|
stats = runner.stats
|
907
|
-
timestamp = format_utc_timestamp(time.time())
|
907
|
+
timestamp = timestamp or format_utc_timestamp(time.time())
|
908
908
|
current_response_time_percentiles = {
|
909
909
|
f"response_time_percentile_{percentile}": [
|
910
910
|
timestamp,
|
@@ -929,7 +929,8 @@ def stats_history(runner: Runner) -> None:
|
|
929
929
|
while True:
|
930
930
|
if not runner.stats.total.use_response_times_cache:
|
931
931
|
break
|
932
|
-
|
932
|
+
|
933
|
+
if runner.state != "ready" and runner.state != "stopped":
|
933
934
|
update_stats_history(runner)
|
934
935
|
|
935
936
|
gevent.sleep(HISTORY_STATS_INTERVAL_SEC)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
locust/__init__.py,sha256=Jit8eNUrwuMLqavyFvMZr69e61DILq_KB4yT4MciScw,1681
|
2
2
|
locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
|
3
|
-
locust/_version.py,sha256=
|
3
|
+
locust/_version.py,sha256=THDLTpaqnXZ7bM_Zf51SBJ1mTcgAMo72wY6GekByzJs,460
|
4
4
|
locust/argument_parser.py,sha256=LuGP0vppUIYzbXI3PTIbB1USajbwwTGC_FqagkyG3Dg,29424
|
5
5
|
locust/clients.py,sha256=XK-xabq2_5GZKMEjebDobvEjeBTtCs8h2EelL7s68Qs,19346
|
6
6
|
locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -12,7 +12,7 @@ locust/dispatch.py,sha256=prdwtb9EoN4A9klgiKgWuwQmvFB8hEuFHOK6ot62AJI,16202
|
|
12
12
|
locust/env.py,sha256=URPRltUBdOdCCO1yb2WmE9JeUlI_SAm9l7cvR9j1c_s,13083
|
13
13
|
locust/event.py,sha256=AWoeG2q11Vpupv1eW9Rf2N0EI4dDDAldKe6zY1ajC7I,8717
|
14
14
|
locust/exception.py,sha256=jGgJ32ubuf4pWdlaVOkbh2Y0LlG0_DHi-lv3ib8ppOE,1791
|
15
|
-
locust/html.py,sha256=
|
15
|
+
locust/html.py,sha256=X9N8u42aHptcQdRZ5cLrBmDuXqRW0yXH_TaWPsWfweY,3691
|
16
16
|
locust/input_events.py,sha256=ZIyePyAMuA_YFYWg18g_pE4kwuQV3RbEB250MzXRwjY,3314
|
17
17
|
locust/log.py,sha256=Wrkn0Ibugh5Sqjm4hGQ2-jUsy1tNMBdTctp4FyXQI24,3457
|
18
18
|
locust/main.py,sha256=LEr4WaPCraEOF8mt0-FY8r1MveF6G9y6lsnRxm66PNc,29933
|
@@ -22,7 +22,7 @@ locust/rpc/protocol.py,sha256=n-rb3GZQcAlldYDj4E4GuFGylYj_26GSS5U29meft5Y,1282
|
|
22
22
|
locust/rpc/zmqrpc.py,sha256=_zl0DKazQLD2YyqxvyuskVApsDCaUnhloHvV8SkJxjw,3157
|
23
23
|
locust/runners.py,sha256=vO_2Nv7WHcHnUguIpNCBstSAln4Zg1S4ExfFoHQpo4A,70514
|
24
24
|
locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
|
25
|
-
locust/stats.py,sha256=
|
25
|
+
locust/stats.py,sha256=Ylw-uyt3cpeqy0Oi5kvcloVWgjJm62lu9lbWJfq2lHU,46061
|
26
26
|
locust/user/__init__.py,sha256=S2yvmI_AU9kXirtTIVqiV_Hs7yXzqXvaSgkNo9ig-fk,71
|
27
27
|
locust/user/inspectuser.py,sha256=KgrWHyE5jhK6or58R7soLRf-_st42AaQrR72qbiXw9E,2641
|
28
28
|
locust/user/sequential_taskset.py,sha256=SbrrGU9HV2nEWe6zQVtjymn8NgPISP7QSNoVdyoXjYg,2687
|
@@ -47,8 +47,8 @@ locust/webui/dist/auth.html,sha256=0fvb3-Y4J93meBMkvrOAMRt4hkF9lislJ2Tmc93urN4,6
|
|
47
47
|
locust/webui/dist/index.html,sha256=VawZBgQnz65gCIE8lCvhsvuXKc9kDc9DNiVrn9PV-08,654
|
48
48
|
locust/webui/dist/report.html,sha256=KUmkufa4Ob8GTqBmVtFnueZL8h76eEUMVnoL069cAcg,1471006
|
49
49
|
poetry.lock,sha256=NUOC8hV7YCL5kHXj3GF2Kb16DLRCXoZUjiWXPghYEyg,213450
|
50
|
-
locust-2.32.2.
|
51
|
-
locust-2.32.2.
|
52
|
-
locust-2.32.2.
|
53
|
-
locust-2.32.2.
|
54
|
-
locust-2.32.2.
|
50
|
+
locust-2.32.2.dev43.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
|
51
|
+
locust-2.32.2.dev43.dist-info/METADATA,sha256=prWa7rsFG6weglL8qZrJKQKKt6_t0BLtVR8bdb4Xhlk,7877
|
52
|
+
locust-2.32.2.dev43.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
53
|
+
locust-2.32.2.dev43.dist-info/entry_points.txt,sha256=RhIxlLwU_Ae_WjimS5COUDLagdCh6IOMyLtgaQxNmlM,43
|
54
|
+
locust-2.32.2.dev43.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|