ShopperCove
Menu
All writingBlogTopicsCategoriesAboutRSS
Blog
Categories
Observability & SRE62All categories
Topics
sre111localhost lab102performance70python58javascript47bundle size36benchmarking35node.js35web development21typescript19benchmark16content creation15All topics
About

Category

Observability & SRE

Metrics, traces, percentiles and what the graphs actually say.

62 posts

Loading posts…

ShopperCove

Hands-on notes on developer tools, written after the tool has actually been run.

All writingBlogCategoriesTopicsAboutPrivacyRSS

© 2026 ShopperCove

struct.pack vs to_bytes vs memoryview Lab

Benchmarking fixed-record packing with struct.pack, Struct.pack_into, int.to_bytes, and memoryview on Linux localhost.

1 Oct 20263 min read
→

lru_cache hit vs miss: Cache Cost Lab

Real Linux localhost timings for functools.lru_cache hits, miss-and-insert calls, maxsize choices, and an uncached baseline.

1 Oct 20264 min read
→

string concat vs join vs StringIO: Build Lab

A hands-on localhost lab comparing +=, list+join, preallocated join, and StringIO for building strings at real sizes.

1 Oct 20264 min read
→

set vs frozenset vs list: Membership Lookup Lab

A hands-on localhost lab measuring set, frozenset, list, and dict-key membership across N, with the real crossover point.

1 Oct 20265 min read
→

TemporaryFile vs NamedTemporaryFile Delete Modes Lab

Hands-on tempfile modes lab: TemporaryFile vs NamedTemporaryFile delete True/False vs mkstemp unlink patterns with real measured ops/s on localhost box.

1 Oct 20266 min read
→

dataclass vs slots vs dict: Python Object Lab

Hands-on Python dataclass vs slots vs dict lab: instantiation and attribute ops/s plus RSS for classic, slots, dataclass, namedtuple, dict on localhost.

1 Oct 20266 min read
→

Python re vs str Methods: Text Scan Throughput Lab

Hands-on Python re vs str methods lab on a 32MiB localhost corpus: count, find, line prefix, case-insensitive, and email scans with real measured MB/s.

1 Oct 20266 min read
→

posix_fadvise SEQUENTIAL vs RANDOM: Read Hint Lab

Hands-on posix_fadvise SEQUENTIAL vs RANDOM vs NORMAL lab on localhost: cold and warm 256MiB reads after drop_caches with real measured p50 MB/s and RPS.

1 Oct 20266 min read
→

xxHash vs SHA-256: How Much Faster Is It?

Hands-on SHA-256 vs BLAKE2b vs xxHash hash throughput on 64MiB buffers (SHA-1/SHA3 labeled). Real MB/s with OpenSSL and xxHash versions on the lab box.

1 Oct 20267 min read
→

SQLite WAL vs DELETE: Is WAL Really Faster?

Hands-on SQLite WAL vs DELETE vs OFF journal_mode lab: insert/update RPS (FULL/NORMAL sync), plus WAL checkpoint cost. Real p50 numbers on localhost box.

1 Oct 20266 min read
→

zstd vs gzip vs lz4: Compression Throughput Lab

Hands-on zstd vs gzip vs lz4 on 64MiB payloads (real /usr text, mixed, urandom). Measured compress/decompress MB/s and ratio at default levels. No Docker.

1 Oct 20267 min read
→

fdatasync vs fsync: Is fdatasync Faster? Real Numbers

Hands-on fsync vs fdatasync vs none: per-write and every-N sync on 256B and 4KiB records. Real p50/p95 show about 100-200x durability tax on localhost

1 Oct 20268 min read
→
Previous
  1. 1
  2. …
  3. 3
  4. 4
  5. 5
  6. 6
Next