JaeHyeok Kim f6ef16a5ea Update node version for nodejs (#6815) 3 anni fa
..
handlers 13973f9920 Update to nodejs 14.15.5 and mongodb, mongoose (#6362) 4 anni fa
.npmrc f16626a51f node/mongo updates (#3141) 7 anni fa
README.md f6ef16a5ea Update node version for nodejs (#6815) 3 anni fa
app.js 40949f8746 Add ability to override dockerfile and CMD in benchmark_config (#4543) 6 anni fa
benchmark_config.json 333756985b [ci skip] Add nodejs as framework value (#6033) 4 anni fa
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 anni fa
create-server.js 172b64b2e5 Update all the JavaScripts (#2575) 8 anni fa
helper.js e6fc67ceb4 Mitol server tests for NodeJS framework (#2695) 8 anni fa
nodejs.dockerfile f6ef16a5ea Update node version for nodejs (#6815) 3 anni fa
package.json 13973f9920 Update to nodejs 14.15.5 and mongodb, mongoose (#6362) 4 anni fa
routing.js dbe92ab505 JavaScript tests & mongodb for docker (#3303) 7 anni fa

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.