Add benchmark script (#104)
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 10 Feb 2021 11:43:21 +0000 (12:43 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Feb 2021 11:43:21 +0000 (12:43 +0100)
commit583a27ce13d67cc33ded52f46fe1665c64a8fec7
treeafb38509908314cd9a221b816ac9303aa0b24302
parentf87ff2d2996929c8fa315c97a3a9b314c5341412
Add benchmark script (#104)

Also improve benchmarking
12 files changed:
.eslintrc.js
benchmarks/bench.js
benchmarks/myBench.js
benchmarks/threadWorker.js [moved from benchmarks/yourWorker.js with 84% similarity]
benchmarks/workerThreadsWorker.js [moved from benchmarks/externalWorker.js with 100% similarity]
benchmarks/workerpoolWorker.js [new file with mode: 0644]
examples/dynamicExample.js
examples/multiFunctionExample.js
examples/staticExample.js
package-lock.json
package.json
src/workers.ts