Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Spark Benchmarking Test

This is the Spark portion of a benchmarking test suite comparing a variety of web development platforms. The test utilizes Spark routes, Gson for JSON serialization, Hibernate for ORM and mustache templates rendering. HikariCP is used for connection pooling, using up to 2*cores count. See pool sizing

Tests

Infrastructure Software Versions

Different test setups

  • Local environment with Spark's built in embedded jetty (port=8080, context=/)
  • Start application from SparkApplication's main method

Test URLs

JSON Encoding Test

http://localhost:8080/json

Database Test

http://localhost:8080/db

Query Test

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

Update Test

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

Fortune cookie Test

http://localhost:8080/fortunes

Plain Text Test

http://localhost:8080/plaintext