open-aea-cli-benchmark 2.2.0__tar.gz → 2.2.1__tar.gz

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.
Files changed (62) hide show
  1. open_aea_cli_benchmark-2.2.1/PKG-INFO +88 -0
  2. open_aea_cli_benchmark-2.2.1/open_aea_cli_benchmark.egg-info/PKG-INFO +88 -0
  3. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/setup.py +10 -2
  4. open_aea_cli_benchmark-2.2.0/PKG-INFO +0 -44
  5. open_aea_cli_benchmark-2.2.0/open_aea_cli_benchmark.egg-info/PKG-INFO +0 -44
  6. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/LICENSE +0 -0
  7. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/MANIFEST.in +0 -0
  8. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/README.md +0 -0
  9. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/__init__.py +0 -0
  10. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_communication/__init__.py +0 -0
  11. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_communication/case.py +0 -0
  12. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_communication/command.py +0 -0
  13. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_communication/utils.py +0 -0
  14. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_startup/__init__.py +0 -0
  15. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_startup/case.py +0 -0
  16. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_startup/command.py +0 -0
  17. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_acn_startup/utils.py +0 -0
  18. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_agent_construction_time/__init__.py +0 -0
  19. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_agent_construction_time/case.py +0 -0
  20. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_agent_construction_time/command.py +0 -0
  21. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_decision_maker/__init__.py +0 -0
  22. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_decision_maker/case.py +0 -0
  23. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_decision_maker/command.py +0 -0
  24. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_dialogues_memory_usage/__init__.py +0 -0
  25. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_dialogues_memory_usage/case.py +0 -0
  26. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_dialogues_memory_usage/command.py +0 -0
  27. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_mem_usage/__init__.py +0 -0
  28. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_mem_usage/case.py +0 -0
  29. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_mem_usage/command.py +0 -0
  30. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_messages_memory_usage/__init__.py +0 -0
  31. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_messages_memory_usage/case.py +0 -0
  32. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_messages_memory_usage/command.py +0 -0
  33. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_multiagent/__init__.py +0 -0
  34. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_multiagent/case.py +0 -0
  35. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_multiagent/command.py +0 -0
  36. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_multiagent_http_dialogues/__init__.py +0 -0
  37. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_multiagent_http_dialogues/case.py +0 -0
  38. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_multiagent_http_dialogues/command.py +0 -0
  39. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_proactive/__init__.py +0 -0
  40. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_proactive/case.py +0 -0
  41. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_proactive/command.py +0 -0
  42. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_reactive/__init__.py +0 -0
  43. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_reactive/case.py +0 -0
  44. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_reactive/command.py +0 -0
  45. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_tx_generate/__init__.py +0 -0
  46. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_tx_generate/case.py +0 -0
  47. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_tx_generate/command.py +0 -0
  48. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_tx_generate/core.py +0 -0
  49. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_tx_generate/dialogues.py +0 -0
  50. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_tx_generate/docker_image.py +0 -0
  51. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/case_tx_generate/ledger_utils.py +0 -0
  52. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/core.py +0 -0
  53. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/py.typed +0 -0
  54. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/aea_cli_benchmark/utils.py +0 -0
  55. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/open_aea_cli_benchmark.egg-info/SOURCES.txt +0 -0
  56. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/open_aea_cli_benchmark.egg-info/dependency_links.txt +0 -0
  57. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/open_aea_cli_benchmark.egg-info/entry_points.txt +0 -0
  58. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/open_aea_cli_benchmark.egg-info/requires.txt +0 -0
  59. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/open_aea_cli_benchmark.egg-info/top_level.txt +0 -0
  60. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/pyproject.toml +0 -0
  61. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/setup.cfg +0 -0
  62. {open_aea_cli_benchmark-2.2.0 → open_aea_cli_benchmark-2.2.1}/tests/__init__.py +0 -0
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.4
2
+ Name: open-aea-cli-benchmark
3
+ Version: 2.2.1
4
+ Summary: CLI extension for AEA framework benchmarking.
5
+ Author: Valory AG
6
+ License: Apache-2.0
7
+ Classifier: Environment :: Console
8
+ Classifier: Environment :: Web Environment
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Natural Language :: English
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Operating System :: Microsoft
15
+ Classifier: Operating System :: Unix
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Communications
22
+ Classifier: Topic :: Internet
23
+ Classifier: Topic :: Software Development
24
+ Requires-Python: >=3.10,<3.15
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: open-aea<3.0.0,>=2.0.0
28
+ Requires-Dist: psutil<6.0.0,>=5.7.0
29
+ Requires-Dist: click<8.4.0,>=8.1.0
30
+ Requires-Dist: cosmpy<0.12,>=0.11.0
31
+ Provides-Extra: tx-generate
32
+ Requires-Dist: docker==7.1.0; extra == "tx-generate"
33
+ Dynamic: author
34
+ Dynamic: classifier
35
+ Dynamic: description
36
+ Dynamic: description-content-type
37
+ Dynamic: license
38
+ Dynamic: license-file
39
+ Dynamic: provides-extra
40
+ Dynamic: requires-dist
41
+ Dynamic: requires-python
42
+ Dynamic: summary
43
+
44
+ # AEA CLI Benchmark Plug-in
45
+
46
+ CLI extension for benchmarking the AEA framework. Adds an `aea benchmark` command group that runs performance benchmark cases covering agent construction, message throughput, memory usage, decision maker, ACN, and related scenarios.
47
+
48
+ ## Installation and usage
49
+
50
+ Make sure you have `aea` installed.
51
+
52
+ Then, install the plug-in:
53
+ ```bash
54
+ pip install open-aea-cli-benchmark
55
+ ```
56
+
57
+ The `tx-generate` case spins up a dockerised fetchai ledger node and is therefore an optional extra. Install it with:
58
+ ```bash
59
+ pip install "open-aea-cli-benchmark[tx-generate]"
60
+ ```
61
+ Without the `[tx-generate]` extra the `tx-generate` command is not registered and the rest of the benchmark commands work as normal.
62
+
63
+ Now you should be able to run `aea benchmark`:
64
+
65
+ ```bash
66
+ Usage: aea benchmark [OPTIONS] COMMAND [ARGS]...
67
+
68
+ Run one of the performance benchmarks.
69
+
70
+ Options:
71
+ --help Show this message and exit.
72
+
73
+ Commands:
74
+ acn-communication ACN end-to-end message throughput
75
+ acn-startup ACN node startup time
76
+ agent-construction-time Time to construct an AEA instance
77
+ decision-maker Decision maker throughput
78
+ dialogues-memory-usage Memory footprint of dialogue state
79
+ mem-usage Agent memory usage under load
80
+ messages-memory-usage Memory footprint of messages
81
+ multiagent Multi-agent throughput
82
+ multiagent-http-dialogues Multi-agent HTTP dialogue throughput
83
+ proactive Proactive skill behaviour benchmark
84
+ reactive Reactive skill handler benchmark
85
+ tx-generate Transaction generation throughput (requires the [tx-generate] extra)
86
+ ```
87
+
88
+ Run any command with `--help` for per-case options.
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.4
2
+ Name: open-aea-cli-benchmark
3
+ Version: 2.2.1
4
+ Summary: CLI extension for AEA framework benchmarking.
5
+ Author: Valory AG
6
+ License: Apache-2.0
7
+ Classifier: Environment :: Console
8
+ Classifier: Environment :: Web Environment
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Natural Language :: English
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Operating System :: Microsoft
15
+ Classifier: Operating System :: Unix
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Communications
22
+ Classifier: Topic :: Internet
23
+ Classifier: Topic :: Software Development
24
+ Requires-Python: >=3.10,<3.15
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: open-aea<3.0.0,>=2.0.0
28
+ Requires-Dist: psutil<6.0.0,>=5.7.0
29
+ Requires-Dist: click<8.4.0,>=8.1.0
30
+ Requires-Dist: cosmpy<0.12,>=0.11.0
31
+ Provides-Extra: tx-generate
32
+ Requires-Dist: docker==7.1.0; extra == "tx-generate"
33
+ Dynamic: author
34
+ Dynamic: classifier
35
+ Dynamic: description
36
+ Dynamic: description-content-type
37
+ Dynamic: license
38
+ Dynamic: license-file
39
+ Dynamic: provides-extra
40
+ Dynamic: requires-dist
41
+ Dynamic: requires-python
42
+ Dynamic: summary
43
+
44
+ # AEA CLI Benchmark Plug-in
45
+
46
+ CLI extension for benchmarking the AEA framework. Adds an `aea benchmark` command group that runs performance benchmark cases covering agent construction, message throughput, memory usage, decision maker, ACN, and related scenarios.
47
+
48
+ ## Installation and usage
49
+
50
+ Make sure you have `aea` installed.
51
+
52
+ Then, install the plug-in:
53
+ ```bash
54
+ pip install open-aea-cli-benchmark
55
+ ```
56
+
57
+ The `tx-generate` case spins up a dockerised fetchai ledger node and is therefore an optional extra. Install it with:
58
+ ```bash
59
+ pip install "open-aea-cli-benchmark[tx-generate]"
60
+ ```
61
+ Without the `[tx-generate]` extra the `tx-generate` command is not registered and the rest of the benchmark commands work as normal.
62
+
63
+ Now you should be able to run `aea benchmark`:
64
+
65
+ ```bash
66
+ Usage: aea benchmark [OPTIONS] COMMAND [ARGS]...
67
+
68
+ Run one of the performance benchmarks.
69
+
70
+ Options:
71
+ --help Show this message and exit.
72
+
73
+ Commands:
74
+ acn-communication ACN end-to-end message throughput
75
+ acn-startup ACN node startup time
76
+ agent-construction-time Time to construct an AEA instance
77
+ decision-maker Decision maker throughput
78
+ dialogues-memory-usage Memory footprint of dialogue state
79
+ mem-usage Agent memory usage under load
80
+ messages-memory-usage Memory footprint of messages
81
+ multiagent Multi-agent throughput
82
+ multiagent-http-dialogues Multi-agent HTTP dialogue throughput
83
+ proactive Proactive skill behaviour benchmark
84
+ reactive Reactive skill handler benchmark
85
+ tx-generate Transaction generation throughput (requires the [tx-generate] extra)
86
+ ```
87
+
88
+ Run any command with `--help` for per-case options.
@@ -20,15 +20,23 @@
20
20
  # ------------------------------------------------------------------------------
