App Install
Measure app installation speed. This scenario has two roles:
minimal: Installs a simple app which implements initialisation callbacks but otherwise doesn't contain a lot of code.large: Installs a larger app that contains some dependencies and some generated data as padding to make the bundle larger.
These are intended to catch a compilation slowdown or issues with copying around large WASMs (e.g. accidental cloning or tracing). In each case, the behaviour will uninstall the app it installed so that it can re-install it on the next iteration.
-
large(1 agent)
App Install
Measure app installation speed. This scenario has two roles:
minimal: Installs a simple app which implements initialisation callbacks but otherwise doesn't contain a lot of code.large: Installs a larger app that contains some dependencies and some generated data as padding to make the bundle larger.
These are intended to catch a compilation slowdown or issues with copying around large WASMs (e.g. accidental cloning or tracing). In each case, the behaviour will uninstall the app it installed so that it can re-install it on the next iteration.
-
minimal(1 agent)
DHT Sync Lag
Measure lag time between an agent publishing data and other peers being able to see it. This scenario has two roles:
write: A simple job that just creates entries with a timestamp field. Those entries are linked to a known base hash. For each write, the metricws.custom.dht_sync_sent_countis incremented.record_lag: A job that repeatedly queries for links from the known base hash. It keeps track of records that it has seen and when a new record is found, and calculates the time difference between the timestamp of the new record and the current time. That time difference is then recorded as a custom metric calledwt.custom.dht_sync_lag.
After each behaviour loop the metric ws.custom.dht_sync_recv_count is incremented.
-
record_lag(5 agents) -
write(5 agents)
agent:uhCAkF8b4eM4ip09sCzTZn-R643QP5xUs2yBDf222OaRYiK8BtgXS
agent:uhCAkU-Hnx08phSOKZPQiEqBUTkLMQAB_1gk5xcQhrwf1UEw80abn
agent:uhCAkcJnrrtf_EFHie3E8AsQKteLhpmeZh4Xoq1v9A8WvD7pUBhGV
agent:uhCAkwTk3sPDEDUGwNNVkczwoini5wVG59sXlrCMDYAhf0tl9dtbc
agent:uhCAkwtGjaDtoFe6CAp4bpbkU7_Nd0LyN_XDfD5r9xDJoLXh8RY2Q
agent:uhCAk-CQjKzSSYQRZnrsUvQq39zB3DT_TvinmW_RbwO8UE5sZE_yI
agent:uhCAkkoGEIiuW8TnRfy6VP_MzsBah6iuowvgEQ_UCDtZDA-6XSLY7
agent:uhCAknoWM0T3pcq9RNNUykeu21mCNYc3ReHrwLj77kTiUF-SQxKzD
agent:uhCAkpP9SO5Vyxx3FRcOwvhCi9EgMaOK020tQHwyl4TiPLMaj2zGn
agent:uhCAky9h-MDazJXyUy2LdTmCxVCugk-GBruiaazjkBc_0SL6ppDll
agent:uhCAk-CQjKzSSYQRZnrsUvQq39zB3DT_TvinmW_RbwO8UE5sZE_yI
agent:uhCAkkoGEIiuW8TnRfy6VP_MzsBah6iuowvgEQ_UCDtZDA-6XSLY7
agent:uhCAknoWM0T3pcq9RNNUykeu21mCNYc3ReHrwLj77kTiUF-SQxKzD
agent:uhCAkpP9SO5Vyxx3FRcOwvhCi9EgMaOK020tQHwyl4TiPLMaj2zGn
agent:uhCAky9h-MDazJXyUy2LdTmCxVCugk-GBruiaazjkBc_0SL6ppDll
First Call
This scenario installs a simple app which implements the init callback, and measures the time elapsed between start of install and calling init. It will uninstall the app it installed so that it can re-install it on the next iteration. This is required to re-run the initialisation callback.
- Default (1 agent)
init.Local Signals
This scenario is for testing the speed and reliability of local signals. It uses a zome with a function that will emit 10,000 signals. The scenario measures how long it takes to send the signals and how many have been received by the time the zome call ends.
- Default (1 agent)
No scenario template for mixed_arc_get_agent_activity!
No scenario template for mixed_arc_must_get_agent_activity!
Remote Call Rate
Test the throughput of remote_call operations. Each agent in this scenario waits for a certain number of peers to be available or for up to two minutes, whichever happens first, before starting its behaviour.
- Default (1 agent)
agent:uhCAkGJ9QbrI-TioiaXy2mnzEoh-vIA4pwD97JP-0g0v4ZCZ_dFgO
agent:uhCAkRJmOV5d2E7xFq780dfePKymN5k9vKMfurgmIKT-BXanRd-2v
agent:uhCAkGJ9QbrI-TioiaXy2mnzEoh-vIA4pwD97JP-0g0v4ZCZ_dFgO
agent:uhCAkRJmOV5d2E7xFq780dfePKymN5k9vKMfurgmIKT-BXanRd-2v
Remote Signals
This scenario tests the throughput of remote_signals operations.
- Default (1 agent)
Single-write, many-read
Creates an entry in the agent setup, then read one's own record back. This tests the maximum read performance for reading back local data when the chain is short.
- Default (1 agent)
read call timingread call rate (10s)Two-party countersigning
This scenario tests the performance of countersigning operations. There are two roles: initiate and participate. The participants commit an entry to advertise that they are willing to participate in sessions. They listen for sessions and participate in one at a time.
-
initiate(1 agent) -
participate(2 agents)
agent:uhCAkGt5goA4sVjMJuzLJE4aFuciq-pBmwQJKo4rVeqyVqprYSx_s
agent:uhCAkQIM8wraBPm80QJWCpS5tT_BXgtn2vOI8si9V-_6S2_48FOlb
agent:uhCAkGt5goA4sVjMJuzLJE4aFuciq-pBmwQJKo4rVeqyVqprYSx_s
agent:uhCAkQIM8wraBPm80QJWCpS5tT_BXgtn2vOI8si9V-_6S2_48FOlb
agent:uhCAkGt5goA4sVjMJuzLJE4aFuciq-pBmwQJKo4rVeqyVqprYSx_s
agent:uhCAkQIM8wraBPm80QJWCpS5tT_BXgtn2vOI8si9V-_6S2_48FOlb
agent:uhCAkruFEqRtED-S0PVH_G4LD5bbiDs8izz0yPNFyLHbY1O-zZom5
agent:uhCAkruFEqRtED-S0PVH_G4LD5bbiDs8izz0yPNFyLHbY1O-zZom5
agent:uhCAkruFEqRtED-S0PVH_G4LD5bbiDs8izz0yPNFyLHbY1O-zZom5
Write/get_agent_activity
A scenario where write peers write entries, while get_agent_activity peers each query a single write agent's activity with get_agent_activity.
Before a target write peer and the requesting get_agent_activity peer are in sync, this will measure the get_agent_activity call performance over a network. Once a write peer reaches sync with a get_agent_activity peer, the write peer will publish their actions and entries, and so the get_agent_activity calls will likely have most of the data they need locally. At that point this measures the database query performance and code paths through host functions.
-
get_agent_activity(1 agent) -
write(1 agent)
action_seqwrite peer's source chain.get_agent_activity_full zome call timingwrite peer's source chain.agent:uhCAkBQhWRhndAQa4RS6SY2BWaxj6m1r_KiYAfOsMLgtkpSMaJkdg
Write/Query
Creates an entry, then queries the source chain and performs a simple operation on the entries, then repeats.
- Default (1 agent)
Write/Read
Creates an entry and reads it back, then repeats.
- Default (1 agent)
Write validated
Creates an entry, updates it and links the create to the update, then repeats. Each of the three actions is validated by the included hApp.
- Default (1 agent)
Write Validated must_get_agent_activity
A scenario where write agents create entries, while must_get_agent_activity agents create entries which are validated with a must_get_agent_activity call for a single write agent's activity.
Before a target write peer and the requesting peer are in sync, the must_get_agent_activity request will go over the network. Once a write peer reaches sync with the requesting must_get_agent_activity peer, the write peer will publish their actions and entries, and so the must_get_agent_activity calls will likely have the data it needs locally. At that point this measures the database query performance and code paths through host functions.
-
must_get_agent_activity(1 agent) -
write(1 agent)
action_seqmust_get_agent_activity peer's source chain top over the run.create_validated_sample_entry zome call timingwrite agent's source chain.agent:uhCAkD7RLvBC_0g8DmZoR-6Rc8KHehW6KHXXZcs-rBUiVeLrxjZMP
Zero-Arc Create and Read
A zero-arc/full-arc mixed scenario with two types of zero-arc nodes -- ones that create data and ones that read data -- as well as full arc nodes to "relay" the data. The scenario has three roles:
zero_write: A zero-arc conductor that just creates entries with a timestamp field. Those entries are linked to a known base hash so thatzero_readnodes can retrieve them.zero_read: A zero-arc conductor that reads the entries created by the zero-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.full: A full-arc conductor that is just here to serve entries to zero arc nodes.
-
full(3 agents) -
zero_read(3 agents) -
zero_write(3 agents)
agent:uhCAkeB5r27AP3DeaDWKkz2oQq5seOQAwjlJLqekFGaYHz1OOMH4J
agent:uhCAkhpprDgI2IXQwlLONuntP7D8mGv5YwTcawBbARLsEz4A5gKIq
agent:uhCAklLugl8cycdmuDIQD5k4ecBbBmtgHtHihaT6qkOchXRN2_CJF
get_timed_local_entries zome function.agent:uhCAkCe6tGMr0xL3LLfo2li9lHYdzwASXpYqaO1JypLnyvRK3PSRv
agent:uhCAknM7P6dzvavefknrhvcUWsEu9HO_VKVKbaCTw1O9psmGNIVk3
agent:uhCAkoe9Ebp2evaBjWC3NgTl9tCD5qphvVXNzaXhDWIwjLHaE81o-
agent:uhCAkCe6tGMr0xL3LLfo2li9lHYdzwASXpYqaO1JypLnyvRK3PSRv
agent:uhCAknM7P6dzvavefknrhvcUWsEu9HO_VKVKbaCTw1O9psmGNIVk3
agent:uhCAkoe9Ebp2evaBjWC3NgTl9tCD5qphvVXNzaXhDWIwjLHaE81o-
Zero-Arc Create Data
zero: A zero-arc conductor that just creates entries with a timestamp field. Those entries are linked to a known base hash so that full-arc nodes can retrieve them.full: A full-arc conductor that reads the entries created by the zero-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.
-
full(4 agents) -
zero(6 agents)
agent:uhCAk7QFAYS7s47icn5ZNn9BAOm1SFAM3leVnUBa57KNEl-OaUR8q
agent:uhCAkPuwf9tPOii2-me1T47BeJYh1wP0V7Qc078n6QsClsnclVgJE
agent:uhCAkQq46jDe6qqe9dgulJvCQUSbCxdK4_YuV0tzGONo298P3L5mA
agent:uhCAkUDf-jo7uMN1xYpM0_Rbm0_b8rs3EkrVge0Nbwen8ETb7fdIo
agent:uhCAkdJeduiG9AaCu6T7Xk6kMhT43g4XC85QIRwn7_H0pO6Knsg7l
agent:uhCAktb-HhLL3QQ4oLSa2v8bD2QndZyO5G6jpaAsFtMwXG0qdsnQC
get_timed_local_entries zome function.agent:uhCAkhlFqatqGdzHPcwBnHEjSb2n42vLw_vktCiVy4ZuIan-THegl
agent:uhCAkjXeMBfMAvRpj7H0Kkb2IpK0RJkWjNi9GxVYaRdViHLsBKWjJ
agent:uhCAkp_GoTJ5wb3NfM-kGLGrgvIFHXPPAJYY_d9CLJnataG4Jv88J
agent:uhCAkvovjZHdZOOwkE6wsnyFToAyp0NDV9oG19uUbGJG8rf0OYAel
agent:uhCAkhlFqatqGdzHPcwBnHEjSb2n42vLw_vktCiVy4ZuIan-THegl
agent:uhCAkjXeMBfMAvRpj7H0Kkb2IpK0RJkWjNi9GxVYaRdViHLsBKWjJ
agent:uhCAkp_GoTJ5wb3NfM-kGLGrgvIFHXPPAJYY_d9CLJnataG4Jv88J
agent:uhCAkvovjZHdZOOwkE6wsnyFToAyp0NDV9oG19uUbGJG8rf0OYAel
Zero-arc Create Data (Validated)
A zero-arc/full-arc mixed scenario where zero-arc nodes create data that gets validated and full-arc nodes read the data. The scenario has two roles:
zero: A zero-arc conductor that just creates entries with a timestamp field. Those entries are linked to a known base hash so that full-arc nodes can retrieve them.full: A full-arc conductor that reads the entries created by the zero-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.
-
full(4 agents) -
zero(6 agents)
agent:uhCAk1sycuFtW4QmfdOdO2_obLlcEoFXOjLOCgoFTT9x2aG1QbQRV
agent:uhCAk7E-ra8tDFJ9ubqAhHo6xq8zgd6Ns7kyFSH_MkCXQG5B14wRU
agent:uhCAkhYmg-seAuNnRX89FynxvmI4R1G0wUSX2r45PiMk8qxJCsKOd
agent:uhCAkj-Mltq4wKxkcLwvL50N9eJSFkFCGvv3w6GIGnoqKscJp7mWW
agent:uhCAkrRmL9R3zKRhYzIzwVpwLSltfb6sgKVBsNTkiVwKMhQAa-U5e
agent:uhCAkzmPKcgwqOXpaxexIVX4WF8Pp2q2bmVCKX0sSGKcXd0N059yL
get_timed_local_entries zome function.agent:uhCAkK6ug5U1IPLC28Ws0xcrTX2m5HAKW-RUtYue6TA8IutmjVwkM
agent:uhCAkP3JhJaeoclji75PRgJDZuFZ8YFqPndj6_WXYkWe7PvEgK8vb
agent:uhCAkTzhonqcSqSEEqStqV4mAsWENF3REcVpULerYIlpE-Of5E2y-
agent:uhCAkvC-Q0MwdwFfOfnOp25bHWPIBsuwXkAheUZ9Guxuhgmgu4k9q
agent:uhCAkK6ug5U1IPLC28Ws0xcrTX2m5HAKW-RUtYue6TA8IutmjVwkM
agent:uhCAkP3JhJaeoclji75PRgJDZuFZ8YFqPndj6_WXYkWe7PvEgK8vb
agent:uhCAkTzhonqcSqSEEqStqV4mAsWENF3REcVpULerYIlpE-Of5E2y-
agent:uhCAkvC-Q0MwdwFfOfnOp25bHWPIBsuwXkAheUZ9Guxuhgmgu4k9q
Zome Call, Single Value
Calls a zome function that returns a fixed value. This tests the maximum performance of zome calls when the zome function is not calling into Holochain other otherwise doing any work.
- Default (1 agent)