Andrew Johnston 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden
..
README.md 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden
benchmark_config.json 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden
fortunes.html 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden
just.dockerfile 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden
techempower.js 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden
tfb.config.js 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden
util.js 6698a0bad5 Update to latest version with no pg pipelining (#7384) 3 jaren geleden

README.md

Just-JS Benchmarking Test

This test benchmarks the Just-JS framework.

Author: Andrew Johnston [email protected]

Test Type Implementation Source Code

  • [JSON] techempower.js
  • [PLAINTEXT] techempower.js
  • [DB] techempower.js
  • [QUERY] techempower.js
  • [CACHED QUERY] techempower.js
  • [UPDATE] techempower.js
  • [FORTUNES] techempower.js

Test URLs

JSON

http://localhost:8080/json

PLAINTEXT

http://localhost:8080/plaintext

DB

http://localhost:8080/db

QUERY

http://localhost:8080/query?q=

UPDATE

http://localhost:8080/update?q=

FORTUNES

http://localhost:8080/fortunes

CACHED QUERY

http://localhost:8080/cached-world?q=

Building the Docker Image

docker build -t techempower:latest -f just.dockerfile .

Running the TFB Postgres Docker Container

## docker network create -d bridge tfb
docker run -p 5432:5432 -d --rm --name tfb-database --network tfb techempower/tfb.database.postgres:latest

Running the Docker Container

docker run -p 8080:8080 -d --rm --name tfb-server --network tfb techempower:latest