locust 2.29.2.dev32__py3-none-any.whl → 2.29.2.dev34__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/stats.py +4 -17
- {locust-2.29.2.dev32.dist-info → locust-2.29.2.dev34.dist-info}/METADATA +1 -1
- {locust-2.29.2.dev32.dist-info → locust-2.29.2.dev34.dist-info}/RECORD +8 -8
- {locust-2.29.2.dev32.dist-info → locust-2.29.2.dev34.dist-info}/LICENSE +0 -0
- {locust-2.29.2.dev32.dist-info → locust-2.29.2.dev34.dist-info}/WHEEL +0 -0
- {locust-2.29.2.dev32.dist-info → locust-2.29.2.dev34.dist-info}/entry_points.txt +0 -0
- {locust-2.29.2.dev32.dist-info → locust-2.29.2.dev34.dist-info}/top_level.txt +0 -0
locust/_version.py
CHANGED
@@ -12,5 +12,5 @@ __version__: str
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
13
13
|
version_tuple: VERSION_TUPLE
|
14
14
|
|
15
|
-
__version__ = version = '2.29.2.
|
16
|
-
__version_tuple__ = version_tuple = (2, 29, 2, '
|
15
|
+
__version__ = version = '2.29.2.dev34'
|
16
|
+
__version_tuple__ = version_tuple = (2, 29, 2, 'dev34')
|
locust/stats.py
CHANGED
@@ -9,25 +9,12 @@ import signal
|
|
9
9
|
import time
|
10
10
|
from abc import abstractmethod
|
11
11
|
from collections import OrderedDict, defaultdict, namedtuple
|
12
|
-
from collections import (
|
13
|
-
OrderedDict as OrderedDictType,
|
14
|
-
)
|
15
12
|
from collections.abc import Iterable
|
16
13
|
from copy import copy
|
17
14
|
from html import escape
|
18
15
|
from itertools import chain
|
19
|
-
from tempfile import NamedTemporaryFile
|
20
16
|
from types import FrameType
|
21
|
-
from typing import
|
22
|
-
TYPE_CHECKING,
|
23
|
-
Any,
|
24
|
-
Callable,
|
25
|
-
NoReturn,
|
26
|
-
Protocol,
|
27
|
-
TypedDict,
|
28
|
-
TypeVar,
|
29
|
-
cast,
|
30
|
-
)
|
17
|
+
from typing import TYPE_CHECKING, Any, Callable, NoReturn, Protocol, TypedDict, TypeVar, cast
|
31
18
|
|
32
19
|
import gevent
|
33
20
|
|
@@ -319,12 +306,12 @@ class StatsEntry:
|
|
319
306
|
A {response_time => count} dict that holds the response time distribution of all
|
320
307
|
the requests.
|
321
308
|
|
322
|
-
The keys (the response time in ms) are rounded to store 1, 2, ...
|
323
|
-
|
309
|
+
The keys (the response time in ms) are rounded to store 1, 2, ... 98, 99, 100, 110, 120, ... 980, 990, 1000,
|
310
|
+
1100, 1200, ... 9800, 9900, 10_000, 11_000, 12_000 ... in order to save memory.
|
324
311
|
|
325
312
|
This dict is used to calculate the median and percentile response times.
|
326
313
|
"""
|
327
|
-
self.response_times_cache:
|
314
|
+
self.response_times_cache: OrderedDict[int, CachedResponseTimes] | None = None
|
328
315
|
"""
|
329
316
|
If use_response_times_cache is set to True, this will be a {timestamp => CachedResponseTimes()}
|
330
317
|
OrderedDict that holds a copy of the response_times dict for each of the last 20 seconds.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
locust/__init__.py,sha256=Hmw2vNf75eLQ1mQIPXAwlQrJ_XFY65MOb92fGsNCukQ,1458
|
2
2
|
locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
|
3
|
-
locust/_version.py,sha256=
|
3
|
+
locust/_version.py,sha256=JBB9SnH1JVeprCyiBeHwUccW_DTDmJF3v1M32Sj6GuA,428
|
4
4
|
locust/argument_parser.py,sha256=sjQoJ1NTac9LdNYT7zn8RajlWqBQs8YFNv6uRExb2gg,28941
|
5
5
|
locust/clients.py,sha256=OHPv6hBAt4gt3HI67yqyT1qrSsF8uMdCwIRu0kIsRWI,19491
|
6
6
|
locust/debug.py,sha256=We6Z9W0btkKSc7PxWmrZx-xMynvOOsKhG6jmDgQin0g,5134
|
@@ -15,7 +15,7 @@ locust/main.py,sha256=NGjL5QqakU5aeyUzwu2Fh00xVZfC3eoBE3DtfOmRtcM,27854
|
|
15
15
|
locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
|
16
16
|
locust/runners.py,sha256=otH-ZxTygBRXN46Nmocs5ac8R4b0MsnKAUcHRwVnD1E,69869
|
17
17
|
locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
|
18
|
-
locust/stats.py,sha256=
|
18
|
+
locust/stats.py,sha256=KLVIdw-jh09u75JFucl7PHXNktAnPnQx-DrV_rUH5xM,45772
|
19
19
|
locust/web.py,sha256=rN1NVeZ9LKSEeDwvpRbOJ0bcy8U1U4VjP-7vK7ejlwM,27367
|
20
20
|
locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
21
|
locust/contrib/fasthttp.py,sha256=tcCeXkDou-WlQwdXhj0Wt29sS9gDrqyA2aA9BMqTzeY,28501
|
@@ -71,9 +71,9 @@ locust/webui/dist/report.html,sha256=sOdZZVgZbqgu86BBCSQf3uQUYXgmgSnXF32JpnyAII8
|
|
71
71
|
locust/webui/dist/assets/favicon.ico,sha256=IUl-rYqfpHdV38e-s0bkmFIeLS-n3Ug0DQxk-h202hI,8348
|
72
72
|
locust/webui/dist/assets/index-e9ad42b4.js,sha256=aXKF6Qug5b9n5e160A0PFvM0qgJQgVwtwQhLwCsek-4,1647570
|
73
73
|
locust/webui/dist/assets/logo.png,sha256=EIVPqr6wE_yqguHaqFHIsH0ZACLSrvNWyYO7PbyIj4w,19299
|
74
|
-
locust-2.29.2.
|
75
|
-
locust-2.29.2.
|
76
|
-
locust-2.29.2.
|
77
|
-
locust-2.29.2.
|
78
|
-
locust-2.29.2.
|
79
|
-
locust-2.29.2.
|
74
|
+
locust-2.29.2.dev34.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
|
75
|
+
locust-2.29.2.dev34.dist-info/METADATA,sha256=JxBhCMRud-_bXYMsQ-Bbo6Gs9yXAEKQCdfo40CmNP1Q,7390
|
76
|
+
locust-2.29.2.dev34.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
77
|
+
locust-2.29.2.dev34.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
|
78
|
+
locust-2.29.2.dev34.dist-info/top_level.txt,sha256=XSsjgPA8Ggf9TqKVbkwSqZFuPlZ085X13M9orDycE20,7
|
79
|
+
locust-2.29.2.dev34.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|