README.md 1.4 KB

Benchmarking Test

httpserver

This is the com.sun.net.httpserver portion of a benchmarking test suite comparing a variety of web development platforms.

Package com.sun.net.httpserver provides a simple high-level Http server API, which can be used to build embedded HTTP servers. It is built-in to the Oracle JDK and OpenJDK (but is not part of the Java standard and is not available in other JDKs).

Robaho httpserver

This is an alternative version of the com.sun.net.httpserver Package robaho.net.httpserver provides an implementation of com.sun.net.httpserver designed for virtual threads, thus requiring JDK21+.

Test Type Implementation Source Code

Important Libraries

The tests were run with:

Test URLs

JSON

http://localhost:8080/json

Plaintext

http://localhost:8080/plaintext

Fortunes

http://localhost:8080/fortunes