From a687f66e0bb4046227fa811aea001ca83ae4d171 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Tue, 10 Feb 2026 12:11:53 +0100 Subject: Update README --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2e663b9..42bfe77 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.3.1