Skip to content

Instantly share code, notes, and snippets.

# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
TMP := /tmp/git-tests-$(shell git rev-parse --show-toplevel | sha1sum | head -c10)
GIT_TEST_OPTS = --root=$(TMP) -q --tee
GIT_PROVE_OPTS = --timer -j13 --state=failed,slow,save
DEFAULT_TEST_TARGET = prove
O = 0
CFLAGS = -O$(O) -g $(EXTRA_CFLAGS) #-Wmisleading-indentation -Wnonnull
LDFLAGS = -flto $(EXTRA_LDFLAGS)
DEVELOPER = 1
THREADED_DELTA_SEARCH = 1
NO_SVN_TESTS = 1
ASCIIDOC8 = 1
ASCIIDOC_NO_ROFF = 1
GNU_ROFF = 1
BLK_SHA1 = 1

Keybase proof

I hereby claim:

  • I am tgummerer on github.
  • I am tgummerer (https://keybase.io/tgummerer) on keybase.
  • I have a public key whose fingerprint is 05CD 8F29 9FAE 4A2D 4F0D 569C E97D 595E 0C9D AB78

To claim this, I am signing this object:

index-v2:
real 4m20.588s
user 3m30.091s
sys 0m41.379s
index-v4
real 3m40.289s
user 2m57.702s
sys 0m34.772s
tommy at tgummerer in webkit_cachetree on master ±$ GIT_INDEX_FILE=.git/index-v5 valgrind ../git/git ls-files > /dev/null
==77703== Memcheck, a memory error detector
==77703== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==77703== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==77703== Command: ../git/git ls-files
==77703==
--77703-- ../git/git:
--77703-- dSYM directory is missing; consider using --dsymutil=yes
==77703==
==77703== HEAP SUMMARY:
tommy@tommy-eee:~$ stat test
File: `test'
Size: 72 Blocks: 8 IO Block: 4096 regular file
Device: 801h/2049d Inode: 542665 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 1000/ tommy) Gid: ( 1000/ tommy)
Access: 2012-05-03 14:49:52.004232779 +0200
Modify: 2012-05-03 14:49:43.628191233 +0200
Change: 2012-05-03 14:49:43.696191587 +0200
Birth: -
tommy@tommy-eee:~$ emacs test
Git repository with cache-tree data
-rw-r--r-- 1 tommy users 225223 Apr 30 12:34 index
-rw-r--r-- 1 tommy users 230408 Apr 30 15:47 index-v4
Webkit repository without cache-tree data
-rw-r--r-- 1 tommy staff 25890760 Apr 27 00:47 index
-rw-r--r-- 1 tommy staff 16757766 Apr 30 16:17 index-v4
Webkit repository with cache-tree data
-rw-r--r-- 1 tommy staff 26112937 Apr 30 16:30 index
Total number of lines: 5562
Total number of files: 176761
Average number of files per directory: 31.7801150665
Median number of files per directory: 6.0
Minimum number of files per directory: 1
Maximum number of files per directory: 2618
Square(files per directory): 377.844009708
tommy at tgummerer in git on master? ±$ sudo time dd if=/dev/zero bs=1m count=10 | git hash-object --stdin ▸▸▸▸▸▸▸▸▸▸
Password:
10+0 records in
10+0 records out
10485760 bytes transferred in 0.051001 secs (205598816 bytes/sec)
0.05 real 0.00 user 0.01 sys
6c5d4031e03408e34ae476c5053ee497a91ac37b
tommy at tgummerer in git on master? ±$ sudo time dd if=/dev/disk0s1 bs=1m count=10 | git hash-object --stdin ▸▸▸▸▸▸▸▸▸▸
10+0 records in
10+0 records out