Skip to content

Commit 41b5c75

Browse files
committed
Add benchmark to README
1 parent 302a7b8 commit 41b5c75

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.org

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ The input file can be obtained by using one of the official scripts, such as thi
66
*This project will load the _entire_ file into memory and process it using all available CPU cores to maximize performance.*
77

88
*** Results
9-
On a MacBook M1 Pro (2021), the project processes the input file in approximately 2.8 seconds.
9+
On a MacBook M1 Pro (2021), the project processes the input file in ~2.8 seconds.
10+
#+begin_src bash
11+
Benchmark 1: ./target/release/rust_1brc ./measurements.txt
12+
Time (mean ± σ): 2.820 s ± 0.046 s [User: 23.995 s, System: 1.667 s]
13+
Range (min … max): 2.745 s … 2.879 s 10 runs
14+
#+end_src
1015

1116
** Usage
1217
To use this project, start by cloning the repository.

0 commit comments

Comments
 (0)