You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/09/17 06:46:06 UTC

[GitHub] [logging-log4cxx] swebb2066 opened a new pull request, #131: Google benchmark option

swebb2066 opened a new pull request, #131:
URL: https://github.com/apache/logging-log4cxx/pull/131

   google benchmark has a lot of tool support (e.g. comparison) and (hopefully) less variance in etimates (seems to still be 10% on an idle Ubuntu logging using patterns)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4cxx] swebb2066 commented on pull request #131: Google benchmark option

Posted by GitBox <gi...@apache.org>.
swebb2066 commented on PR #131:
URL: https://github.com/apache/logging-log4cxx/pull/131#issuecomment-1250017510

   Output example:
   `----------------------------------------------------------------------------------------
   Benchmark                                              Time             CPU   Iterations
   ----------------------------------------------------------------------------------------
   Logging disabled trace                              7.00 ns         7.00 ns     97609134
   Logging disabled trace/threads:8                    2.01 ns         15.6 ns     50647640
   Logging disabled debug                              7.15 ns         7.15 ns     97977587
   Logging info static string                           662 ns          662 ns      1043254
   Logging enabled debug static string                  653 ns          653 ns      1072875
   Logging enabled trace static string                  659 ns          659 ns      1063702
   Logging static string with FMT                       654 ns          654 ns      1059184
   Logging int value with FMT                           720 ns          720 ns      1005913
   Logging int value with FMT/threads:8                 996 ns         7442 ns        94872
   Logging int value with std::ostream                 1227 ns         1227 ns       570771
   Logging int value with std::ostream/threads:8       1218 ns         9420 ns        74304
   NoFormat pattern: %m%n                              1242 ns         1242 ns       573767
   DateOnly pattern: [%d] %m%n                         1240 ns         1240 ns       568791
   DateClassLevel pattern: [%d] [%c] [%p] %m%n         1240 ns         1240 ns       570043
   s`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [logging-log4cxx] swebb2066 merged pull request #131: Google benchmark option

Posted by GitBox <gi...@apache.org>.
swebb2066 merged PR #131:
URL: https://github.com/apache/logging-log4cxx/pull/131


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org