locust 2.31.6.dev13__py3-none-any.whl → 2.31.6.dev16__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 CHANGED
@@ -14,7 +14,7 @@ __version_tuple__: VERSION_TUPLE
14
14
  version_tuple: VERSION_TUPLE
15
15
 
16
16
 
17
- __version__ = "2.31.6.dev13"
17
+ __version__ = "2.31.6.dev16"
18
18
  version = __version__
19
- __version_tuple__ = (2, 31, 6, "dev13")
19
+ __version_tuple__ = (2, 31, 6, "dev16")
20
20
  version_tuple = __version_tuple__
locust/dispatch.py CHANGED
@@ -29,7 +29,7 @@ def _kl_generator(users: Iterable[tuple[T, float]]) -> Generator[T | None]:
29
29
  For example, given users A, B with weights 5 and 1 respectively,
30
30
  this algorithm will yield AAABAAAAABAA.
31
31
  """
32
- heap = [(x * log2(x / (x + 1.0)), x + 1.0, x, name) for name, x in users]
32
+ heap = [(x * log2(x / (x + 1.0)), x + 1.0, x, name) for name, x in users if x > 0]
33
33
  if not heap:
34
34
  while True:
35
35
  yield None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: locust
3
- Version: 2.31.6.dev13
3
+ Version: 2.31.6.dev16
4
4
  Summary: Developer-friendly load testing framework
5
5
  Home-page: https://locust.io/
6
6
  License: MIT
@@ -1,13 +1,13 @@
1
1
  locust/__init__.py,sha256=Jit8eNUrwuMLqavyFvMZr69e61DILq_KB4yT4MciScw,1681
2
2
  locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
3
- locust/_version.py,sha256=oSL4SQA2BxE7mcBHMHZJtxxCMDQ0f7m534IQ5h28ouQ,460
3
+ locust/_version.py,sha256=Dx4fj2cRyHwpi51FnTekZH8pL4z3-foVDXUfCIXJzlo,460
4
4
  locust/argument_parser.py,sha256=V0EI7vVvAFLX68ntjRg6qGr2hXSLJgQ0y743zvurwA8,29008
5
5
  locust/clients.py,sha256=XK-xabq2_5GZKMEjebDobvEjeBTtCs8h2EelL7s68Qs,19346
6
6
  locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  locust/contrib/fasthttp.py,sha256=qKgUyaH1AppEj64LzcMu67tzS5yls8mELkKs-N5pEtQ,28431
8
8
  locust/contrib/postgres.py,sha256=OuMWnGYN10K65Tq2axVESEW25Y0g5gJb0rK90jkcCJg,1230
9
9
  locust/debug.py,sha256=We6Z9W0btkKSc7PxWmrZx-xMynvOOsKhG6jmDgQin0g,5134
10
- locust/dispatch.py,sha256=KPjyUFxXuK3u7nOvJs5ZB7KWKUlyvxHCPE3SWTddOiY,16193
10
+ locust/dispatch.py,sha256=prdwtb9EoN4A9klgiKgWuwQmvFB8hEuFHOK6ot62AJI,16202
11
11
  locust/env.py,sha256=e5FNcpoftv8G0D86cR1t1cXatumBmCIDA7DbR1JjOSw,13000
12
12
  locust/event.py,sha256=AWoeG2q11Vpupv1eW9Rf2N0EI4dDDAldKe6zY1ajC7I,8717
13
13
  locust/exception.py,sha256=jGgJ32ubuf4pWdlaVOkbh2Y0LlG0_DHi-lv3ib8ppOE,1791
@@ -46,8 +46,8 @@ locust/webui/dist/auth.html,sha256=lFK2hUASKiH4veqEKI8SVpVcv75L07iLgdsx1usfPRo,6
46
46
  locust/webui/dist/index.html,sha256=w1ar7WpzWHSVkgoL5n6IPCOvAgWfmOChoYofr2xsey0,654
47
47
  locust/webui/dist/report.html,sha256=bjpe_eyweJLqLk7REsQOdOPp7e8PoGRajD5P8gIJeNE,1472409
48
48
  poetry.lock,sha256=SYexv51dGkbiljj9e0x0LVzQ0-gxKn31hwhFTO2t298,205000
49
- locust-2.31.6.dev13.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
50
- locust-2.31.6.dev13.dist-info/METADATA,sha256=SY1YDfItyQjeULkYZjLj2-zKtB8qCoReONGOCZsHoYk,7725
51
- locust-2.31.6.dev13.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
52
- locust-2.31.6.dev13.dist-info/entry_points.txt,sha256=RhIxlLwU_Ae_WjimS5COUDLagdCh6IOMyLtgaQxNmlM,43
53
- locust-2.31.6.dev13.dist-info/RECORD,,
49
+ locust-2.31.6.dev16.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
50
+ locust-2.31.6.dev16.dist-info/METADATA,sha256=kK8QpFL8d1Pqrr0KHL4Xc809GvPFr7mCbWLRNG0hSpA,7725
51
+ locust-2.31.6.dev16.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
52
+ locust-2.31.6.dev16.dist-info/entry_points.txt,sha256=RhIxlLwU_Ae_WjimS5COUDLagdCh6IOMyLtgaQxNmlM,43
53
+ locust-2.31.6.dev16.dist-info/RECORD,,