don't use assert in benchmarks. it gets stripped out in release mode.