Skip to content

Instantly share code, notes, and snippets.

View thraizz's full-sized avatar

A. Schueler thraizz

View GitHub Profile
@thraizz
thraizz / json_vs_msgpack.py
Created April 9, 2024 17:56 — forked from nvllsvm/json_vs_msgpack.py
Benchmark JSON and MessagePack encoding/decoding times and result sizes
#!/usr/bin/env python3
import json
import gzip
import time
import brotli
import msgpack
import tabulate
import umsgpack
import zstd