From 77492f2e943e5ca2922e36c345816168298e8090 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 1 Jul 2023 11:42:37 +0200 Subject: [PATCH] docs: refinements MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- README.md | 2 +- benchmarks/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d16fe946..ee40061d 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Please consult our [general guidelines](#general-guidance). Node pool contains two [worker-threads](https://nodejs.org/api/worker_threads.html#worker_threads_worker_threads)/[cluster worker](https://nodejs.org/api/cluster.html#cluster_class_worker) pool implementations, you don't have to deal with worker-threads/cluster worker complexity. The first implementation is a static worker pool, with a defined number of workers that are started at creation time and will be reused. The second implementation is a dynamic worker pool with a number of worker started at creation time (these workers will be always active and reused) and other workers created when the load will increase (with an upper limit, these workers will be reused when active), the new created workers will be stopped after a configurable period of inactivity. -You have to implement your worker extending the ThreadWorker or ClusterWorker class. +You have to implement your worker by extending the ThreadWorker or ClusterWorker class. ## Installation diff --git a/benchmarks/README.md b/benchmarks/README.md index 5a2db39c..6558913e 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -12,7 +12,7 @@ The [versus-external-pools](./versus-external-pools) folder contains benchmarks To compare poolifier pools performance vs other pools performance we chose to use [hyperfine](https://github.com/sharkdp/hyperfine). We chose to use this tool because it allows to run isolated Node.js processes so each pool does not impact each other. -- External pools with which we compared the poolifier results: +- External pools with which we compare the poolifier results: - [piscina](https://github.com/piscinajs/piscina) - [tinypool](https://github.com/tinylibs/tinypool) -- 2.34.1