1.0.12 • Published 6 years ago

@smashwilson/watcher-stress v1.0.12

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

Stress-test a node.js filesystem watcher. Includes a CLI interface that can be used to monitor resource usage over extended periods of time.

Installing

The latest and greatest:

$ git clone git@github.com:smashwilson/watcher-stress.git
$ cd watcher-stress
$ npm install

$ script/watcher-stress --help

The most recently dubbed "kind of stable I guess":

$ npm install -g @smashwilson/watcher-stress

$ watcher-stress --help

Super fancy npx fun times:

$ npx @smashwilson/watcher-stress --help

Usage

To see the most up-to-date command-line usage:

$ watcher-stress --help

Run one or more watchers in a terminal. Report event batches and errors as they arrive and periodically emit resource usage (CPU time, RAM).

$ watcher-stress --cli /tmp,/var

Record resource usage snapshots to a .json file as well:

$ watcher-stress --cli /etc --resource-log ${HOME}/watcher-usage.log

Stress-test nsfw by starting and stopping n watchers on random directories in serial:

$ watcher-stress --serial-watchers 5000

Stress-test nsfw by starting n watchers in parallel:

$ watcher-stress --parallel-watchers 5000
1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago