swebb2066 commented on PR #290:
URL: https://github.com/apache/logging-log4cxx/pull/290#issuecomment-1813773710

   Sample output:
   `Run on (8 X 2195.17 MHz CPU s)
   CPU Caches:
     L1 Data 32 KiB (x4)
     L1 Instruction 32 KiB (x4)
     L2 Unified 256 KiB (x4)
     L3 Unified 6144 KiB (x1)
   Load Average: 0.19, 0.05, 0.01
   
---------------------------------------------------------------------------------------------------------
   Benchmark                                                               Time 
            CPU   Iterations
   
---------------------------------------------------------------------------------------------------------
   Testing disabled logging request                                    0.474 ns 
       0.474 ns   1000000000
   Testing disabled logging request/threads:6                          0.141 ns 
       0.849 ns    809199660
   Logging static string                                                 440 ns 
         440 ns      1593110
   Logging static string with FMT                                        410 ns 
         410 ns      1698828
   Logging int value with FMT                                            433 ns 
         433 ns      1616415
   Logging int value with FMT/threads:6                                 1404 ns 
        5644 ns       136392
   Logging int+float with FMT                                            570 ns 
         570 ns      1217421
   Logging int+float with FMT/threads:6                                 1383 ns 
        6659 ns       123738
   Logging int value with std::ostream                                   600 ns 
         600 ns      1158536
   Logging int value with std::ostream/threads:6                        1150 ns 
        5969 ns       116046
   Logging int+float with std::ostream                                  1202 ns 
        1202 ns       584309
   Logging int+float with std::ostream/threads:6                        1156 ns 
        6308 ns       116718
   NoFormat pattern: %m%n                                                783 ns 
         783 ns       890198
   DateOnly pattern: [%d] %m%n                                           784 ns 
         784 ns       893790
   DateClassLevel pattern: [%d] [%c] [%p] %m%n                           806 ns 
         806 ns       897228
   Logging int value with std::ostream to AsyncAppender                  596 ns 
         596 ns      1170299
   Logging int value with std::ostream to AsyncAppender/threads:6        967 ns 
        5326 ns       131532
   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to