open-aea-cli-benchmark 2.0.8__tar.gz → 2.1.0__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 (60) hide show
  1. {open_aea_cli_benchmark-2.0.8/open_aea_cli_benchmark.egg-info → open_aea_cli_benchmark-2.1.0}/PKG-INFO +4 -1
  2. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_communication/case.py +2 -1
  3. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_communication/command.py +1 -2
  4. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_communication/utils.py +2 -2
  5. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_startup/case.py +2 -1
  6. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_startup/command.py +1 -2
  7. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_startup/utils.py +2 -2
  8. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_agent_construction_time/case.py +2 -2
  9. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_decision_maker/case.py +5 -2
  10. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_decision_maker/command.py +2 -2
  11. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_dialogues_memory_usage/case.py +2 -1
  12. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_dialogues_memory_usage/command.py +2 -2
  13. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_mem_usage/case.py +2 -1
  14. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_mem_usage/command.py +2 -2
  15. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_messages_memory_usage/case.py +2 -1
  16. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_messages_memory_usage/command.py +2 -2
  17. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_multiagent/case.py +2 -1
  18. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_multiagent/command.py +2 -2
  19. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_multiagent_http_dialogues/case.py +2 -1
  20. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_multiagent_http_dialogues/command.py +2 -2
  21. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_proactive/case.py +2 -1
  22. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_proactive/command.py +2 -2
  23. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_reactive/case.py +2 -1
  24. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_reactive/command.py +2 -2
  25. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_tx_generate/case.py +5 -3
  26. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_tx_generate/command.py +2 -2
  27. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_tx_generate/core.py +2 -1
  28. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_tx_generate/dialogues.py +5 -3
  29. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_tx_generate/docker_image.py +2 -2
  30. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_tx_generate/ledger_utils.py +2 -2
  31. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/core.py +2 -1
  32. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/utils.py +2 -2
  33. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0/open_aea_cli_benchmark.egg-info}/PKG-INFO +4 -1
  34. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/setup.py +4 -2
  35. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/LICENSE +0 -0
  36. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/MANIFEST.in +0 -0
  37. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/README.md +0 -0
  38. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/__init__.py +0 -0
  39. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_communication/__init__.py +0 -0
  40. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_acn_startup/__init__.py +0 -0
  41. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_agent_construction_time/__init__.py +0 -0
  42. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_agent_construction_time/command.py +0 -0
  43. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_decision_maker/__init__.py +0 -0
  44. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_dialogues_memory_usage/__init__.py +0 -0
  45. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_mem_usage/__init__.py +0 -0
  46. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_messages_memory_usage/__init__.py +0 -0
  47. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_multiagent/__init__.py +0 -0
  48. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_multiagent_http_dialogues/__init__.py +0 -0
  49. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_proactive/__init__.py +0 -0
  50. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_reactive/__init__.py +0 -0
  51. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/case_tx_generate/__init__.py +0 -0
  52. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/aea_cli_benchmark/py.typed +0 -0
  53. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/open_aea_cli_benchmark.egg-info/SOURCES.txt +0 -0
  54. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/open_aea_cli_benchmark.egg-info/dependency_links.txt +0 -0
  55. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/open_aea_cli_benchmark.egg-info/entry_points.txt +0 -0
  56. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/open_aea_cli_benchmark.egg-info/requires.txt +0 -0
  57. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/open_aea_cli_benchmark.egg-info/top_level.txt +0 -0
  58. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/pyproject.toml +0 -0
  59. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/setup.cfg +0 -0
  60. {open_aea_cli_benchmark-2.0.8 → open_aea_cli_benchmark-2.1.0}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-aea-cli-benchmark
3
- Version: 2.0.8
3
+ Version: 2.1.0
4
4
  Summary: CLI extension for AEA framework benchmarking.
5
5
  Author: Valory AG
6
6
  License: Apache-2.0
@@ -15,6 +15,9 @@ Classifier: Operating System :: Microsoft
15
15
  Classifier: Operating System :: Unix
16
16
  Classifier: Programming Language :: Python :: 3.10
17
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
18
21
  Classifier: Topic :: Communications
19
22
  Classifier: Topic :: Internet
