Skip to main content

Byteform

Here are the benchmarks for Byteform compared to other serialization libraries.

Values are in operations per second. Higher is better.

Benchmarks are run on a 13th Gen Intel(R) Core(TM) i7-13620H 2.40 GHz and 16 GB of RAM.

Task description

Main tasks are encoding and decoding a player object with the following structure:

interface Vector3 {
x: number;
y: number;
z: number;
}

interface Bullet {
position: Vector3;
velocity: Vector3;
}

interface Player {
name: string;
position: Vector3;
rotation: number;
bullets: Bullet[];
}

Encoding

Source code

Decoding

Source code