nodesource/nodejs-package-benchmark

aggregated[k].sort is not a function

Closed this issue · 0 comments

command
result

node index.js /usr/local/nsolid/bin/node baseline 
Running Node.js Package Benchmark...
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: aggregated[k].sort is not a function
    at findMedian (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:112:19)
    at runBenchmark (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:139:19)
    at async main (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:148:18)
    at async /Users/italojs/dev/nodesource/nodejs-package-benchmark/node_modules/piscina/dist/src/worker.js:145:26

Node.js v21.7.1
node bench-it.js /usr/local/nsolid/bin/node baseline  
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: aggregated[k].sort is not a function
    at findMedian (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:112:19)
    at runBenchmark (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:139:19)
    at async main (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:148:18)
    at async /Users/italojs/dev/nodesource/nodejs-package-benchmark/node_modules/piscina/dist/src/worker.js:145:26

Node.js v20.12.2
node:child_process:965
    throw err;
    ^

Error: Command failed: /usr/local/nsolid/bin/node /Users/italojs/dev/nodesource/nodejs-package-benchmark/index.js
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: aggregated[k].sort is not a function
    at findMedian (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:112:19)
    at runBenchmark (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:139:19)
    at async main (/Users/italojs/dev/nodesource/nodejs-package-benchmark/worker.js:148:18)
    at async /Users/italojs/dev/nodesource/nodejs-package-benchmark/node_modules/piscina/dist/src/worker.js:145:26

Node.js v20.12.2
bench-it /usr/local/nsolid/bin/node baseline
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: aggregated[k].sort is not a function
    at findMedian (/usr/local/lib/node_modules/nodejs-package-benchmark/worker.js:112:19)
    at runBenchmark (/usr/local/lib/node_modules/nodejs-package-benchmark/worker.js:139:19)
    at async main (/usr/local/lib/node_modules/nodejs-package-benchmark/worker.js:148:18)
    at async /usr/local/lib/node_modules/nodejs-package-benchmark/node_modules/piscina/dist/src/worker.js:145:26

Node.js v20.12.2
node:child_process:965
    throw err;
    ^

Error: Command failed: /usr/local/nsolid/bin/node /usr/local/lib/node_modules/nodejs-package-benchmark/index.js
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: aggregated[k].sort is not a function
    at findMedian (/usr/local/lib/node_modules/nodejs-package-benchmark/worker.js:112:19)
    at runBenchmark (/usr/local/lib/node_modules/nodejs-package-benchmark/worker.js:139:19)
    at async main (/usr/local/lib/node_modules/nodejs-package-benchmark/worker.js:148:18)
    at async /usr/local/lib/node_modules/nodejs-package-benchmark/node_modules/piscina/dist/src/worker.js:145:26

Node.js v20.12.2