ShopperCove
Menu
All writingBlogTopicsCategoriesAboutRSS
Blog
Categories
Observability & SRE62All categories
About

Topic

memoryview

5 posts

Plate 57

memoryview vs bytes Slice: Localhost Lab

Summary1 Oct 2026 · 3 min

Plate 87

mmap vs read Byte-Sum Scan: Localhost Lab

Hands-on mmap vs read vs chunked sequential byte-sum scan lab: real MB/s on a generated fixture (not page-touch), measured on Linux localhost for SREs.

Summary30 Sept 2026 · 4 min

Plate 32

array.array vs list[int] vs bytes Lab

A hands-on Linux localhost lab comparing memory density and numeric throughput for list[int], array.array('i'), bytearray, and memoryview.

Summary30 Sept 2026 · 4 min

Plate 16

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.

Observability & SRELab30 Sept 2026 · 3 min

Plate 86

mmap vs read (+ O_DIRECT): Localhost Sequential Scan Lab

Hands-on mmap vs buffered read lab: 256 MiB p50 11.5 vs 5.4 GB/s; O_DIRECT ~0.9 GB/s warm-cache bypass. Fake endpoint-only GB/s disclosed. No Docker.

Summary30 Sept 2026 · 5 min
All writingBlogCategoriesTopicsAboutPrivacyRSS

© 2026 ShopperCove