Skip to content

Commit 5bdf2c7

Browse files
committed
readme updated
1 parent 2759257 commit 5bdf2c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ The [benchmark archive](BENCHMARK_HISTORY.MD) contains the results of benchmarks
5959
Since `v0.2.0` the repo contains benchmarks that check the initialization time of the logger.
6060
All loggers are initialized really fast (about 40,000,000 calls per second on my machine) and the performance is independent of the logger configuration.
6161

62+
### Console VS File Logging
63+
64+
The benchmarks prove that independent of the used logging library the performance of logging to the console is always much slower than logging to a file.
65+
We assume that the behavior is based on the implementation of the `java.io.PrintStream` that is used for `System.out` / `System.err`.
66+
The class uses synchronized blocks to write to the console.
67+
6268
## Kudos
6369

6470
The following people helped to improve the benchmark:

0 commit comments

Comments
 (0)