Mike Smith 103663d3ad Fixes Giraffe, and some vulns reported by GH (#3984) 7 лет назад
..
handlers 6fce84a278 WIP: Dockerify everything (#3457) 7 лет назад
.npmrc f16626a51f node/mongo updates (#3141) 7 лет назад
README.md 54f6648d26 updating nodejs dependencies (#3011) 7 лет назад
app.js 172b64b2e5 Update all the JavaScripts (#2575) 8 лет назад
benchmark_config.json 12813e17af Add Node-Chakracore (#3917) 7 лет назад
create-server.js 172b64b2e5 Update all the JavaScripts (#2575) 8 лет назад
helper.js e6fc67ceb4 Mitol server tests for NodeJS framework (#2695) 8 лет назад
mitol.dockerfile 1d7509bbbe Node update to v10 (#3831) 7 лет назад
nodejs-chakra.dockerfile 12813e17af Add Node-Chakracore (#3917) 7 лет назад
nodejs-mongodb-raw.dockerfile 1d7509bbbe Node update to v10 (#3831) 7 лет назад
nodejs-mongodb.dockerfile 1d7509bbbe Node update to v10 (#3831) 7 лет назад
nodejs-mysql.dockerfile 1d7509bbbe Node update to v10 (#3831) 7 лет назад
nodejs-postgres.dockerfile 1d7509bbbe Node update to v10 (#3831) 7 лет назад
nodejs.dockerfile 1d7509bbbe Node update to v10 (#3831) 7 лет назад
package.json 103663d3ad Fixes Giraffe, and some vulns reported by GH (#3984) 7 лет назад
routing.js dbe92ab505 JavaScript tests & mongodb for docker (#3303) 7 лет назад

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.