Benchmark: tinylog 1.1 vs 1.2

You can edit this post on GitHub

The tinylog project contains benchmarks to prevent performance issues for new releases. Both benchmarks have been executes with tinylog 1.1 and 1.2 on the same machine.

Maximum logging performance (creating log entries in a loop one million times)

tinylog 1.2
2 s 492 ms
with writing thread
1 s 301 ms
tinylog 1.1
2 s 848 ms
with writing thread
1 s 294 ms

Influence on compute-intensive application (calculating all prime numbers from 2 to 10,000,000)

tinylog 1.2
3 s 69 ms
with writing thread
1 s 311 ms
tinylog 1.1
3 s 369 ms
with writing thread
1 s 269 ms

All parameters and the method of measurement are documented on the benchmark page.