Skip to content

Commit

Permalink
update benchmark result
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Apr 4, 2016
1 parent d8e8784 commit 58688b8
Showing 1 changed file with 37 additions and 34 deletions.
71 changes: 37 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ $ cat sloccount.scc


## Performance
* CPU 3.1GHz Intel Core i7 / 16GB 1600MHz DDR3 / MacOSX 10.11.3
* cloc 1.66
* tokei 1.5.1
* target repository is [golang/go commit:633ab74](https://github.com/golang/go/tree/633ab7426a906b72dcf6f1d54e87f4ae926dc4e1)
Expand Down Expand Up @@ -89,39 +90,39 @@ awk 1 1 6
-----------------------------------------------------------------------------------
SUM: 4755 114216 142896 866334
-----------------------------------------------------------------------------------
cloc . 14.98s user 9.47s system 103% cpu 23.697 total
cloc . 13.57s user 7.89s system 105% cpu 20.413 total
```

### tokei

```
$ tokei .
$ tokei --sort code .
-------------------------------------------------------------------------------
Language Files Total Blanks Comments Code
-------------------------------------------------------------------------------
BASH 27 2134 260 570 1304
Batch 5 294 55 0 239
C 92 9436 1081 946 7409
C++ 1 15 3 5 7
CSS 3 236 51 9 176
FORTRAN Modern 2 12 1 3 8
Go 4272 1027537 103241 150411 773970
C Header 15 408 50 147 211
Plain Text 28 0 0 0 137715
Assembly 334 61318 6130 0 55188
HTML 41 38441 4927 204 33316
C 92 9436 1081 946 7409
BASH 27 2134 260 570 1304
XML 4 717 85 9 623
Perl 10 1255 151 1096 343
Python 1 504 121 56 327
Batch 5 294 55 0 239
JavaScript 4 401 48 122 231
C Header 15 408 50 147 211
CSS 3 236 51 9 176
Protocol Buffers 1 145 1 0 144
Markdown 3 0 0 0 115
JSON 2 0 0 0 36
Makefile 7 57 13 10 34
Markdown 3 0 0 0 115
Perl 10 1255 151 1096 343
Protocol Buffers 1 145 1 0 144
Python 1 504 121 56 327
Assembly 334 61318 6130 0 55188
Plain Text 28 0 0 0 137715
XML 4 717 85 9 623
FORTRAN Modern 2 12 1 3 8
C++ 1 15 3 5 7
-------------------------------------------------------------------------------
Total 4852 1142910 116218 153588 1011396
-------------------------------------------------------------------------------
tokei . 1.30s user 0.06s system 99% cpu 1.358 total
tokei --sort code . 1.27s user 0.06s system 99% cpu 1.328 total
```

### gocloc
Expand All @@ -131,30 +132,32 @@ $ gocloc .
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
FORTRAN Modern 2 1 3 8
JavaScript 4 48 122 231
JSON 2 0 0 36
Awk 1 1 6 7
C++ 1 3 5 7
Batch 5 55 0 239
CSS 3 51 9 176
Yacc 1 27 20 155
Perl 10 151 158 946
Go 4272 103241 136154 788685
Plain Text 28 2066 0 135647
Assembly 329 6092 0 54906
HTML 41 4927 198 33316
C 92 1081 996 7409
Perl 11 170 167 1065
BASH 25 209 266 933
XML 4 85 9 623
Protocol Buffers 1 1 0 144
Go 4272 103241 136154 788685
C Header 15 50 147 211
Bourne Shell 8 71 302 467
Python 1 121 56 327
Batch 5 55 0 239
JavaScript 4 48 122 231
C Header 15 50 147 211
CSS 3 51 9 176
Yacc 1 27 20 155
Protocol Buffers 1 1 0 144
Markdown 3 29 0 86
BASH 25 254 558 1294
Plain Text 28 2066 0 135647
HTML 41 4927 198 33316
JSON 2 0 0 36
Makefile 7 13 10 34
FORTRAN Modern 2 1 3 8
Awk 1 1 6 7
C++ 1 3 5 7
-------------------------------------------------------------------------------
TOTAL 4840 118284 138441 1024453
TOTAL 4856 118342 138470 1024712
-------------------------------------------------------------------------------
gocloc . 0.49s user 0.06s system 105% cpu 0.524 total
gocloc . 0.72s user 0.10s system 114% cpu 0.715 total
```

## License
Expand Down

0 comments on commit 58688b8

Please sign in to comment.