JaeHyeok Kim 1847278bb5 Fix use the physical CPU count from NodeJS (#7985) 2 rokov pred
..
handlers 13973f9920 Update to nodejs 14.15.5 and mongodb, mongoose (#6362) 4 rokov pred
.npmrc f16626a51f node/mongo updates (#3141) 7 rokov pred
README.md 870b42f94a Upgrade to node.js 18.12.1 for nodejs (#7711) 2 rokov pred
app.js 1847278bb5 Fix use the physical CPU count from NodeJS (#7985) 2 rokov pred
benchmark_config.json 333756985b [ci skip] Add nodejs as framework value (#6033) 4 rokov pred
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 rokov pred
create-server.js 172b64b2e5 Update all the JavaScripts (#2575) 8 rokov pred
helper.js e6fc67ceb4 Mitol server tests for NodeJS framework (#2695) 8 rokov pred
nodejs.dockerfile 870b42f94a Upgrade to node.js 18.12.1 for nodejs (#7711) 2 rokov pred
package.json 1847278bb5 Fix use the physical CPU count from NodeJS (#7985) 2 rokov pred
routing.js dbe92ab505 JavaScript tests & mongodb for docker (#3303) 7 rokov pred

README.md

NodeJS Benchmarking Test

This is the NodeJS portion of a benchmarking test suite comparing a variety of web development platforms.

There are individual handlers for each DB approach

The logic for the test cases live in these.

Alternative server Test

This test suite also contains tests using an alternative http server. Mitol is a NodeJS addon written in C++. The server is currently in Alpha state, but aims to be a drop-in replacement for high performance demands.

Infrastructure Software Versions

The tests were run with:

Test URLs

See the Benchmark config file for a list of the tested routes.

/json and /plaintext are implemented

The four db-required tests, Single Query, Multiple Query, Fortunes, and Updates have been implemented for each of the 5 database approaches that this test covers.