Skip to content

ceki/log-slowness

 
 

Repository files navigation

This project intends to show an unexplained performance issue in a debug log scenario on Windows, apparently only for SSD drives. Spinning disks do not reproduce the problem.

Logback's SizeBasedTriggeringPolicy combined with its RollingFileAppender will check the size of a file before each log file write operation and rollover the file if necessary.

Java Version

See comments in src/ShowLogSlowness.java for more info.

Invoke the test by executing java -cp out/production/SlowLogFile ShowLogSlowness in the root folder of this project.

Requires Java 8 or later.

C Version

Invoke the test by executing SlowLogFile.exe in the root folder of this project.

About

Shows an unexplained performance issue in a debug log scenario on Windows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 56.1%
  • C 43.9%