Skip to content

aggregated[k].sort is not a function #16

@italojs

Description

@italojs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions