Open maurerle opened 2 weeks ago
Attention: Patch coverage is 67.85714%
with 27 lines
in your changes missing coverage. Please review.
Project coverage is 77.77%. Comparing base (
bf809da
) to head (3d2d2a7
).
Files | Patch % | Lines |
---|---|---|
assume/world.py | 51.02% | 24 Missing :warning: |
assume/scenario/loader_csv.py | 91.42% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This adds a CLI param
-p
or--parallell
which runs each agent on a separate process in its own world. This allocates port 9100 and following (one per UnitsOperator).In scenarios with few unitsoperators this does not have any benefit and might slow things down as well, though it helps for larger ones:
one can compare
assume -s example_02 -p
(5000 it/s) with the serialized versionassume -s example_02
(2000 it/s). While it does slow things down when usingassume
(100000 it/s) vsassume -p
(78000 it/s)