20
23
  Classifier: Topic :: Software Development
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Check amount of time for acn connection communications."""
21
+
21
22
  import asyncio
22
23
  import logging
23
24
  import os
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -30,7 +30,6 @@ from aea_cli_benchmark.utils import (
30
30
  with_packages,
31
31
  )
32
32
 
33
-
34
33
  PACKAGES = [
35
34
  ("protocol", "valory/acn"),
36
35
  ("protocol", "fetchai/default"),
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2025 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Check amount of time for acn connection start."""
21
+
21
22
  import os
22
23
  from pathlib import Path
23
24
  from typing import Optional, Sequence, Union
@@ -49,7 +50,6 @@ from packages.valory.connections.p2p_libp2p_mailbox.connection import (
49
50
  P2PLibp2pMailboxConnection,
50
51
  )
51
52
 
52
-
53
53
  DEFAULT_DELEGATE_PORT = 11234
54
54
  DEFAULT_MAILBOX_PORT = 8888
55
55
  DEFAULT_NODE_PORT = 10234
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Check amount of time for acn connection start."""
21
+
21
22
  import asyncio
22
23
  import logging
23
24
  import os
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -30,7 +30,6 @@ from aea_cli_benchmark.utils import (
30
30
  with_packages,
31
31
  )
32
32
 
33
-
34
33
  PACKAGES = [
35
34
  ("protocol", "valory/acn"),
36
35
  ("connection", "valory/p2p_libp2p"),
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2025 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Check amount of time for acn connection start."""
21
+
21
22
  import os
22
23
  from pathlib import Path
23
24
  from typing import Optional, Sequence, Union
@@ -49,7 +50,6 @@ from packages.valory.connections.p2p_libp2p_mailbox.connection import (
49
50
  P2PLibp2pMailboxConnection,
50
51
  )
51
52
 
52
-
53
53
  DEFAULT_DELEGATE_PORT = 11234
54
54
  DEFAULT_MAILBOX_PORT = 8888
55
55
  DEFAULT_NODE_PORT = 10234
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Check amount of time and mem for agent setup."""
21
+
21
22
  import os
22
23
  import time
23
24
  from pathlib import Path
@@ -31,7 +32,6 @@ from click.testing import CliRunner
31
32
  from aea import AEA_DIR as _AEA_DIR
32
33
  from aea.aea_builder import AEABuilder
33
34
 
34
-
35
35
  AEA_DIR = Path(_AEA_DIR)
36
36
  PACKAGES_DIR = AEA_DIR.parent / "packages"
37
37
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2025 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage check."""
21
+
21
22
  import time
22
23
  from pathlib import Path
23
24
  from tempfile import TemporaryDirectory
@@ -37,7 +38,9 @@ from aea.identity.base import Identity
37
38
  from aea.protocols.base import Message
38
39
  from aea.protocols.dialogue.base import Dialogue as BaseDialogue
39
40
 
40
- from packages.open_aea.protocols.signing.dialogues import SigningDialogue
41
+ from packages.open_aea.protocols.signing.dialogues import (
42
+ SigningDialogue,
43
+ )
41
44
  from packages.open_aea.protocols.signing.dialogues import (
42
45
  SigningDialogues as BaseSigningDialogues,
43
46
  )
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage check."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -29,7 +30,6 @@ from aea_cli_benchmark.utils import (
29
30
  with_packages,
30
31
  )
31
32
 
32
-
33
33
  PACKAGES = [("protocol", "open_aea/signing")]
34
34
 
35
35
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage of dialogues across the time."""
21
+
21
22
  import time
22
23
  import uuid
23
24
  from typing import List, Tuple, Union, cast
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage of dialogues across the time."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -29,7 +30,6 @@ from aea_cli_benchmark.utils import (
29
30
  with_packages,
30
31
  )
31
32
 
32
-
33
33
  PACKAGES = [("protocol", "fetchai/http")]
34
34
 
35
35
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage check."""
21
+
21
22
  import time
22
23
  from threading import Thread
23
24
  from typing import List, Tuple, Union
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage check."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -30,7 +31,6 @@ from aea_cli_benchmark.utils import (
30
31
  with_packages,
31
32
  )
32
33
 
33
-
34
34
  PACKAGES = [("protocol", "fetchai/default"), ("protocol", "open_aea/signing")]
35
35
 
