Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add benchmark binary to Bazel BUILD.
To build it, run: bazel build --compilation_mode=opt //:benchmark To run the benchmark, run: bazel-bin/benchmark benchmarks/data/canada.txt Result from my computer: read 111126 lines === trial 1 === fast_double_parser 1315.70 MB/s strtod 722.10 MB/s abslfromch 810.26 MB/s absl 799.89 MB/s double-conv 396.05 MB/s === trial 2 === fast_double_parser 1416.58 MB/s strtod 751.43 MB/s abslfromch 841.83 MB/s absl 838.71 MB/s double-conv 415.33 MB/s
- Loading branch information