21
21
  """Setup script for the plug-in."""
22
22
 
23
+ from pathlib import Path
24
+
23
25
  from setuptools import find_packages, setup # type: ignore
24
26
 
27
+
28
+ def _read_long_description() -> str:
29
+ """Read the plugin README as the PyPI long description."""
30
+ return (Path(__file__).parent / "README.md").read_text(encoding="utf-8")
31
+
32
+
25
33
  setup(
26
34
  name="open-aea-cli-benchmark",
27
- version="2.2.0",
35
+ version="2.2.1",
28
36
  author="Valory AG",
29
37
  license="Apache-2.0",
30
38
  description="CLI extension for AEA framework benchmarking.",
31
- long_description="CLI extension for AEA framework benchmarking.",
39
+ long_description=_read_long_description(),
32
40
  long_description_content_type="text/markdown",
33
41
  packages=find_packages(include=["aea_cli_benchmark*"]),
34
42
  package_data={"aea_cli_benchmark": ["py.typed"]},
@@ -1,44 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: open-aea-cli-benchmark
3
- Version: 2.2.0
4
- Summary: CLI extension for AEA framework benchmarking.
5
- Author: Valory AG
6
- License: Apache-2.0
7
- Classifier: Environment :: Console
8
- Classifier: Environment :: Web Environment
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Developers
11
- Classifier: License :: OSI Approved :: Apache Software License
12
- Classifier: Natural Language :: English
13
- Classifier: Operating System :: MacOS
14
- Classifier: Operating System :: Microsoft
15
- Classifier: Operating System :: Unix
16
- Classifier: Programming Language :: Python :: 3.10
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Programming Language :: Python :: 3.13
20
- Classifier: Programming Language :: Python :: 3.14
21
- Classifier: Topic :: Communications
22
- Classifier: Topic :: Internet
23
- Classifier: Topic :: Software Development
24
- Requires-Python: >=3.10,<3.15
25
- Description-Content-Type: text/markdown
26
- License-File: LICENSE
27
- Requires-Dist: open-aea<3.0.0,>=2.0.0
28
- Requires-Dist: psutil<6.0.0,>=5.7.0
29
- Requires-Dist: click<8.4.0,>=8.1.0
30
- Requires-Dist: cosmpy<0.12,>=0.11.0
31
- Provides-Extra: tx-generate
32
- Requires-Dist: docker==7.1.0; extra == "tx-generate"
33
- Dynamic: author
34
- Dynamic: classifier
35
- Dynamic: description
36
- Dynamic: description-content-type
37
- Dynamic: license
38
- Dynamic: license-file
39
- Dynamic: provides-extra
40
- Dynamic: requires-dist
41
- Dynamic: requires-python
42
- Dynamic: summary
43
-
44
- CLI extension for AEA framework benchmarking.
@@ -1,44 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: open-aea-cli-benchmark
3
- Version: 2.2.0
4
- Summary: CLI extension for AEA framework benchmarking.
5
- Author: Valory AG
6
- License: Apache-2.0
7
- Classifier: Environment :: Console
8
- Classifier: Environment :: Web Environment
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Developers
11
- Classifier: License :: OSI Approved :: Apache Software License
12
- Classifier: Natural Language :: English
13
- Classifier: Operating System :: MacOS
14
- Classifier: Operating System :: Microsoft
15
- Classifier: Operating System :: Unix
16
- Classifier: Programming Language :: Python :: 3.10
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Programming Language :: Python :: 3.13
20
- Classifier: Programming Language :: Python :: 3.14
21
- Classifier: Topic :: Communications
22
- Classifier: Topic :: Internet
23
- Classifier: Topic :: Software Development
24
- Requires-Python: >=3.10,<3.15
25
- Description-Content-Type: text/markdown
26
- License-File: LICENSE
27
- Requires-Dist: open-aea<3.0.0,>=2.0.0
28
- Requires-Dist: psutil<6.0.0,>=5.7.0
29
- Requires-Dist: click<8.4.0,>=8.1.0
30
- Requires-Dist: cosmpy<0.12,>=0.11.0
31
- Provides-Extra: tx-generate
32
- Requires-Dist: docker==7.1.0; extra == "tx-generate"
33
- Dynamic: author
34
- Dynamic: classifier
35
- Dynamic: description
36
- Dynamic: description-content-type
37
- Dynamic: license
38
- Dynamic: license-file
39
- Dynamic: provides-extra
40
- Dynamic: requires-dist
41
- Dynamic: requires-python
42
- Dynamic: summary
43
-
44
- CLI extension for AEA framework benchmarking.