added performance section

This commit is contained in:
Mathias Buus 2013-12-23 12:19:18 +01:00
parent 0dc17e89b4
commit 00e0b24541

View file

@ -110,6 +110,14 @@ oldTarball.pipe(extract);
pack.pipe(newTarball); 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 # License
MIT MIT