Benchmark: tinylog 1.0 vs 1.1

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.1
2 s 613 ms
with writing thread
1 s 321 ms
tinylog 1.0
3 s 189 ms
with writing thread
1 s 728 ms

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

tinylog 1.1
3 s 390 ms
with writing thread
1 s 363 ms
tinylog 1.0
3 s 427 ms
with writing thread
1 s 466 ms

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