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(1 agent) -
write(1 agent)
agent:uhCAk3s75CfOUtdGAerlUa4IV7UlraI6t3JUbug0c7uaJikHW1RP9
agent:uhCAkAzz7pRYSD1xT6H9gqN6GG-ZyvzEnMn5qBOTPUn42F5vexfDI
agent:uhCAkReIFwUspi3LmjtzJ8GtwgqKR4st8LWhLhhFPiQT3JzLXBj3h
agent:uhCAkpFbnqTqssw0Z1Y-DfxJlBBOOdGTh6ZgvJsAveHIXINpw9VDv
agent:uhCAkzXpK3-xHTWw1a6IAH8P7Ivf4CK95cpnnc6SFSFaebPQGVnMU
agent:uhCAk2BbYQQoiJfBjIXDbzdbsZWLmVKtkI6EafiYkap0sF5E6iHUT
agent:uhCAk9zQLOX2SAYkjuAMky6uLKH8KLvAA3li2HfU56h4zWOr4PhPq
agent:uhCAkHaqhmzu0JOuj069WAODBxtvdSueCVQWyjsZJzIzfQhUF-LrW
agent:uhCAkIqhJRORpfYtcZzGGGJfkfxMEkA6Ju0JL1Yt57AfNZKPX9CWY
agent:uhCAks4TPH8YywFSaVxCeGHxGPZOI6SNn2mgfAAfpO12aHfplGgM2
agent:uhCAk2BbYQQoiJfBjIXDbzdbsZWLmVKtkI6EafiYkap0sF5E6iHUT
agent:uhCAk9zQLOX2SAYkjuAMky6uLKH8KLvAA3li2HfU56h4zWOr4PhPq
agent:uhCAkHaqhmzu0JOuj069WAODBxtvdSueCVQWyjsZJzIzfQhUF-LrW
agent:uhCAkIqhJRORpfYtcZzGGGJfkfxMEkA6Ju0JL1Yt57AfNZKPX9CWY
agent:uhCAks4TPH8YywFSaVxCeGHxGPZOI6SNn2mgfAAfpO12aHfplGgM2
post_commit durationFirst 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.Full-Arc Create (Validated) / Zero-Arc Read
A full-arc/zero-arc mixed scenario where full-arc nodes create data that gets validated and zero-arc nodes read the data. The scenario has two roles:
full: A full-arc conductor that creates entries with a timestamp field. Those entries get validated and then retrieved by zero-arc nodes.zero: A zero-arc conductor that reads the entries created by the full-arc node(s) and records the time lag between when the entry had been created and when it was first discovered.
-
full(1 agent) -
zero(1 agent)
agent:uhCAkAhE0y5RGXpSwFaIht3jETgGvN2WfRLUzicTWUOjQ00ZNwks0
agent:uhCAkHYuNmaw6uxD-_60t0tA0YDzGPSpcWZFYVgMu97VoFyx72ogP
agent:uhCAkLfiXXyYd0SVfbhkAHEq1ioO_pm4iXt7PU2pN7n5mRk65K8k4
agent:uhCAksIE2hXQUXpPiWNf9ruKii7uSOG-5XkYIfSHk3oNrdFUyq6ao
get_timed_local_entries zome function.agent:uhCAk198pRzdwpMxQQM4ESsIlJKVnXLtCpBnJ6qObOetEFETlj_2p
agent:uhCAk7IIqllmaKBvIUZDgdfydj3aipH4F903Fu9uqvKfcXSHNaXFP
agent:uhCAkKyGU68Nnye8vnueC144zqUYtLxu2xV0CtRIqPFcmlcdqguWO
agent:uhCAk_z6E3qJb9CRTl2e5k26aut2-Vvr8zq9_zR7dqOP-cYUZD-YL
agent:uhCAklsmid-DKdkFdeCqFim5JcLt2STNEFbT44a04i6EUvCFLg04F
agent:uhCAk198pRzdwpMxQQM4ESsIlJKVnXLtCpBnJ6qObOetEFETlj_2p
agent:uhCAk7IIqllmaKBvIUZDgdfydj3aipH4F903Fu9uqvKfcXSHNaXFP
agent:uhCAkKyGU68Nnye8vnueC144zqUYtLxu2xV0CtRIqPFcmlcdqguWO
agent:uhCAk_z6E3qJb9CRTl2e5k26aut2-Vvr8zq9_zR7dqOP-cYUZD-YL
agent:uhCAklsmid-DKdkFdeCqFim5JcLt2STNEFbT44a04i6EUvCFLg04F
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)
Mixed Arc get_agent_activity
A mixed-arc scenario that measures the DHT's ability to propagate agent activity and make it available via get_agent_activity calls. The scenario has three roles:
zero_write: A zero-arc conductor that creates entries on its source chain.full_write: A full-arc conductor that creates entries on its source chain.zero_read: A zero-arc conductor that picks a random writer and repeatedly callsget_agent_activityto observe new entries appearing on the writer's chain, measuring the lag between creation and discovery.
-
full_write(1 agent) -
zero_read(1 agent) -
zero_write(1 agent)
agent:uhCAkUQH3zPJrbydBU983tTYjnL7_84rPEuBKxBJ4MFLEa-5sTZafbehaviour:zero_write
agent:uhCAkhNj9wx9OUphMLI4WDdxuBWncdUTZZFHo8pNvII_70L_PaFATbehaviour:full_write
agent:uhCAkpDlJ4aWt6WsfygQDoHqsaVzk_0XRM6xGgEldw8_rMOaV5Ubqbehaviour:full_write
agent:uhCAkzKBC7e1P3DZUWZoO2moDclgo5VeZu5TJsKOILaTN9gW2F0vUbehaviour:zero_write
action_seqget_agent_activity. This reflects the DHT's ability to propagate agent activity ops and make them available to querying peers.get_agent_activity_agent:uhCAk6RCZWCrj_IZMNLMF2Ii-DjpQG48gkhWXBqbZu4SaIc1VJXWBwrite_agent:uhCAkhNj9wx9OUphMLI4WDdxuBWncdUTZZFHo8pNvII_70L_PaFAT
get_agent_activity_agent:uhCAk9RmwfJyH_7iC2YS8zrxykg7EqZyKqQ3eMVCICJVhpZsrIPeNwrite_agent:uhCAkhNj9wx9OUphMLI4WDdxuBWncdUTZZFHo8pNvII_70L_PaFAT
get_agent_activity_agent:uhCAkIrS8C0GkljbEwgwdgdTLOirmSB114KHhL0Ibh3GNhpJ7Mz0Uwrite_agent:uhCAkhNj9wx9OUphMLI4WDdxuBWncdUTZZFHo8pNvII_70L_PaFAT
get_agent_activity_agent:uhCAkZyzKIXfPxTTMQevl2-R3USBjA1udGyZ3jZT-71yodxSM-8dAwrite_agent:uhCAkhNj9wx9OUphMLI4WDdxuBWncdUTZZFHo8pNvII_70L_PaFAT
get_agent_activity_agent:uhCAkvdYfbGvkLtyJiybP0-Bi3Qr7Pl56cCInqyuTUFWxLBfpANF8write_agent:uhCAkhNj9wx9OUphMLI4WDdxuBWncdUTZZFHo8pNvII_70L_PaFAT
get_agent_activity. This is measured per new action in the chain.agent:uhCAk6RCZWCrj_IZMNLMF2Ii-DjpQG48gkhWXBqbZu4SaIc1VJXWB
agent:uhCAk9RmwfJyH_7iC2YS8zrxykg7EqZyKqQ3eMVCICJVhpZsrIPeN
agent:uhCAkIrS8C0GkljbEwgwdgdTLOirmSB114KHhL0Ibh3GNhpJ7Mz0U
agent:uhCAkZyzKIXfPxTTMQevl2-R3USBjA1udGyZ3jZT-71yodxSM-8dA
agent:uhCAkvdYfbGvkLtyJiybP0-Bi3Qr7Pl56cCInqyuTUFWxLBfpANF8
agent:uhCAk6RCZWCrj_IZMNLMF2Ii-DjpQG48gkhWXBqbZu4SaIc1VJXWB
agent:uhCAk9RmwfJyH_7iC2YS8zrxykg7EqZyKqQ3eMVCICJVhpZsrIPeN
agent:uhCAkIrS8C0GkljbEwgwdgdTLOirmSB114KHhL0Ibh3GNhpJ7Mz0U
agent:uhCAkZyzKIXfPxTTMQevl2-R3USBjA1udGyZ3jZT-71yodxSM-8dA
agent:uhCAkvdYfbGvkLtyJiybP0-Bi3Qr7Pl56cCInqyuTUFWxLBfpANF8
get_agent_activity_full zome call timingget_agent_activity_full zome call that queries a writer's chain.agent:uhCAk6RCZWCrj_IZMNLMF2Ii-DjpQG48gkhWXBqbZu4SaIc1VJXWB
agent:uhCAk9RmwfJyH_7iC2YS8zrxykg7EqZyKqQ3eMVCICJVhpZsrIPeN
agent:uhCAkIrS8C0GkljbEwgwdgdTLOirmSB114KHhL0Ibh3GNhpJ7Mz0U
agent:uhCAkZyzKIXfPxTTMQevl2-R3USBjA1udGyZ3jZT-71yodxSM-8dA
agent:uhCAkvdYfbGvkLtyJiybP0-Bi3Qr7Pl56cCInqyuTUFWxLBfpANF8
get_agent_activity.agent:uhCAk6RCZWCrj_IZMNLMF2Ii-DjpQG48gkhWXBqbZu4SaIc1VJXWB
agent:uhCAk9RmwfJyH_7iC2YS8zrxykg7EqZyKqQ3eMVCICJVhpZsrIPeN
agent:uhCAkIrS8C0GkljbEwgwdgdTLOirmSB114KHhL0Ibh3GNhpJ7Mz0U
agent:uhCAkZyzKIXfPxTTMQevl2-R3USBjA1udGyZ3jZT-71yodxSM-8dA
agent:uhCAkvdYfbGvkLtyJiybP0-Bi3Qr7Pl56cCInqyuTUFWxLBfpANF8
behaviour:full_write
behaviour:zero_read
behaviour:zero_write
Mixed Arc must_get_agent_activity
A scenario where write agents create entries in batches of 10, while must_get_agent_activity agents each pick a random write agent and repeatedly attempt to create an entry that references the chain top of their latest batch. This reference means that the entry's validation function needs to make a must_get_agent_activity call.
The purpose of this scenario is to measure the time it takes for published agent activity data to be gossiped among authorities and become available to peers that query it via must_get_agent_activity.
This test is similar to Write Validated must_get_agent_activity, but some write agents are zero-arc and all must_get_agent_activity agents are zero-arc. This forces the must_get_agent_activity host call to go to the network.
-
full_write(1 agent) -
zero_must_get_agent_activity(1 agent) -
zero_write(1 agent)
action_seqaction_seq of a write agent successfully retrieved by a must_get_agent_activity agent. This reflects the DHT's ability to propagate agent activity ops and make them available to querying peers.write agent's creation of a batch and a must_get_agent_activity agent's successful discovery of the batch and creation/self-validation of a new entry that depends on it.must_get_agent_activity_agent:uhCAk5DKLNOF8VGy_Cg_cQ8_yPplHjoA6LOfcplen_PQuuMBhzp_6
must_get_agent_activity_agent:uhCAk95nMDckehOBH11oi8dK_kJzDl3kLtTsRJ27mG4HTDajsy81I
must_get_agent_activity_agent:uhCAkK3D5As_CI_3L9NOYAZ95WQJRMoK3D2qsagpdlqxbzAwtVUuT
must_get_agent_activity_agent:uhCAkwQhPFPwEQpW2tLZVTdcWy8bLkJzx_A0kNXFDWe5ZWXeh-0oq
must_get_agent_activity_agent:uhCAkwV0BhKiwdaKCIKQRHM68rcHt1GcphflvMEynYSF0_UD15YEE
must_get_agent_activity agent was able to discover batches and create/self-validate new entries that depend on them.must_get_agent_activity_agent:uhCAk5DKLNOF8VGy_Cg_cQ8_yPplHjoA6LOfcplen_PQuuMBhzp_6
must_get_agent_activity_agent:uhCAk95nMDckehOBH11oi8dK_kJzDl3kLtTsRJ27mG4HTDajsy81I
must_get_agent_activity_agent:uhCAkK3D5As_CI_3L9NOYAZ95WQJRMoK3D2qsagpdlqxbzAwtVUuT
must_get_agent_activity_agent:uhCAkwQhPFPwEQpW2tLZVTdcWy8bLkJzx_A0kNXFDWe5ZWXeh-0oq
must_get_agent_activity_agent:uhCAkwV0BhKiwdaKCIKQRHM68rcHt1GcphflvMEynYSF0_UD15YEE
create_validated_sample_entry zome call timingwrite agent's source chain.agent:uhCAk5DKLNOF8VGy_Cg_cQ8_yPplHjoA6LOfcplen_PQuuMBhzp_6
agent:uhCAk95nMDckehOBH11oi8dK_kJzDl3kLtTsRJ27mG4HTDajsy81I
agent:uhCAkK3D5As_CI_3L9NOYAZ95WQJRMoK3D2qsagpdlqxbzAwtVUuT
agent:uhCAkwQhPFPwEQpW2tLZVTdcWy8bLkJzx_A0kNXFDWe5ZWXeh-0oq
agent:uhCAkwV0BhKiwdaKCIKQRHM68rcHt1GcphflvMEynYSF0_UD15YEE
must_get_agent_activity calls.agent:uhCAk5DKLNOF8VGy_Cg_cQ8_yPplHjoA6LOfcplen_PQuuMBhzp_6
agent:uhCAk95nMDckehOBH11oi8dK_kJzDl3kLtTsRJ27mG4HTDajsy81I
agent:uhCAkK3D5As_CI_3L9NOYAZ95WQJRMoK3D2qsagpdlqxbzAwtVUuT
agent:uhCAkwQhPFPwEQpW2tLZVTdcWy8bLkJzx_A0kNXFDWe5ZWXeh-0oq
agent:uhCAkwV0BhKiwdaKCIKQRHM68rcHt1GcphflvMEynYSF0_UD15YEE
behaviour:full_write
behaviour:zero_must_get_agent_activity
behaviour:zero_write
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:uhCAk3Ay2pPmTesQICPcLtHGsM_X22685Aaa0XB5Qd0VwXX0-_VPVop_type:RegisterAgentActivity
agent:uhCAk3Ay2pPmTesQICPcLtHGsM_X22685Aaa0XB5Qd0VwXX0-_VPVop_type:StoreEntry
agent:uhCAk3Ay2pPmTesQICPcLtHGsM_X22685Aaa0XB5Qd0VwXX0-_VPVop_type:StoreRecord
agent:uhCAk6VrM6mm-DqAAUeCk5Dpfz5P53mP2BRDORRvtVj5FZKRMpmExop_type:RegisterAgentActivity
agent:uhCAk6VrM6mm-DqAAUeCk5Dpfz5P53mP2BRDORRvtVj5FZKRMpmExop_type:StoreEntry
agent:uhCAk6VrM6mm-DqAAUeCk5Dpfz5P53mP2BRDORRvtVj5FZKRMpmExop_type:StoreRecord
agent:uhCAkOrnNYHD7QCFAYTdIoreMtlVaJWRhyAIUFEic6kcsJK_ZuOMFop_type:RegisterAgentActivity
agent:uhCAkOrnNYHD7QCFAYTdIoreMtlVaJWRhyAIUFEic6kcsJK_ZuOMFop_type:StoreEntry
agent:uhCAkOrnNYHD7QCFAYTdIoreMtlVaJWRhyAIUFEic6kcsJK_ZuOMFop_type:StoreRecord
agent:uhCAkTmHirrLRES4hjlk3qQMtPVq1cnuYpGsNRO3ENsodU-S7lgKMop_type:RegisterAgentActivity
agent:uhCAkTmHirrLRES4hjlk3qQMtPVq1cnuYpGsNRO3ENsodU-S7lgKMop_type:StoreEntry
agent:uhCAkTmHirrLRES4hjlk3qQMtPVq1cnuYpGsNRO3ENsodU-S7lgKMop_type:StoreRecord
agent:uhCAksdFlZBBRkfYnOE26Z33aU7QLMk5CpQm4So7SFWfqxdPsJYSdop_type:RegisterAgentActivity
agent:uhCAksdFlZBBRkfYnOE26Z33aU7QLMk5CpQm4So7SFWfqxdPsJYSdop_type:StoreEntry
agent:uhCAksdFlZBBRkfYnOE26Z33aU7QLMk5CpQm4So7SFWfqxdPsJYSdop_type:StoreRecord
agent:uhCAkt1Enh78CGpcJLZFnFF18ouiKD79WfNZak63grTcslJNfNLFJop_type:RegisterAgentActivity
agent:uhCAkt1Enh78CGpcJLZFnFF18ouiKD79WfNZak63grTcslJNfNLFJop_type:StoreEntry
agent:uhCAkt1Enh78CGpcJLZFnFF18ouiKD79WfNZak63grTcslJNfNLFJop_type:StoreRecord
agent:uhCAkvfYSpjxbQIbYonzKznuQAehIw-qJjlrpXIlfQbuQkxbq053qop_type:RegisterAgentActivity
agent:uhCAkvfYSpjxbQIbYonzKznuQAehIw-qJjlrpXIlfQbuQkxbq053qop_type:StoreEntry
agent:uhCAkvfYSpjxbQIbYonzKznuQAehIw-qJjlrpXIlfQbuQkxbq053qop_type:StoreRecord
agent:uhCAkyFatfUFh3Z4BvLiZ82aE3kscG9loPbzERwEXyH-yVKRf6t_5op_type:RegisterAgentActivity
agent:uhCAkyFatfUFh3Z4BvLiZ82aE3kscG9loPbzERwEXyH-yVKRf6t_5op_type:StoreEntry
agent:uhCAkyFatfUFh3Z4BvLiZ82aE3kscG9loPbzERwEXyH-yVKRf6t_5op_type:StoreRecord
agent:uhCAkyJQ0qR9GdI9o-zwZ4dWQFJshN2EKqwVM4y_4GgBPBtBcb0EHop_type:RegisterAgentActivity
agent:uhCAkyJQ0qR9GdI9o-zwZ4dWQFJshN2EKqwVM4y_4GgBPBtBcb0EHop_type:StoreEntry
agent:uhCAkyJQ0qR9GdI9o-zwZ4dWQFJshN2EKqwVM4y_4GgBPBtBcb0EHop_type:StoreRecord
agent:uhCAkyZ-syUKABAXBDBUEP8ub4wjObUaeZsfKz6zhwNG6jVkZqnQvop_type:RegisterAgentActivity
agent:uhCAkyZ-syUKABAXBDBUEP8ub4wjObUaeZsfKz6zhwNG6jVkZqnQvop_type:StoreEntry
agent:uhCAkyZ-syUKABAXBDBUEP8ub4wjObUaeZsfKz6zhwNG6jVkZqnQvop_type:StoreRecord
agent:uhCAk3Ay2pPmTesQICPcLtHGsM_X22685Aaa0XB5Qd0VwXX0-_VPVop_type:RegisterAgentActivity
agent:uhCAk3Ay2pPmTesQICPcLtHGsM_X22685Aaa0XB5Qd0VwXX0-_VPVop_type:StoreEntry
agent:uhCAk3Ay2pPmTesQICPcLtHGsM_X22685Aaa0XB5Qd0VwXX0-_VPVop_type:StoreRecord
agent:uhCAk6VrM6mm-DqAAUeCk5Dpfz5P53mP2BRDORRvtVj5FZKRMpmExop_type:RegisterAgentActivity
agent:uhCAk6VrM6mm-DqAAUeCk5Dpfz5P53mP2BRDORRvtVj5FZKRMpmExop_type:StoreEntry
agent:uhCAk6VrM6mm-DqAAUeCk5Dpfz5P53mP2BRDORRvtVj5FZKRMpmExop_type:StoreRecord
agent:uhCAkOrnNYHD7QCFAYTdIoreMtlVaJWRhyAIUFEic6kcsJK_ZuOMFop_type:RegisterAgentActivity
agent:uhCAkOrnNYHD7QCFAYTdIoreMtlVaJWRhyAIUFEic6kcsJK_ZuOMFop_type:StoreEntry
agent:uhCAkOrnNYHD7QCFAYTdIoreMtlVaJWRhyAIUFEic6kcsJK_ZuOMFop_type:StoreRecord
agent:uhCAkTmHirrLRES4hjlk3qQMtPVq1cnuYpGsNRO3ENsodU-S7lgKMop_type:RegisterAgentActivity
agent:uhCAkTmHirrLRES4hjlk3qQMtPVq1cnuYpGsNRO3ENsodU-S7lgKMop_type:StoreEntry
agent:uhCAkTmHirrLRES4hjlk3qQMtPVq1cnuYpGsNRO3ENsodU-S7lgKMop_type:StoreRecord
agent:uhCAksdFlZBBRkfYnOE26Z33aU7QLMk5CpQm4So7SFWfqxdPsJYSdop_type:RegisterAgentActivity
agent:uhCAksdFlZBBRkfYnOE26Z33aU7QLMk5CpQm4So7SFWfqxdPsJYSdop_type:StoreEntry
agent:uhCAksdFlZBBRkfYnOE26Z33aU7QLMk5CpQm4So7SFWfqxdPsJYSdop_type:StoreRecord
agent:uhCAkt1Enh78CGpcJLZFnFF18ouiKD79WfNZak63grTcslJNfNLFJop_type:RegisterAgentActivity
agent:uhCAkt1Enh78CGpcJLZFnFF18ouiKD79WfNZak63grTcslJNfNLFJop_type:StoreEntry
agent:uhCAkt1Enh78CGpcJLZFnFF18ouiKD79WfNZak63grTcslJNfNLFJop_type:StoreRecord
agent:uhCAkvfYSpjxbQIbYonzKznuQAehIw-qJjlrpXIlfQbuQkxbq053qop_type:RegisterAgentActivity
agent:uhCAkvfYSpjxbQIbYonzKznuQAehIw-qJjlrpXIlfQbuQkxbq053qop_type:StoreEntry
agent:uhCAkvfYSpjxbQIbYonzKznuQAehIw-qJjlrpXIlfQbuQkxbq053qop_type:StoreRecord
agent:uhCAkyFatfUFh3Z4BvLiZ82aE3kscG9loPbzERwEXyH-yVKRf6t_5op_type:RegisterAgentActivity
agent:uhCAkyFatfUFh3Z4BvLiZ82aE3kscG9loPbzERwEXyH-yVKRf6t_5op_type:StoreEntry
agent:uhCAkyFatfUFh3Z4BvLiZ82aE3kscG9loPbzERwEXyH-yVKRf6t_5op_type:StoreRecord
agent:uhCAkyJQ0qR9GdI9o-zwZ4dWQFJshN2EKqwVM4y_4GgBPBtBcb0EHop_type:RegisterAgentActivity
agent:uhCAkyJQ0qR9GdI9o-zwZ4dWQFJshN2EKqwVM4y_4GgBPBtBcb0EHop_type:StoreEntry
agent:uhCAkyJQ0qR9GdI9o-zwZ4dWQFJshN2EKqwVM4y_4GgBPBtBcb0EHop_type:StoreRecord
agent:uhCAkyZ-syUKABAXBDBUEP8ub4wjObUaeZsfKz6zhwNG6jVkZqnQvop_type:RegisterAgentActivity
agent:uhCAkyZ-syUKABAXBDBUEP8ub4wjObUaeZsfKz6zhwNG6jVkZqnQvop_type:StoreEntry
agent:uhCAkyZ-syUKABAXBDBUEP8ub4wjObUaeZsfKz6zhwNG6jVkZqnQvop_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:uhCAklbGfFhxEWpe30RGfgZP_8lB1j1ZtVyKcrzczRghqC73PNECx
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 in batches of 10, while must_get_agent_activity agents each pick a random write agent and repeatedly attempt to create an entry that references the chain top of their latest batch. This reference means that the entry's validation function needs to make a must_get_agent_activity call.
The purpose of this scenario is to measure the time it takes for published agent activity data to be gossiped among authorities and become available to peers that query it via must_get_agent_activity.
This test is similar to Mixed-Arc must_get_agent_activity, but all agents are full-arc.
-
must_get_agent_activity(1 agent) -
write(1 agent)
action_seqaction_seq of a write agent successfully retrieved by a must_get_agent_activity agent. This reflects the DHT's ability to propagate agent activity ops and make them available to querying peers.write agent's creation of a batch and a must_get_agent_activity agent's successful discovery of the batch and creation/self-validation of a new entry that depends on it.must_get_agent_activity_agent:uhCAknNEsOuDf9H7uW7jrKUlpa12Dkay_JOPw99US-uP4YdaxuBz4
must_get_agent_activity agent was able to discover batches and create/self-validate new entries that depend on them.must_get_agent_activity_agent:uhCAknNEsOuDf9H7uW7jrKUlpa12Dkay_JOPw99US-uP4YdaxuBz4
create_validated_sample_entry zome call timingwrite agent's source chain.agent:uhCAknNEsOuDf9H7uW7jrKUlpa12Dkay_JOPw99US-uP4YdaxuBz4
must_get_agent_activity calls.agent:uhCAknNEsOuDf9H7uW7jrKUlpa12Dkay_JOPw99US-uP4YdaxuBz4
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(1 agent) -
zero_read(1 agent) -
zero_write(1 agent)
agent:uhCAkZAIafu0Gb4ljFaJWwz3iL70-V_OO3cMSmIfn8vleqsF63kOn
agent:uhCAkmzLfPhs21WN1ICMXZi7BjEwpoxMZiuUQrDwwGRt-0XZvHBgp
get_timed_local_entries zome function.agent:uhCAk1Pwzo-vlmm0PODys2IGpTlhI8InqyzwveClgE9PvkAnMfVDQ
agent:uhCAkW1j4-VGpmANFfC5T_p4dtclOU7TFdB52ODymhOAeIQ2OAqT3
agent:uhCAkm7EcAtG2jLnib9hFPkhpuacVZYxQUJBwtvul8u2hKeqhj7Bw
agent:uhCAk1Pwzo-vlmm0PODys2IGpTlhI8InqyzwveClgE9PvkAnMfVDQ
agent:uhCAkW1j4-VGpmANFfC5T_p4dtclOU7TFdB52ODymhOAeIQ2OAqT3
agent:uhCAkm7EcAtG2jLnib9hFPkhpuacVZYxQUJBwtvul8u2hKeqhj7Bw
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(1 agent) -
zero(1 agent)
agent:uhCAk5UQuYnplloIZMlusbzOuINxJJ63Ty72SNLK5vTcNOY03MRWF
agent:uhCAk8Yv4C9t_XQq_GUiuzXwCMC3cPWfDa8w0bz4LjZ_NOefcFqDH
agent:uhCAkdZgXji3zpUEse9sxLBOwnb6RxgG5USjtCbY95A6BSGhhQZjP
agent:uhCAkna8EZm0iN3QiPA3BPHt-fHdQCDs5tGCw42-eEliUU_9rMG00
agent:uhCAkw-MiqRmRS2qpobii-CC9jc1CZ6dq3_8aD2SMatsgSexZ92Ze
get_timed_local_entries zome function.agent:uhCAkjvKrhiaIGQqR4_Xv2JG54UqFHLQ4s2Nr42o5JdUM0d7l-VHZ
agent:uhCAkvAzls6FwYr38TiL0uP33VtXzZRQ8VogsyFwj2GrK23dXWuRQ
agent:uhCAkvN0gbXkTqHCUTNnCDw2MCcJmzJABfLjwHRfwwrYQBoSLsRoi
agent:uhCAkzqH3m1a8V1LnO4CfPVHl5sa5PsVhODLvImCTRzDpe70maali
agent:uhCAkjvKrhiaIGQqR4_Xv2JG54UqFHLQ4s2Nr42o5JdUM0d7l-VHZ
agent:uhCAkvAzls6FwYr38TiL0uP33VtXzZRQ8VogsyFwj2GrK23dXWuRQ
agent:uhCAkvN0gbXkTqHCUTNnCDw2MCcJmzJABfLjwHRfwwrYQBoSLsRoi
agent:uhCAkzqH3m1a8V1LnO4CfPVHl5sa5PsVhODLvImCTRzDpe70maali
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(1 agent) -
zero(1 agent)
agent:uhCAk8GdsjRFM5Xt2sRsTleDL9EoJsykg5uo8d_llvVHmsQ6fAQOW
agent:uhCAk8O4dpjIRU1Eiu6RHWLQmv1KmexydkoiN4UBXWbgd_6zRtp1B
agent:uhCAkELEfMQnx30vcPpPPxB8IRNo72VHgDsjE0pLR1DYVX45MwKAK
agent:uhCAkV36OG7jKnIm6r4s_fC_Nk4OCInvT2NPwfDIF71eQOm0GAW6M
agent:uhCAkXPq4Cz6aTl7hjMv1xKzz-azdS9VMpzmGjnjquuDDZTlQRRAs
agent:uhCAksWHlcQSRUsUicPl3EmhYA18IYGMQUn3tF4tCVxwtgkvyEtal
get_timed_local_entries zome function.agent:uhCAkCp64vC3x8SJW3R7Lu3PL8KOkhkGPAnHxE8j9c9OTzqchgzCg
agent:uhCAkMLT7QG8HDw2_J9f29yEUkHDEeqdpCGmxaT4vnS_tZrlXU-t9
agent:uhCAkakrhgSi6XWh7JwV8NBK4n8yNmrRrXPYgDU4n4fUIGPTufecZ
agent:uhCAku7Q0bMN1hM_2J2-DAp91VQAYg0YkeP1HcgA-cG6W2NBMfuWw
agent:uhCAkCp64vC3x8SJW3R7Lu3PL8KOkhkGPAnHxE8j9c9OTzqchgzCg
agent:uhCAkMLT7QG8HDw2_J9f29yEUkHDEeqdpCGmxaT4vnS_tZrlXU-t9
agent:uhCAkakrhgSi6XWh7JwV8NBK4n8yNmrRrXPYgDU4n4fUIGPTufecZ
agent:uhCAku7Q0bMN1hM_2J2-DAp91VQAYg0YkeP1HcgA-cG6W2NBMfuWw
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)