Skip to content

Instantly share code, notes, and snippets.

@graydon
Created November 7, 2025 00:46
Show Gist options
  • Select an option

  • Save graydon/c769a4d741b1fc955f78271a4fa3d2df to your computer and use it in GitHub Desktop.

Select an option

Save graydon/c769a4d741b1fc955f78271a4fa3d2df to your computer and use it in GitHub Desktop.
filc overhead rough tests:
- mg /usr/share/dict/words
- yolo: 10MB maxrss / 101m insn / 54m cycle
- filc: 30MB maxrss / 370m insn / 176m cycle
- filc/yolo: 3x mem / 3.66x insn
- xzcat optfil-0.674-linux-x86_64.tar.xz >/dev/null
- yolo: 9.7MB maxrss / 40.4bn insn / 32.7bn cycle / 9.42s real / 9.32s user / 0.09s sys
- filc: 33.2MB maxrss / 77.5bn insn / 42.8bn cycle / 12.29s real / 12.16s user / 0.14s sys
- filc/yolo: 3.42x mem / 1.91x insn / 1.30x time
- scp optfil-0.674-linux-x86_64.tar.xz $otherbox
- yolo: 9.7MB maxrss / 2.8bn insn / 1.6bn cycle / 2.06s real / 0.87s user / 0.40s sys
- filc: 67.3MB maxrss / 4.0bn insn / 2.6bn cycle / 2.24s real / 1.12s user / 0.52s sys
- filc/yolo: 6.93x mem / 1.42x insn / 1.08x time
- objdump -d /usr/bin/git
- yolo: 7.4MB maxrss / 9.2bn insn / 3.4bn cycle / 1.09s real / 1.08s user / 0.01s sys
- filc: 45.8MB maxrss / 81.3bn insn / 44.4bn cycle / 12.03s real / 18.41s user / 2.51s sys
- filc/yolo: 6.1x mem / 8.93x insn / 11.03x time
- readelf -a /opt/google/chrome/chrome
- yolo: 48.2MB maxrss / 3.4bn insn / 1.5bn cycle / 0.55s real / 0.45s user / 0.09s sys
- filc: 93.7MB maxrss / 22.2bn insn / 12.0bn cycle / 3.42s real / 4.87s user / 1.62s sys
- filc/yolo: 1.94x mem / 6.52x insn / 6.21x time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment