Benchmarks the traversal of the entire object graph from HEAD backwards.
$ go run create-manifest.go <repo path 1> [optional repo path 2]
To unpack a repo's packfiles (for comparison testing):
$ mv ./.git/objects/pack/*.pack ../
$ rm ./.git/objects/pack/*.idx
$ cat ../<whatever>.pack | git unpack-objects
Benchmarks the transfer of a large chunk of raw data over a libp2p stream with no processing at either end of the connection.
Run the server:
$ go run p2p-raw-transfer.go
The server will spit out a list of multiaddresses that it's listening on.
Run the client:
$ go run p2p-raw-transfer.go <server multiaddress>
Benchmarks the transfer of a large chunk of raw data over a simple TCP stream with no processing at either end of the connection.
Run the server:
$ go run net-raw-transfer.go
Run the client:
$ go run net-raw-transfer.go <server IP>:9991