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

Topic

sre

111 posts

Loading posts…

ShopperCove

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

All writingBlogCategoriesTopicsAboutPrivacyRSS

© 2026 ShopperCove

argparse vs sys.argv: Localhost Lab

Hands-on argparse vs manual sys.argv parse lab: real parses/s for small CLI flag sets on fixed argv, measured on Linux localhost in this lab for SREs.

1 Oct 20264 min read
→

hmac.compare_digest vs ==: Localhost Lab

Hands-on hmac.compare_digest vs bytes == verify lab: real ops/s plus HMAC-SHA256 construct costs, measured on Linux localhost in this eng lab for SREs.

1 Oct 20264 min read
→

subprocess.run vs Popen: Localhost Lab

A measured Linux localhost lab comparing subprocess.run with Popen and communicate for tiny process spawns and captured stdout.

1 Oct 20264 min read
→

shelve vs pickle Dict Store: Localhost Lab

A measured Linux localhost lab comparing shelve's keyed dbm store with a single pickle blob for full snapshots and random access.

1 Oct 20264 min read
→

fnmatch vs re Name Filter: Localhost Lab

Hands-on fnmatch.filter vs re.compile name-list filtering measured on Linux localhost.

1 Oct 20264 min read
→

as_completed vs wait: Futures Localhost Lab

Hands-on concurrent.futures as_completed vs wait lab with measured completion timing on Linux localhost.

1 Oct 20264 min read
→

tarfile vs zipfile Create+Extract: Localhost Lab

Hands-on tarfile vs zipfile create+extract lab: real MB/s on a mixed small-file fixture (uncompressed tar vs zip), measured on Linux localhost for SREs.

1 Oct 20264 min read
→

scandir vs listdir in Python: Which Is Faster? Tested

Hands-on os.scandir vs listdir vs Path.iterdir lab: real entries/s for names and is_file on a synthetic tree, measured on Linux localhost (lab) for SREs.

1 Oct 20264 min read
→

textwrap.fill vs Manual Wrap: Localhost Lab

1 Oct 20264 min read
→

secrets vs urandom vs getrandbits: Localhost Lab

1 Oct 20264 min read
→

BytesIO vs SpooledTemporaryFile: Localhost Lab

BytesIO vs SpooledTemporaryFile growth throughput across the spool threshold, compared with NamedTemporaryFile on Linux localhost.

1 Oct 20264 min read
→

WeakValueDictionary vs dict Cache: Localhost Lab

WeakValueDictionary vs strong dict cache: insert and lookup throughput, plus GC-driven drop on Linux localhost.

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