Skip to main content

CLI extension for AEA framework benchmarking.

Project description

AEA CLI Benchmark Plug-in

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.

Installation and usage

Make sure you have aea installed.

Then, install the plug-in:

pip install open-aea-cli-benchmark

The tx-generate case spins up a dockerised fetchai ledger node and is therefore an optional extra. Install it with:

pip install "open-aea-cli-benchmark[tx-generate]"

Without the [tx-generate] extra the tx-generate command is not registered and the rest of the benchmark commands work as normal.

Now you should be able to run aea benchmark:

Usage: aea benchmark [OPTIONS] COMMAND [ARGS]...

  Run one of the performance benchmarks.

Options:
  --help  Show this message and exit.

Commands:
  acn-communication             ACN end-to-end message throughput
  acn-startup                   ACN node startup time
  agent-construction-time       Time to construct an AEA instance
  decision-maker                Decision maker throughput
  dialogues-memory-usage        Memory footprint of dialogue state
  mem-usage                     Agent memory usage under load
  messages-memory-usage         Memory footprint of messages
  multiagent                    Multi-agent throughput
  multiagent-http-dialogues     Multi-agent HTTP dialogue throughput
  proactive                     Proactive skill behaviour benchmark
  reactive                      Reactive skill handler benchmark
  tx-generate                   Transaction generation throughput (requires the [tx-generate] extra)

Run any command with --help for per-case options.

Project details


Release history Release notifications | RSS feed

This version

2.2.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_aea_cli_benchmark-2.2.4.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_aea_cli_benchmark-2.2.4-py3-none-any.whl (74.6 kB view details)

Uploaded Python 3

File details

Details for the file open_aea_cli_benchmark-2.2.4.tar.gz.

File metadata

  • Download URL: open_aea_cli_benchmark-2.2.4.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for open_aea_cli_benchmark-2.2.4.tar.gz
Algorithm Hash digest
SHA256 9b0d1f8cf6f2a0de03eb70a17c4590ba563f72fe9762eebaaf0f20d0ee512006
MD5 4fae0a3312440688035e741f0df8cf19
BLAKE2b-256 0ee7ddea94f7ee436f94d53435d3c022a207e9e65827d2b2bae7c8e1b7125b53

See more details on using hashes here.

File details

Details for the file open_aea_cli_benchmark-2.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for open_aea_cli_benchmark-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d679145d366febe8dad28d73e5387be7de2f90999f14e379b1fb5e25b7deb2e1
MD5 dca4824078d9294ccafbc4b227e9ad59
BLAKE2b-256 8dfe1264674afbfaa9f6054e0674b1b073bc9acf4f797de935e0b4eab6b36b32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page