moby--moby/pkg
Josh Hawn 92fd49f7ca Correct TarSum benchmarks: 9kTar and 9kTarGzip
These two cases did not actually read the same content with each iteration
of the benchmark. After the first read, the buffer was consumed. This patch
corrects this by using a bytes.Reader and seeking to the beginning of the
buffer at the beginning of each iteration.

Unfortunately, this benchmark was not actually as fast as we believed. But
the new results do bring its results closer to those of the other benchmarks.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2014-12-03 10:44:05 -08:00
..
archive Change path breakout detection logic in archive package 2014-11-28 09:44:47 -08:00
broadcastwriter
chrootarchive
devicemapper Merge pull request #9006 from snitm/thin-pool-improvements 2014-11-26 14:44:09 -05:00
fileutils
graphdb
httputils
ioutils
iptables
jsonlog
listenbuffer
mflag flag: fix the comments 2014-11-30 01:58:16 +08:00
mount
namesgenerator
networkfs
parsers Cleanup ParseHost 2014-11-25 18:55:40 -05:00
pools
promise
proxy
reexec
signal
stdcopy
symlink archive: do not call FollowSymlinkInScope in createTarFile 2014-11-25 01:03:41 +02:00
sysinfo
system
systemd
tailfile
tarsum Correct TarSum benchmarks: 9kTar and 9kTarGzip 2014-12-03 10:44:05 -08:00
term Use termios via CGO only on Linux 2014-11-25 20:49:01 +09:00
testutils
timeutils
truncindex
units
urlutil Move git and url checks into pkg 2014-11-24 18:10:37 -05:00
version
README.md

README.md

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!