16 auto data{frc.randbytes<std::byte>(1024)};
17 auto key{frc.randbytes<std::byte>(31)};
Main entry point to nanobench's benchmarking facility.
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
Bench & batch(T b) noexcept
Sets the batch size.
void Xor(Span< std::byte > write, Span< const std::byte > key, size_t key_offset=0)
BENCHMARK(Xor, benchmark::PriorityLevel::HIGH)
static void Xor(benchmark::Bench &bench)