You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
A ~slightly~ significantly worse implementation of GNU [wc](https://www.gnu.org/software/coreutils/manual/html_node/wc-invocation.html#wc-invocation) in go.
5
5
6
-
# Performance
6
+
# Performance comparison
7
7
All the files mentioned below are present in the [`tests/`](https://github.com/theredditbandit/wc/tree/master/tests) directory
8
8
9
9
## GNU wc
@@ -23,13 +23,7 @@ All the files mentioned below are present in the [`tests/`](https://github.com/t
On average , my program is 163 times slower and consumes 26% more CPU to provide performance that is worse than the `wc` tool that ships with most GNU/linux.
On average , my program is **163 times slower** and consumes **26% more CPU** to provide performance that is worse than the `wc` tool that ships with most GNU/linux.
33
27
34
28
# Strengths
35
29
- identical results when compared with GNU `wc` over the test data.
@@ -39,6 +33,16 @@ On average , my program is 163 times slower and consumes 26% more CPU to provide
39
33
- cannot read from stdin if no file is passed so `cat somefile.txt | gwc -l` won't work.
0 commit comments