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

   The cached appender list results in slightly improved throuhput - Comparing 
master (Old) to this branch (New)
   
   | Benchmark | Time | CPU | Time Old | Time New | CPU Old | CPU New |
   | --------- | -----| --- | -------- | -------- | -------- | --------- |
   | Testing disabled logging request | -0.0089 | -0.0040 | 0 | 0 | 0 | 0 |
   | Testing disabled logging request/threads:6 | -0.0186 | -0.0140 | 0 | 0 | 1 
| 1 |
   | Appending 5 char string using MessageBuffer, pattern: %m%n | -0.0306 | 
-0.0262 | 347 | 336 | 345 | 336 |
   | Appending 5 char string using MessageBuffer, pattern: %m%n/threads:6 | 
-0.0245 | -0.0218 | 522 | 509 | 2797 | 2736 |
   | Appending 49 char string using MessageBuffer, pattern: %m%n | -0.0101 | 
-0.0060 | 379 | 375 | 377 | 375 |
   | Appending 49 char string using MessageBuffer, pattern: %m%n/threads:6 | 
-0.0382 | -0.0406 | 582 | 560 | 3068 | 2943 |
   | Appending int value using MessageBuffer, pattern: %m%n | +0.0322 | +0.0363 
| 527 | 544 | 525 | 544 |
   | Appending int value using MessageBuffer, pattern: %m%n/threads:6 | +0.0106 
| +0.0119 | 599 | 606 | 3202 | 3240 |
   | Appending int+float using MessageBuffer, pattern: %m%n | -0.0648 | -0.0613 
| 1010 | 945 | 1006 | 944 |
   | Appending int+float using MessageBuffer, pattern: %m%n/threads:6 | +0.0947 
| +0.0862 | 646 | 707 | 3641 | 3955 |
   | Appending int+10float using MessageBuffer, pattern: %m%n | +0.0585 | 
+0.0621 | 4833 | 5116 | 4816 | 5115 |
   | Appending int+10float using MessageBuffer, pattern: %m%n/threads:6 | 
-0.0104 | -0.0055 | 1654 | 1636 | 9806 | 9752 |
   | Appending int value using MessageBuffer, pattern: [%d] %m%n | +0.0198 | 
+0.0232 | 609 | 621 | 607 | 621 |
   | Appending int value using MessageBuffer, pattern: [%d] [%c] [%p] %m%n | 
-0.0349 | -0.0318 | 731 | 706 | 729 | 706 |
   | Appending 49 char string using FMT, pattern: %m%n | -0.0078 | -0.0049 | 
346 | 343 | 345 | 343 |
   | Appending 49 char string using FMT, pattern: %m%n/threads:6 | -0.0065 | 
-0.0143 | 582 | 578 | 3054 | 3010 |
   | Appending int value using FMT, pattern: %m%n | -0.0178 | -0.0151 | 373 | 
366 | 372 | 366 |
   | Appending int value using FMT, pattern: %m%n/threads:6 | +0.0052 | -0.0097 
| 579 | 582 | 3056 | 3026 |
   | Appending int+float using FMT, pattern: %m%n | -0.0027 | -0.0000 | 506 | 
505 | 505 | 505 |
   | Appending int+float using FMT, pattern: %m%n/threads:6 | +0.0504 | +0.0479 
| 603 | 633 | 3266 | 3423 |
   | Appending int+10float using FMT, pattern: %m%n | -0.0033 | -0.0008 | 1663 
| 1657 | 1659 | 1657 |
   | Appending int+10float using FMT, pattern: %m%n/threads:6 | +0.0131 | 
+0.0104 | 1211 | 1227 | 6925 | 6996 |
   | Async, Sending int+10float using FMT and AsyncBuffer | -0.0475 | -0.0452 | 
851 | 811 | 849 | 811 |
   | Async, Sending int+10float using FMT and AsyncBuffer/threads:6 | -0.0571 | 
-0.0573 | 1395 | 1315 | 7747 | 7304 |
   | Async, Sending int+10float using operator<< and AsyncBuffer | +0.0281 | 
+0.0301 | 1152 | 1185 | 1150 | 1184 |
   | Async, Sending int+10float using operator<< and AsyncBuffer/threads:6 | 
-0.0974 | -0.0910 | 1496 | 1351 | 8376 | 7613 |
   | Logging int+float using MessageBuffer, pattern: %d %m%n | -0.0155 | 
-0.0135 | 1157 | 1139 | 1154 | 1139 |
   | Logging int+float using MessageBuffer, pattern: %d %m%n/threads:6 | 
-0.1150 | -0.1096 | 1382 | 1223 | 5962 | 5309 |
   | Logging int+float using MessageBuffer, JSON | -0.0460 | -0.0460 | 1593 | 
1520 | 1588 | 1515 |
   | Logging int+float using MessageBuffer, JSON/threads:6 | +0.0581 | +0.0713 
| 2214 | 2343 | 7012 | 7511 |
   | Multiprocess logging int+float using MessageBuffer, pattern: %d %m%n | 
+0.0023 | +0.0042 | 3350 | 3358 | 3344 | 3358 |
   


-- 
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