Skip to content

pjullrich/peterandcode

Back Add pre-benchmark verification for all sorting approaches

Commit details

Add pre-benchmark verification for all sorting approaches

Description

Runs each sorting function once before Benchee starts and verifies: 1. Integrity — sum of elements is unchanged (no values lost/corrupted) 2. Ordering — result is actually sorted in ascending order Covers all approaches that return data to the BEAM: list-based, binary-based, in-place binary, mmap, ETS, Port, C Node, Nx, Explorer. Reference runs (generate_and_sort, trigger_sort) are skipped since data stays on the native side. https://claude.ai/code/session_011hHr17m5LkPkM75FU47Hxj

Metadata

Author
Claude noreply@anthropic.com
Committed
Commit

Contributors

  • Claude noreply@anthropic.com Author