XPerf
LanguagesObjective-CEvidence

oc-nslog-hot — fprintf/NSLog-like in loop

Status: measured (gnustep proxy)

Claim

Per-iteration fprintf(stderr,…) to /dev/null vs once ~191× (proxy for NSLog chatter).

How measured

  • Harness: packages/objcperf/examples/bench/evidence_oc.m
  • N=10000
  • Raw lines: oc-nslog-hot.jsonl

Runtime (this evidence file)

FieldValue
When2026-10-22 Asia/Shanghai (JSONL ts is UTC)
runtimegnustep
Median before (fprintf_in_loop)~0.6143 ms
Median after (log_once)~0.003217 ms
ratio before/after~191×

Lint mapping

objcperf-lint oc-nslog-hot: default stays off.

Limits

  • Not true NSLog; I/O proxy. Default stays off.