apache / logging-log4cxx

Apache Log4cxx is a C++ port of Apache Log4j
http://logging.apache.org/log4cxx
Apache License 2.0
278 stars 123 forks source link

Bump version to 1.3.0 #365

Closed swebb2066 closed 7 months ago

swebb2066 commented 7 months ago
Benchmark results on Ubuntu gcc 11.4 comparing v1.2.0.json to v1.3.0.json Benchmark Time CPU Time Old Time New CPU Old CPU New
Testing disabled logging request +0.0111 +0.0129 0 0 0 0
Testing disabled logging request/threads:4 -0.0023 -0.0006 0 0 1 1
Appending 5 char string using MessageBuffer, pattern: %m%n -0.4118 -0.4109 562 331 562 331
Appending 5 char string using MessageBuffer, pattern: %m%n/threads:4 -0.6291 -0.6201 914 339 3525 1339
Appending 49 char string using MessageBuffer, pattern: %m%n -0.4013 -0.4004 614 368 614 368
Appending 49 char string using MessageBuffer, pattern: %m%n/threads:4 -0.6164 -0.6066 944 362 3622 1425
Appending int value using MessageBuffer, pattern: %m%n -0.2645 -0.2634 742 546 742 547
Appending int value using MessageBuffer, pattern: %m%n/threads:4 -0.5992 -0.5891 966 387 3727 1532
Appending int+float using MessageBuffer, pattern: %m%n -0.2205 -0.2191 1226 956 1226 957
Appending int+float using MessageBuffer, pattern: %m%n/threads:4 -0.5854 -0.5765 1005 417 3932 1665
Appending int value using MessageBuffer, pattern: [%d] %m%n -0.1842 -0.1832 772 630 773 631
Appending int value using MessageBuffer, pattern: [%d] [%c] [%p] %m%n -0.2029 -0.2019 827 660 828 661
Appending 49 char string using FMT, pattern: %m%n -0.3890 -0.3883 574 351 574 351
Appending 49 char string using FMT, pattern: %m%n/threads:4 -0.6198 -0.6098 931 354 3569 1393
Appending int value using FMT, pattern: %m%n -0.3545 -0.3538 589 380 589 381
Appending int value using FMT, pattern: %m%n/threads:4 -0.6176 -0.6077 936 358 3598 1411
Appending int+float using FMT, pattern: %m%n -0.2939 -0.2931 726 513 726 513
Appending int+float using FMT, pattern: %m%n/threads:4 -0.6012 -0.5911 971 387 3765 1540
Async, Sending int+float using MessageBuffer -0.4609 -0.4603 2764 1490 2764 1492
Async, Sending int+float using MessageBuffer/threads:4 -0.6097 -0.5939 1454 567 5587 2269
Logging int+float using MessageBuffer, pattern: %d %m%n -0.1953 -0.1904 1352 1088 1345 1089
Logging int+float using MessageBuffer, pattern: %d %m%n/threads:4 -0.3182 -0.3828 1368 933 4792 2957
OVERALL_GEOMEAN -0.4218 -0.4182 0 0 0 0
swebb2066 commented 7 months ago
Benchmark results on Windows 11 (Safe mode) VS2022 comparing v1.2.0.json to v1.3.0.json Benchmark Time CPU Time Old Time New CPU Old CPU New
Testing disabled logging request -0.2095 -0.2174 3 3 3 3
Testing disabled logging request/threads:6 -0.0648 -0.1373 1 1 4 4
Appending 5 char string using MessageBuffer, pattern: %m%n -0.6955 -0.6875 2435 742 2455 767
Appending 5 char string using MessageBuffer, pattern: %m%n/threads:6 -0.2595 -0.2457 559 414 3418 2578
Appending 49 char string using MessageBuffer, pattern: %m%n -0.2793 -0.2692 1083 781 1088 795
Appending 49 char string using MessageBuffer, pattern: %m%n/threads:6 -0.1125 -0.0931 637 565 3906 3542
Appending int value using MessageBuffer, pattern: %m%n -0.0597 -0.0650 1707 1606 1716 1604
Appending int value using MessageBuffer, pattern: %m%n/threads:6 +0.1033 +0.1494 660 728 3861 4437
Appending int+float using MessageBuffer, pattern: %m%n -0.0366 +0.0098 2991 2881 2860 2888
Appending int+float using MessageBuffer, pattern: %m%n/threads:6 -0.2686 -0.2864 1306 955 8196 5849
Appending int value using MessageBuffer, pattern: [%d] %m%n -0.1354 -0.1750 4019 3475 4185 3453
Appending int value using MessageBuffer, pattern: [%d] [%c] [%p] %m%n +0.0757 +0.0435 1917 2062 1925 2009
Appending 49 char string using FMT, pattern: %m%n -0.0200 -0.0213 822 806 820 802
Appending 49 char string using FMT, pattern: %m%n/threads:6 -0.1587 -0.1250 603 507 3627 3174
Appending int value using FMT, pattern: %m%n -0.0984 -0.1020 849 766 854 767
Appending int value using FMT, pattern: %m%n/threads:6 -0.0358 -0.0130 532 513 3139 3098
Appending int+float using FMT, pattern: %m%n -0.0611 -0.0655 1221 1147 1224 1144
Appending int+float using FMT, pattern: %m%n/threads:6 -0.0410 -0.0619 584 560 3643 3418
Async, Sending int+float using MessageBuffer +0.0046 +0.0169 3141 3155 3097 3149
Async, Sending int+float using MessageBuffer/threads:6 -0.1172 -0.1344 1195 1055 7219 6249
Logging int+float using MessageBuffer, pattern: %d %m%n -0.0070 -0.0043 3200 3178 3223 3209
Logging int+float using MessageBuffer, pattern: %d %m%n/threads:6 +0.0114 -0.0124 1513 1530 7499 7405
OVERALL_GEOMEAN -0.1345 -0.1356 0 0 0 0