refactor: convert benchmarks code to ESM
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 25 Jun 2023 13:03:57 +0000 (15:03 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 25 Jun 2023 13:03:57 +0000 (15:03 +0200)
commit8fca928868a8f73a16d5d990dda9a4480ea28ab5
tree4add5772c4a139f29506341c997ecbdf2924466f
parent727ad05494dcc35c033c26a2e4e1fd6325e2709c
refactor: convert benchmarks code to ESM

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
31 files changed:
benchmarks/versus-external-pools/BENCH-100000.md
benchmarks/versus-external-pools/dynamic-node-worker-threads-pool.mjs [moved from benchmarks/versus-external-pools/dynamic-node-worker-threads-pool.js with 83% similarity]
benchmarks/versus-external-pools/dynamic-piscina.mjs [moved from benchmarks/versus-external-pools/dynamic-piscina.js with 85% similarity]
benchmarks/versus-external-pools/dynamic-poolifier.mjs [moved from benchmarks/versus-external-pools/dynamic-poolifier.js with 83% similarity]
benchmarks/versus-external-pools/dynamic-tinypool.mjs
benchmarks/versus-external-pools/dynamic-worker-nodes.mjs [moved from benchmarks/versus-external-pools/dynamic-worker-nodes.js with 82% similarity]
benchmarks/versus-external-pools/dynamic-workerpool.mjs [moved from benchmarks/versus-external-pools/dynamic-workerpool.js with 85% similarity]
benchmarks/versus-external-pools/fixed-microjob.mjs [moved from benchmarks/versus-external-pools/fixed-microjob.js with 85% similarity]
benchmarks/versus-external-pools/fixed-piscina.mjs [moved from benchmarks/versus-external-pools/fixed-piscina.js with 85% similarity]
benchmarks/versus-external-pools/fixed-poolifier.mjs [moved from benchmarks/versus-external-pools/fixed-poolifier.js with 83% similarity]
benchmarks/versus-external-pools/fixed-threadwork.mjs [moved from benchmarks/versus-external-pools/fixed-threadwork.js with 89% similarity]
benchmarks/versus-external-pools/fixed-tinypool.mjs
benchmarks/versus-external-pools/fixed-worker-nodes.mjs [moved from benchmarks/versus-external-pools/fixed-worker-nodes.js with 82% similarity]
benchmarks/versus-external-pools/fixed-workerpool.mjs [moved from benchmarks/versus-external-pools/fixed-workerpool.js with 85% similarity]
benchmarks/versus-external-pools/functions/function-to-bench.mjs [moved from benchmarks/versus-external-pools/functions/function-to-bench.js with 91% similarity]
benchmarks/versus-external-pools/hyperfine_benchmarks.sh
benchmarks/versus-external-pools/pool-threadwork.js [deleted file]
benchmarks/versus-external-pools/pool-threadwork.mjs [new file with mode: 0644]
benchmarks/versus-external-pools/static-node-worker-threads-pool.mjs [moved from benchmarks/versus-external-pools/static-node-worker-threads-pool.js with 82% similarity]
benchmarks/versus-external-pools/threadjs.mjs [moved from benchmarks/versus-external-pools/threadjs.js with 86% similarity]
benchmarks/versus-external-pools/workers/piscina/function-to-bench-worker.js [deleted file]
benchmarks/versus-external-pools/workers/piscina/function-to-bench-worker.mjs [new file with mode: 0644]
benchmarks/versus-external-pools/workers/poolifier/function-to-bench-worker.js [deleted file]
benchmarks/versus-external-pools/workers/poolifier/function-to-bench-worker.mjs [new file with mode: 0644]
benchmarks/versus-external-pools/workers/threadjs/function-to-bench-worker.js [deleted file]
benchmarks/versus-external-pools/workers/threadjs/function-to-bench-worker.mjs [new file with mode: 0644]
benchmarks/versus-external-pools/workers/tinypool/function-to-bench-worker.js [deleted file]
benchmarks/versus-external-pools/workers/tinypool/function-to-bench-worker.mjs [new file with mode: 0644]
benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.js [deleted file]
benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.mjs [new file with mode: 0644]
benchmarks/versus-external-pools/workers/workerpool/function-to-bench-worker.mjs [moved from benchmarks/versus-external-pools/workers/workerpool/function-to-bench-worker.js with 65% similarity]