added performance section
This commit is contained in:
parent
0dc17e89b4
commit
00e0b24541
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue