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)
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)
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:uhCAk2_J4lUBteSRNEJPyIbPS4s0pE1Vf2glLSimLYgyPkCQtjDA0
agent:uhCAkUUaMQKk6W5eI01nGue2y5rfNc97S2MjxAT7fyM7ydrTM-GgL
agent:uhCAkcFTqh8kyZ1gwBXfGbcdyWb1fzM9kTwcMznFwd-wWfxDfri5D
agent:uhCAkvmWnqMn-6u09RXdlyp37174RtZPxIBHd-bT95r4cA-Ws2bGc
agent:uhCAkxo1zPMLz5q28YYeykxQiPHR-ZxUr94tO2Llr-bIRK1ZxrZBY
agent:uhCAk-oMSyzOhu6wvWnOjEdNpWy92xt2FBMzRnh5kiKsTcIXFJq5A
agent:uhCAkjEexNK7vjhUHusZ35Tz3DWWAZn446xC8ggfWWXh9n40sQaP7
agent:uhCAksjMtYpPDU9K0xebLYnRBBb2uKxyLrJaGkkdb5qlCJ_pSMUZB
agent:uhCAky3sjJ1AEq5buXvR50KgtHVDzSk-HDx9UvVL5WGuPaHZSBOwJ
agent:uhCAk-oMSyzOhu6wvWnOjEdNpWy92xt2FBMzRnh5kiKsTcIXFJq5A
agent:uhCAkjEexNK7vjhUHusZ35Tz3DWWAZn446xC8ggfWWXh9n40sQaP7
agent:uhCAksjMtYpPDU9K0xebLYnRBBb2uKxyLrJaGkkdb5qlCJ_pSMUZB
agent:uhCAky3sjJ1AEq5buXvR50KgtHVDzSk-HDx9UvVL5WGuPaHZSBOwJ
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.No scenario template for full_arc_create_validated_zero_arc_read!
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:uhCAkYoTJnxeU7E4O1TT1FFaMmIbZASvWlOMclkwZSXnhZ8dvs4SX
agent:uhCAkZDlqt91pIzoh7qLDzcEwY5x40eyW5c8TVhh-FKqpjPYdkvut
agent:uhCAkYoTJnxeU7E4O1TT1FFaMmIbZASvWlOMclkwZSXnhZ8dvs4SX
agent:uhCAkZDlqt91pIzoh7qLDzcEwY5x40eyW5c8TVhh-FKqpjPYdkvut
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)Validation Receipts
Creates an entry, wait for required validation receipts, then repeat. Records the amount of time it took to accumulate the required number of receipts for all DHT operations. This is measured to the nearest 20ms so that we don't keep the agent too busy checking for receipts.
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.
By default, this scenario will wait for a complete set of validation receipts before committing the next record. If the NO_VALIDATION_COMPLETE environment variable is set, it will instead publish new records on every round, building up an ever-growing list of action hashes to check on.
- Default (1 agent)
agent:uhCAkLkB7MOcDqpRyIgtbZ9__nPIx9WPOK6mLT3vp5FaS7UwVWrqlop_type:RegisterAgentActivity
agent:uhCAkLkB7MOcDqpRyIgtbZ9__nPIx9WPOK6mLT3vp5FaS7UwVWrqlop_type:StoreEntry
agent:uhCAkLkB7MOcDqpRyIgtbZ9__nPIx9WPOK6mLT3vp5FaS7UwVWrqlop_type:StoreRecord
agent:uhCAkVcYFW-dJI42PTAg8zqwxFeaBAJdtNp_5o8ml8n0oIrJ-Lzgaop_type:RegisterAgentActivity
agent:uhCAkVcYFW-dJI42PTAg8zqwxFeaBAJdtNp_5o8ml8n0oIrJ-Lzgaop_type:StoreEntry
agent:uhCAkVcYFW-dJI42PTAg8zqwxFeaBAJdtNp_5o8ml8n0oIrJ-Lzgaop_type:StoreRecord
agent:uhCAkYuqgvYK_0fog3_8nBfQMd1k7rpbfNYsIOzZGmGiImKbFqoXuop_type:RegisterAgentActivity
agent:uhCAkYuqgvYK_0fog3_8nBfQMd1k7rpbfNYsIOzZGmGiImKbFqoXuop_type:StoreEntry
agent:uhCAkYuqgvYK_0fog3_8nBfQMd1k7rpbfNYsIOzZGmGiImKbFqoXuop_type:StoreRecord
agent:uhCAkfDX2esqcrf30a4nFPxa2KIF8lmKIR1CLKTh_7y51r94RKgcdop_type:RegisterAgentActivity
agent:uhCAkfDX2esqcrf30a4nFPxa2KIF8lmKIR1CLKTh_7y51r94RKgcdop_type:StoreEntry
agent:uhCAkfDX2esqcrf30a4nFPxa2KIF8lmKIR1CLKTh_7y51r94RKgcdop_type:StoreRecord
agent:uhCAkfsVAoKEog4Knr_8Ecf6VswERbiECMWsvzs43WxyhIT7YFzcpop_type:RegisterAgentActivity
agent:uhCAkfsVAoKEog4Knr_8Ecf6VswERbiECMWsvzs43WxyhIT7YFzcpop_type:StoreEntry
agent:uhCAkfsVAoKEog4Knr_8Ecf6VswERbiECMWsvzs43WxyhIT7YFzcpop_type:StoreRecord
agent:uhCAkgPpsHWQN2Q7br8TKUpqdWih3rOJFztjqMGIn_tQjMYE2aS2yop_type:RegisterAgentActivity
agent:uhCAkgPpsHWQN2Q7br8TKUpqdWih3rOJFztjqMGIn_tQjMYE2aS2yop_type:StoreEntry
agent:uhCAkgPpsHWQN2Q7br8TKUpqdWih3rOJFztjqMGIn_tQjMYE2aS2yop_type:StoreRecord
agent:uhCAkm3Zq-ZW91xRuWuJu4IhU7-ds9beWkNnE2vq1_3ux6bUc_8cAop_type:RegisterAgentActivity
agent:uhCAkm3Zq-ZW91xRuWuJu4IhU7-ds9beWkNnE2vq1_3ux6bUc_8cAop_type:StoreEntry
agent:uhCAkm3Zq-ZW91xRuWuJu4IhU7-ds9beWkNnE2vq1_3ux6bUc_8cAop_type:StoreRecord
agent:uhCAkqZ2nOES2IVo6BuHBlRoAZTiJhyShe4WOP1DH-uUXbmOlz8U8op_type:RegisterAgentActivity
agent:uhCAkqZ2nOES2IVo6BuHBlRoAZTiJhyShe4WOP1DH-uUXbmOlz8U8op_type:StoreEntry
agent:uhCAkqZ2nOES2IVo6BuHBlRoAZTiJhyShe4WOP1DH-uUXbmOlz8U8op_type:StoreRecord
agent:uhCAkrpTXRdwWNdCygAqxLvpUzMrpcqFoXlFSnbrZf874Fr2Ggg1aop_type:RegisterAgentActivity
agent:uhCAkrpTXRdwWNdCygAqxLvpUzMrpcqFoXlFSnbrZf874Fr2Ggg1aop_type:StoreEntry
agent:uhCAkrpTXRdwWNdCygAqxLvpUzMrpcqFoXlFSnbrZf874Fr2Ggg1aop_type:StoreRecord
agent:uhCAkx0sJ0LFWSbYbPBRIAP4EBvxLhDa38P_r71ke2n-jujJXzJkSop_type:RegisterAgentActivity
agent:uhCAkx0sJ0LFWSbYbPBRIAP4EBvxLhDa38P_r71ke2n-jujJXzJkSop_type:StoreEntry
agent:uhCAkx0sJ0LFWSbYbPBRIAP4EBvxLhDa38P_r71ke2n-jujJXzJkSop_type:StoreRecord
agent:uhCAkLkB7MOcDqpRyIgtbZ9__nPIx9WPOK6mLT3vp5FaS7UwVWrqlop_type:RegisterAgentActivity
agent:uhCAkLkB7MOcDqpRyIgtbZ9__nPIx9WPOK6mLT3vp5FaS7UwVWrqlop_type:StoreEntry
agent:uhCAkLkB7MOcDqpRyIgtbZ9__nPIx9WPOK6mLT3vp5FaS7UwVWrqlop_type:StoreRecord
agent:uhCAkVcYFW-dJI42PTAg8zqwxFeaBAJdtNp_5o8ml8n0oIrJ-Lzgaop_type:RegisterAgentActivity
agent:uhCAkVcYFW-dJI42PTAg8zqwxFeaBAJdtNp_5o8ml8n0oIrJ-Lzgaop_type:StoreEntry
agent:uhCAkVcYFW-dJI42PTAg8zqwxFeaBAJdtNp_5o8ml8n0oIrJ-Lzgaop_type:StoreRecord
agent:uhCAkYuqgvYK_0fog3_8nBfQMd1k7rpbfNYsIOzZGmGiImKbFqoXuop_type:RegisterAgentActivity
agent:uhCAkYuqgvYK_0fog3_8nBfQMd1k7rpbfNYsIOzZGmGiImKbFqoXuop_type:StoreEntry
agent:uhCAkYuqgvYK_0fog3_8nBfQMd1k7rpbfNYsIOzZGmGiImKbFqoXuop_type:StoreRecord
agent:uhCAkfDX2esqcrf30a4nFPxa2KIF8lmKIR1CLKTh_7y51r94RKgcdop_type:RegisterAgentActivity
agent:uhCAkfDX2esqcrf30a4nFPxa2KIF8lmKIR1CLKTh_7y51r94RKgcdop_type:StoreEntry
agent:uhCAkfDX2esqcrf30a4nFPxa2KIF8lmKIR1CLKTh_7y51r94RKgcdop_type:StoreRecord
agent:uhCAkfsVAoKEog4Knr_8Ecf6VswERbiECMWsvzs43WxyhIT7YFzcpop_type:RegisterAgentActivity
agent:uhCAkfsVAoKEog4Knr_8Ecf6VswERbiECMWsvzs43WxyhIT7YFzcpop_type:StoreEntry
agent:uhCAkfsVAoKEog4Knr_8Ecf6VswERbiECMWsvzs43WxyhIT7YFzcpop_type:StoreRecord
agent:uhCAkgPpsHWQN2Q7br8TKUpqdWih3rOJFztjqMGIn_tQjMYE2aS2yop_type:RegisterAgentActivity
agent:uhCAkgPpsHWQN2Q7br8TKUpqdWih3rOJFztjqMGIn_tQjMYE2aS2yop_type:StoreEntry
agent:uhCAkgPpsHWQN2Q7br8TKUpqdWih3rOJFztjqMGIn_tQjMYE2aS2yop_type:StoreRecord
agent:uhCAkm3Zq-ZW91xRuWuJu4IhU7-ds9beWkNnE2vq1_3ux6bUc_8cAop_type:RegisterAgentActivity
agent:uhCAkm3Zq-ZW91xRuWuJu4IhU7-ds9beWkNnE2vq1_3ux6bUc_8cAop_type:StoreEntry
agent:uhCAkm3Zq-ZW91xRuWuJu4IhU7-ds9beWkNnE2vq1_3ux6bUc_8cAop_type:StoreRecord
agent:uhCAkqZ2nOES2IVo6BuHBlRoAZTiJhyShe4WOP1DH-uUXbmOlz8U8op_type:RegisterAgentActivity
agent:uhCAkqZ2nOES2IVo6BuHBlRoAZTiJhyShe4WOP1DH-uUXbmOlz8U8op_type:StoreEntry
agent:uhCAkqZ2nOES2IVo6BuHBlRoAZTiJhyShe4WOP1DH-uUXbmOlz8U8op_type:StoreRecord
agent:uhCAkrpTXRdwWNdCygAqxLvpUzMrpcqFoXlFSnbrZf874Fr2Ggg1aop_type:RegisterAgentActivity
agent:uhCAkrpTXRdwWNdCygAqxLvpUzMrpcqFoXlFSnbrZf874Fr2Ggg1aop_type:StoreEntry
agent:uhCAkrpTXRdwWNdCygAqxLvpUzMrpcqFoXlFSnbrZf874Fr2Ggg1aop_type:StoreRecord
agent:uhCAkx0sJ0LFWSbYbPBRIAP4EBvxLhDa38P_r71ke2n-jujJXzJkSop_type:RegisterAgentActivity
agent:uhCAkx0sJ0LFWSbYbPBRIAP4EBvxLhDa38P_r71ke2n-jujJXzJkSop_type:StoreEntry
agent:uhCAkx0sJ0LFWSbYbPBRIAP4EBvxLhDa38P_r71ke2n-jujJXzJkSop_type:StoreRecord
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:uhCAkVikfOHYZxUfHRwmvrGUz9e3jYOjIbDhW9OpBZB4V2k3SefiR
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:uhCAkvIRJK0cVTnvZHMDpMhxHt97NBCyZv5waw_4NJc_Sx5KV4_8S
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:uhCAkk5nyHHIKi9FOgqVfku56Ex27czx4zXEgy9w4EzQZ87e4g_U5
agent:uhCAknbnr07f02HTWwSQ5ZDForTHib60HaECg1CLhhObM8tan2gtn
agent:uhCAktCpZ_ElcWvisQG9rbJ3OoK3fcBJWl7pB0DSi8WZj8fbCorWK
get_timed_local_entries zome function.agent:uhCAkiI0UrxKKt-RIDudK0xA5lzIkBU2smfAjqfqPKcCXA3C5-ocO
agent:uhCAknK-s5lrY1O7vPXWgidu934Lu_zpu5LHMsFNvf7l9HS8Igkur
agent:uhCAku1J5nw8UQ-iV2qAgj-IieZP4Gu621KWHMI4JsYOpp_nB82GY
agent:uhCAkiI0UrxKKt-RIDudK0xA5lzIkBU2smfAjqfqPKcCXA3C5-ocO
agent:uhCAknK-s5lrY1O7vPXWgidu934Lu_zpu5LHMsFNvf7l9HS8Igkur
agent:uhCAku1J5nw8UQ-iV2qAgj-IieZP4Gu621KWHMI4JsYOpp_nB82GY
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:uhCAk4ZzqU66KOb984hLDMLgZf2tcx7rg073bmgaIhiQ_nsYF1sfP
agent:uhCAkG6dZvB7Je0ICAAhQ7VKIgTtZ1xghz55ImdM55y7IBYVO61U_
agent:uhCAkRIhj2farQQmOmds06uO2CKKiLbhsFckiIuJe108BHWrBoecA
agent:uhCAkjOJfRNcalIOAaXM2oh9qiQQ2Kfm-trHJlpvVg_kEQKtbJcIh
agent:uhCAks1cZ1VCWQvxajLwt4diGO8G3tz0OPv40qCRwB4tXGwegblg-
agent:uhCAkw7x_zfcCGxKMrsaEQ-eHlYFDPZByuqHdrhurwwcplB7ekUjn
get_timed_local_entries zome function.agent:uhCAkNzpohCtubJL9niGuH-CHbcu0RKzbJexS8rIgWuH4i6_RXCzV
agent:uhCAkShEvVzXr7LyDS_6tOZxpPu-bTIvSZqWk0msGbUUjdUbq7O9s
agent:uhCAkjq_3BSij3ER9o_knCpuDoFrC9Rl1M1Nx1owaZpyD8o2wfeoA
agent:uhCAkxztvQa5utPj9DA7_jTRI0OZwyA9zCfyRJA-UGSzpzuBV-fxA
agent:uhCAkNzpohCtubJL9niGuH-CHbcu0RKzbJexS8rIgWuH4i6_RXCzV
agent:uhCAkShEvVzXr7LyDS_6tOZxpPu-bTIvSZqWk0msGbUUjdUbq7O9s
agent:uhCAkjq_3BSij3ER9o_knCpuDoFrC9Rl1M1Nx1owaZpyD8o2wfeoA
agent:uhCAkxztvQa5utPj9DA7_jTRI0OZwyA9zCfyRJA-UGSzpzuBV-fxA
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:uhCAkLrxmo24UMFcs-yq4wzg9iU7tCfmEVq4SPheWuibsD0VTcQms
agent:uhCAkPYD1lgjiarBh7DdNH7bcx_LNs-FIWAJ9TIUi0BJ75GEDTVMk
agent:uhCAkiooew9_B8TmTcjgaKHTzyzdFIwKr33Pn-lWy5LsWR2tAR9Cm
agent:uhCAkjF5hlC6kO5uhtD2E-PRTZ5Dll7Od6Bw2mF8MtHye0RRJIGBy
agent:uhCAkovZoyqT8DdiMxErwmV0wD_dqIluR4Ev3yw93RoR57QrvaXyM
get_timed_local_entries zome function.agent:uhCAkOLjQMvcJ5T_CO9z14KbCXawef07EFUtiunANjHvY8EBnVB6u
agent:uhCAkiaSJC0FU_UBrPJx7DfJTZ-8FM2Bzr6o-3e6tzieEkQf5L9t7
agent:uhCAkOLjQMvcJ5T_CO9z14KbCXawef07EFUtiunANjHvY8EBnVB6u
agent:uhCAkiaSJC0FU_UBrPJx7DfJTZ-8FM2Bzr6o-3e6tzieEkQf5L9t7
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)