36
36
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage of huge amount of messages."""
21
+
21
22
  import time
22
23
  from typing import Any, List, Tuple, Union
23
24
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2023 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage of huge amount of messages."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -29,7 +30,6 @@ from aea_cli_benchmark.utils import (
29
30
  with_packages,
30
31
  )
31
32
 
32
-
33
33
  PACKAGES = [("protocol", "fetchai/default")]
34
34
 
35
35
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2023 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Envelopes generation speed for Behaviour act test."""
21
+
21
22
  import itertools
22
23
  import struct
23
24
  import time
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Envelopes generation speed for Behaviour act test."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -29,7 +30,6 @@ from aea_cli_benchmark.utils import (
29
30
  with_packages,
30
31
  )
31
32
 
32
-
33
33
  PACKAGES = [
34
34
  ("protocol", "open_aea/signing"),
35
35
  ("protocol", "fetchai/default"),
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2023 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage across the time."""
21
+
21
22
  import itertools
22
23
  import struct
23
24
  import time
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Memory usage across the time."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -30,7 +31,6 @@ from aea_cli_benchmark.utils import (
30
31
  with_packages,
31
32
  )
32
33
 
33
-
34
34
  PACKAGES = [
35
35
  ("protocol", "open_aea/signing"),
36
36
  ("protocol", "fetchai/default"),
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Envelopes generation speed for Behaviour act test."""
21
+
21
22
  import time
22
23
  from threading import Thread
23
24
  from typing import List, Tuple, Union, cast
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Envelopes generation speed for Behaviour act test."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -30,7 +31,6 @@ from aea_cli_benchmark.utils import (
30
31
  with_packages,
31
32
  )
32
33
 
33
-
34
34
  PACKAGES = [("protocol", "open_aea/signing"), ("protocol", "fetchai/default")]
35
35
 
36
36
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2023 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Latency and throughput check."""
21
+
21
22
  import time
22
23
  from statistics import mean
23
24
  from threading import Thread
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Latency and throughput check."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -30,7 +31,6 @@ from aea_cli_benchmark.utils import (
30
31
  with_packages,
31
32
  )
32
33
 
33
-
34
34
  PACKAGES = [("protocol", "open_aea/signing"), ("protocol", "fetchai/default")]
35
35
 
36
36
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Ledger TX generation and processing benchmark."""
21
+
21
22
  import threading
22
23
  import time
23
24
  from pathlib import Path
@@ -68,13 +69,14 @@ from aea.skills.base import Handler
68
69
 
69
70
  from packages.open_aea.protocols.signing.dialogues import SigningDialogue
70
71
  from packages.open_aea.protocols.signing.message import SigningMessage
71
- from packages.valory.connections.ledger.connection import LedgerConnection
72
+ from packages.valory.connections.ledger.connection import (
73
+ LedgerConnection,
74
+ )
72
75
  from packages.valory.connections.ledger.connection import (
73
76
  PUBLIC_ID as LEDGER_CONNECTION_PUBLIC_ID,
74
77
  )
75
78
  from packages.valory.protocols.ledger_api.message import LedgerApiMessage
76
79
 
77
-
78
80
  LEDGER_API_ADDRESS = str(LEDGER_CONNECTION_PUBLIC_ID)
79
81
  AEA_DIR = Path(_AEA_DIR)
80
82
  PACKAGES_DIR = AEA_DIR.parent / "packages"
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Ledger TX generation and processing benchmark."""
21
+
21
22
  from typing import Any, List, Tuple
22
23
 
23
24
  import click
@@ -29,7 +30,6 @@ from aea_cli_benchmark.utils import (
29
30
  with_packages,
30
31
  )
31
32
 
32
-
33
33
  PACKAGES = [
34
34
  ("protocol", "open_aea/signing"),
35
35
  ("protocol", "fetchai/default"),
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """This module contains the implementation of `benchmark` cli command."""
21
+
21
22
  import collections
22
23
  import sys
23
24
  from collections import namedtuple
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2025 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Ledger TX generation and processing benchmark."""
21
+
21
22
  from typing import Any, Optional, Type
22
23
 
23
24
  from aea.common import Address
