• Scott Wolchok's avatar
    read benchmark: accept a filename as an argument · a5b72f7a
    Scott Wolchok authored
    On my Macbook Pro, reading from standard input incurs a bunch of locking
    overhead, which complicates profiling and (IMO) adds noise to
    results. This adds the option to read from a file, which doesn't incur
    this overhead.
    a5b72f7a
read.cpp 1.22 KB