News for hackers. Stuff that matters.
Re:Try Git by tsm on Wednesday November 26, 2014 @12:27PM (#8663403)
The truth is both are blazing fast, but at least on my machine git status is a hair faster:

    $ mkdir baz
    $ cd baz
    $ time git init
    Initialized empty Git repository in ~/src/tmp/baz/.git/
    
    real	0m0.015s
    user	0m0.002s
    sys	0m0.008s
    $ time git status
    # On branch master
    #
    # Initial commit
    #
    nothing to commit (create/copy files and use "git add" to track)
    
    real	0m0.012s
    user	0m0.002s
    sys	0m0.003s
Re:Try Git by joelg236 on Wednesday November 26, 2014 @01:56PM (#8663978)
Interestingly, for me git init took 0.045s, while status took 0.005s. I wonder what factors into this.
Re:Try Git by TimWolla on Wednesday November 26, 2014 @02:09PM (#8664045)
For an existing repository: Size of the repository, as well as the number of files in the folder. A single git status on a 1.7GB git repository takes about 9 seconds with a warm disk cache on my workstation.