You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BEVE with [Glaze](https://github.com/stephenberry/glaze) versus [JSON](https://www.json.org/), [MessagePack](https://github.com/msgpack/msgpack-c), and [CBOR](https://cbor.io/) (via [Glaze](https://github.com/stephenberry/glaze)).
4
+
5
+
## Speedup vs BEVE (Baseline)
6
+
7
+
Higher means BEVE is faster by that factor. Format: Write/Read
BEVE and CBOR (with RFC 8746 typed arrays) store contiguous arrays as raw memory blocks, achieving the same message sizes and throughput when using optimized implementations like Glaze. MessagePack encodes each element individually with type tags, resulting in larger messages and slower performance for numeric arrays.
34
+
35
+
## Struct Serialization: BEVE vs CBOR
36
+
37
+
For struct-heavy workloads, BEVE is faster than CBOR due to its little-endian wire format (no byte swaps on x86/ARM), avoiding float conversions, and easier key handling.
Copy file name to clipboardExpand all lines: README.md
+1-44Lines changed: 1 addition & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,50 +17,7 @@ Version 1.0
17
17
18
18
## Performance
19
19
20
-
BEVE with [Glaze](https://github.com/stephenberry/glaze) versus [JSON](https://www.json.org/), [MessagePack](https://github.com/msgpack/msgpack-c), and [CBOR](https://cbor.io/) (via [Glaze](https://github.com/stephenberry/glaze)).
21
-
22
-
### Speedup vs BEVE (Baseline)
23
-
24
-
Higher means BEVE is faster by that factor. Format: Write/Read
BEVE and CBOR (with RFC 8746 typed arrays) store contiguous arrays as raw memory blocks, achieving the same message sizes and throughput when using optimized implementations like Glaze. MessagePack encodes each element individually with type tags, resulting in larger messages and slower performance for numeric arrays.
51
-
52
-
### Struct Serialization: BEVE vs CBOR
53
-
54
-
For struct-heavy workloads, BEVE is faster than CBOR due to its little-endian wire format (no byte swaps on x86/ARM), avoiding float conversions, and easier key handling.
0 commit comments