From 00e0b2454122a0eb5e31504dd867d37e19e04f61 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Mon, 23 Dec 2013 12:19:18 +0100 Subject: [PATCH] added performance section --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d05644b..13682eb 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,14 @@ oldTarball.pipe(extract); pack.pipe(newTarball); ``` +## Performance + +Packing/extracting a 6.1 GB with 2496 directories and 2398 files yields the following results on my Macbook Air + +* tar-stream (using [tar-fs](https://github.com/mafintosh/tar-fs)): 34.261 ms +* [node-tar](https://github.com/isaacs/node-tar): 366.123 ms +* native tar command: 47.241 ms (this one is a bit unfair as it is piping through processes) + # License MIT