diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-02-10 12:11:53 +0100 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-02-10 12:11:53 +0100 |
| commit | a687f66e0bb4046227fa811aea001ca83ae4d171 (patch) | |
| tree | 3275453c2dc3938934d358594ae1101a92749c99 | |
| parent | 46d9a7df9d8b8c714d4767b540c86e6ecd3f44a9 (diff) | |
| download | muxer-a687f66e0bb4046227fa811aea001ca83ae4d171.tar.gz muxer-a687f66e0bb4046227fa811aea001ca83ae4d171.zip | |
Update README
| -rw-r--r-- | README.md | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -9,20 +9,15 @@ Simple binary protocol with multiplexing support. Every message is encoded with a 64-bit header: a length prefix followed by a channel ID and type. ``` -╔──────────────────────────────────────────────╗ +┌──────────────────────────────────────────────┐ │ length | channel ID × channel type │ payload │ -╚──────────────────────────────────────────────╝ +└──────────────────────────────────────────────┘ └─ 60-bits └─ 4-bits ``` -* **Channel ID (first 60 bits)**: Identifies the specific channel for the message. -* **Channel Type (last 4 bits)**: Specifies the type of data in the message. - ## Benchmarks -The benchmarks measure the performance for different payload sizes (64 bytes, 4 KB, and 1 MB). - -With the default 4kB buffers, binproto achieves a throughput of approximately 50 GB/s for both writing and reading operations. +With the default 4 kB buffers, binproto achieves a throughput of approximately 50 GB/s for both writing and reading operations. ``` goos: darwin |
