Josiah Noel fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
..
src fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
README.md fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
avaje-jex-jetty.dockerfile fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
avaje-jex-robaho.dockerfile fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
avaje-jex.dockerfile fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
benchmark_config.json fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
config.toml fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu
pom.xml fa5004a8d3 Add Avaje Jex (#9885) 7 bulan lalu

README.md

Avaje Jex Benchmarking Test

Important Libraries

The tests were run with:

Avaje Jex is a micro web framework for Java's built-in jdk.httpserver API.

    Jex.create()
        .get("/", ctx -> ctx.text("hello"))
        .start();

Test Implementation Source Code

Plain Text Test

JSON Encoding Test

Single Query Test

Multiple Queries Test

Database Update Test

Fortunes Test

Test URLs

JSON

http://localhost:8080/json

PLAINTEXT

http://localhost:8080/plaintext

DB

http://localhost:8080/db

QUERY

http://localhost:8080/queries?queries=

UPDATE

http://localhost:8080/updates?queries=

FORTUNES

http://localhost:8080/fortunes

build

java's httpserver impl

mvn clean package

robaho's httpserver impl

mvn clean package -P robaho

jetty's httpserver impl

mvn clean package -P jetty

run

java -p ./target/modules/ -m avaje.techempower