Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc authored Dec 5, 2023
1 parent 0a02885 commit 8a66a1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ZLogger is built directly on top of `Microsoft.Extensions.Logging`. `Microsoft.E

This benchmark is for writing to a file, but the default settings of typical loggers are very slow. This is because they flush after every write. In the benchmark, to ensure fairness, careful attention was paid to set the options in each logger for maximum speed. ZLogger is designed to be the fastest by default, so there is no need to worry about any settings.

The slowness of this default setting is due to I/O, so it can be mitigated by using a faster drive. When taking benchmarks, please note that the results can vary greatly not only on your local (which is probably fast!) but also on drives attached to the cloud and in environments like Docker. One of the good points about the async-buffered setting is that it can reduce the impact of such I/O issues.

ZLogger focuses on the new syntax of C#, and fully adopts Interpolated Strings.

![Alt text](docs/image-1.png)
Expand Down Expand Up @@ -718,4 +720,4 @@ This library requires C# 10.0, however currently Unity C# version is 9.0. Theref

License
---
This library is licensed under the MIT License.
This library is licensed under the MIT License.

0 comments on commit 8a66a1c

Please sign in to comment.