1.1.7 • Published 3 years ago

copy-speed-test v1.1.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

copy-speed-test

A utility to compare different nodejs file copy strategies

Usage

npx copy-speed-test --source someFile.zip --destination someNonExistentFolder

Options

ArgumentAliasTypeDescription
destinationFolderdstringA folder to copy to. The folder should not exist. It will be deleted after the tests complete
sourceFilesstringThe file to copy
forcefbooleanWill delete the destination folder before starting if it exists.
testsInSetnumberThe number of times to run each test. Defaults to 3.
highWaterMarkstring[]An Array of highwatermark values to run the createReadStream test at. Defaults to '1 MB', '100.0 MB', '500.00 MB', '1.000 GB'. Set multiple values as follows: '--highWaterMark="50 kB,150 MB,1 GB"'
helphbooleanShows this help guide

Sample Output

sampleOutput