Benchmark
- Measure the end to end time for some operations for making comparisons
Java Microbenchmark Harness (JMH)
-
Use
Maven archetype
to scaffold a benchmarking project -
Build executable
jar
file to run the benchmark test cases independently. Use IDE or other tools to run the test cases might affect environment and therefore benchmark results. -
Resources
-
Examples
Disk I/O Performance
fio
-
Resources
Network I/O Performance
HTTP
wrk
k6
Gatling
nghttp2 - h2load
siege
- GitHub - JoeDog/siege (opens in a new tab)
- Resources utilization in reactive services (opens in a new tab)
HAR Analyzer
-
Google Admin Toolbox - HAR Analyzer (opens in a new tab)
Works offline
SSL/TLS
Measure TLS connection and handshake time
openssl s_time -connect $host:$port -new
Measure speed of various security algorithms
openssl speed $algorithm
Linux CLI
Show how long a command takes
time $command
or
hyperfine $command
Show performance counter stats for a command
perf stat $command
Redis
Apache Kafka
Load Testing
Load Generator
Faban
Resources
-
Blogs