Skip to content

Instantly share code, notes, and snippets.

@bessarabov
Created January 13, 2023 18:48
Show Gist options
  • Save bessarabov/06203f1d49e11b27ed977b0225bb5c2c to your computer and use it in GitHub Desktop.
Save bessarabov/06203f1d49e11b27ed977b0225bb5c2c to your computer and use it in GitHub Desktop.
bessarabov@bessarabov-osx:~$ cdt
bessarabov@bessarabov-osx:~/tmp/delete_after_2023-01-13$ time git clone git@github.com:git/git.git
Cloning into 'git'...
remote: Enumerating objects: 339509, done.
remote: Total 339509 (delta 0), reused 0 (delta 0), pack-reused 339509
Receiving objects: 100% (339509/339509), 209.15 MiB | 7.29 MiB/s, done.
Resolving deltas: 100% (254125/254125), done.
Updating files: 100% (4300/4300), done.
real 0m59.357s
user 0m41.974s
sys 0m15.662s
bessarabov@bessarabov-osx:~/tmp/delete_after_2023-01-13$ time git clone git@github.com:sqlite/sqlite.git
Cloning into 'sqlite'...
remote: Enumerating objects: 225939, done.
remote: Counting objects: 100% (2276/2276), done.
remote: Compressing objects: 100% (735/735), done.
remote: Total 225939 (delta 1645), reused 2015 (delta 1540), pack-reused 223663
Receiving objects: 100% (225939/225939), 288.44 MiB | 9.29 MiB/s, done.
Resolving deltas: 100% (165889/165889), done.
Updating files: 100% (2071/2071), done.
real 0m54.817s
user 0m45.802s
sys 0m17.032s
bessarabov@bessarabov-osx:~/tmp/delete_after_2023-01-13$ time docker run -v `pwd`/git/:/data/ mribeiro/cloc .
Unable to find image 'mribeiro/cloc:latest' locally
latest: Pulling from mribeiro/cloc
Image docker.io/mribeiro/cloc:latest uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
efd26ecc9548: Pull complete
a3ed95caeb02: Pull complete
424bc3a2f85d: Pull complete
9773db6f385f: Pull complete
Digest: sha256:2bcd3eb9117eec890fd8605414d8bbe34faffd3244f483f5d1fb83b32d809f23
Status: Downloaded newer image for mribeiro/cloc:latest
4258 text files.
4124 unique files.
2016 files ignored.
http://cloc.sourceforge.net v 1.60 T=98.39 s (23.3 files/s, 7740.3 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
C 565 44356 38288 255020
Bourne Shell 1244 41221 17341 244234
Perl 88 5499 5290 31533
C/C++ Header 282 5881 16322 21308
Tcl/Tk 41 1674 647 10839
make 23 764 926 4044
Python 3 889 709 3355
Bourne Again Shell 2 297 506 2835
m4 2 122 13 1191
ASP.Net 8 148 0 953
CMake 1 192 74 834
CSS 2 169 30 783
Javascript 7 203 649 761
YAML 4 17 11 540
Go 4 53 84 421
DOS Batch 3 52 118 117
XSLT 6 12 16 67
C Shell 1 18 64 45
Ruby 1 5 0 43
Lisp 2 0 0 12
--------------------------------------------------------------------------------
SUM: 2289 101572 81088 578935
--------------------------------------------------------------------------------
real 2m2.144s
user 0m0.249s
sys 0m0.307s
bessarabov@bessarabov-osx:~/tmp/delete_after_2023-01-13$ time docker run -v `pwd`/sqlite/:/data/ mribeiro/cloc .
2050 text files.
2045 unique files.
1492 files ignored.
http://cloc.sourceforge.net v 1.60 T=39.77 s (15.1 files/s, 12689.2 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 351 28734 91721 266692
Bourne Shell 20 3136 3504 20907
Tcl/Tk 87 2580 4068 19915
m4 6 1259 84 12020
Javascript 32 1489 6329 11441
C/C++ Header 58 1559 9757 9523
HTML 19 224 41 3250
yacc 3 211 376 1613
make 8 103 658 781
DOS Batch 2 160 404 633
C++ 4 86 52 410
C# 2 90 297 307
CSS 3 1 3 113
SQL 2 0 0 45
XAML 2 3 0 18
-------------------------------------------------------------------------------
SUM: 599 39635 117294 347668
-------------------------------------------------------------------------------
real 0m41.419s
user 0m0.152s
sys 0m0.164s
bessarabov@bessarabov-osx:~/tmp/delete_after_2023-01-13$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment