megaco_codec_mstone2(3erl)

🌸 NAME 🌸

megaco_codec_mstone2 β€” okay bestie, this is an Erlang module definition from the 3erl manual, and it implements a simple megaco codec-based performance tool. Short name section, iconic behavior πŸ’…

✨ DESCRIPTION ✨

This module implements the mstone2 tool, a simple megaco codec-based performance tool. No cap.

The results β€” the mstone value(s) β€” are written to stdout. So keep your eyes on stdout, bestie πŸ‘€βœ¨

Note: this module is not included in the runtime part of the application. It's giving β€œtooling only, not runtime main character energy” πŸ’…

πŸŽ€ EXPORTS πŸŽ€

start() -> void()

The no-argument version. Signature, exactly:

start() -> void()

start(MessagePackage) -> void()

Signature, exactly:

start(MessagePackage) -> void()

Types:

MessagePackage = message_package()
message_package() = atom()

This function starts the mstone2 performance test with all codec configs. Processes are created dynamically. Each process makes one run through their messages (decoding and encoding messages) and then exits. When one process exits, a new one is created with the same codec config and set of messages. It's a whole little process cycle, iykyk πŸ”₯

The number of messages processed in total (for all processes) is the mstone value. That's the number you're here for, bestie ⭐


okay that's the page! signing off with Ericsson AB, megaco 4.4.3, and megaco_codec_mstone2(3erl) β€” the footer has no date listed, so I'm not inventing one, periodt πŸ’–πŸ«Ά

πŸ“¦ where this page comes from