plugins.aea-cli-benchmark.aea_
cli_
benchmark.case_
dialogues_
memory_
usage.case
Memory usage of dialogues across the time.
DialogueHandler Objects
class DialogueHandler()
Generate messages and process with dialogues.
__
init__
def __init__() -> None
Set dialogues.
random_
string
@property
def random_string() -> str
Get random string on every access.
process_
message
def process_message() -> None
Process a message with dialogues.
update
def update(message: HttpMessage) -> HttpDialogue
Update dialogues with message.
reply
@staticmethod
def reply(dialogue: HttpDialogue, message: HttpMessage) -> Message
Construct and send a response for message received.
create
def create() -> HttpMessage
Make initial http request.
run
def run(messages_amount: int) -> List[Tuple[str, Union[float, int]]]
Test messages generation and memory consumption with dialogues.