@@ -34,7 +35,9 @@ from packages.fetchai.protocols.default.dialogues import (
34
35
  from packages.fetchai.protocols.fipa.dialogues import FipaDialogue as BaseFipaDialogue
35
36
  from packages.fetchai.protocols.fipa.dialogues import FipaDialogues as BaseFipaDialogues
36
37
  from packages.fetchai.protocols.fipa.message import FipaMessage
37
- from packages.open_aea.protocols.signing.dialogues import SigningDialogue
38
+ from packages.open_aea.protocols.signing.dialogues import (
39
+ SigningDialogue,
40
+ )
38
41
  from packages.open_aea.protocols.signing.dialogues import (
39
42
  SigningDialogues as BaseSigningDialogues,
40
43
  )
@@ -46,7 +49,6 @@ from packages.valory.protocols.ledger_api.dialogues import (
46
49
  )
47
50
  from packages.valory.protocols.ledger_api.message import LedgerApiMessage
48
51
 
49
-
50
52
  DefaultDialogue = BaseDefaultDialogue
51
53
 
52
54
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """This module contains testing utilities."""
21
+
21
22
  import logging
22
23
  import os
23
24
  import re
@@ -35,7 +36,6 @@ from docker.models.containers import Container
35
36
  from aea.exceptions import enforce
36
37
  from aea.helpers import http_requests as requests
37
38
 
38
-
39
39
  logger = logging.getLogger(__name__)
40
40
 
41
41
 
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Ledger TX generation and processing benchmark."""
21
+
21
22
  import time
22
23
  from contextlib import contextmanager
23
24
  from typing import List
@@ -34,7 +35,6 @@ from cosmpy.crypto.address import Address as CosmpyAddress
34
35
  from cosmpy.crypto.keypairs import PrivateKey
35
36
  from cosmpy.protos.cosmos.base.v1beta1.coin_pb2 import Coin
36
37
 
37
-
38
38
  FETCHD_INITIAL_TX_SLEEP = 6
39
39
  GAS_PRICE_API_KEY = ""
40
40
  DEFAULT_FETCH_LEDGER_ADDR = "http://127.0.0.1"
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """This module contains the implementation of `benchmark` cli command."""
21
+
21
22
  import collections
22
23
  import sys
23
24
  from collections import namedtuple
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # ------------------------------------------------------------------------------
3
3
  #
4
- # Copyright 2022-2023 Valory AG
4
+ # Copyright 2022-2026 Valory AG
5
5
  # Copyright 2018-2021 Fetch.AI Limited
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,6 +18,7 @@
18
18
  #
19
19
  # ------------------------------------------------------------------------------
20
20
  """Performance checks utils."""
21
+
21
22
  import asyncio
22
23
  import inspect
23
24
  import multiprocessing
@@ -55,7 +56,6 @@ from aea.protocols.base import Message, Protocol
55
56
  from aea.registries.resources import Resources
56
57
  from aea.skills.base import Behaviour, Handler, Skill, SkillContext
57
58
 
58
-
59
59
  ERROR_SKILL_NAME = "error"
60
60
  ROOT_DIR = os.path.join(os.path.dirname(inspect.getfile(inspect.currentframe()))) # type: ignore
61
61
  PACKAGES_DIR = Path(".", PACKAGES)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-aea-cli-benchmark
3
- Version: 2.0.8
3
+ Version: 2.1.0
4
4
  Summary: CLI extension for AEA framework benchmarking.
5
5
  Author: Valory AG
6
6
  License: Apache-2.0
@@ -15,6 +15,9 @@ Classifier: Operating System :: Microsoft
15
15
  Classifier: Operating System :: Unix
16
16
  Classifier: Programming Language :: Python :: 3.10
17
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
18
21
  Classifier: Topic :: Communications
19
22
  Classifier: Topic :: Internet
20
23
  Classifier: Topic :: Software Development
@@ -23,10 +23,9 @@
23
23
  from setuptools import find_packages # type: ignore
24
24
  from setuptools import setup # type: ignore
25
25
 
26
-
27
26
  setup(
28
27
  name="open-aea-cli-benchmark",
29
- version="2.0.8",
28
+ version="2.1.0",
30
29
  author="Valory AG",
31
30
  license="Apache-2.0",
32
31
  description="CLI extension for AEA framework benchmarking.",
@@ -50,6 +49,9 @@ setup(
50
49
  "Operating System :: Unix",
51
50
  "Programming Language :: Python :: 3.10",
52
51
  "Programming Language :: Python :: 3.11",
52
+ "Programming Language :: Python :: 3.12",
53
+ "Programming Language :: Python :: 3.13",
54
+ "Programming Language :: Python :: 3.14",
53
55
  "Topic :: Communications",
54
56
  "Topic :: Internet",
55
57
  "Topic :: Software Development",