diff --git a/bench.json b/bench.json index a56ed96..76d606c 100755 --- a/bench.json +++ b/bench.json @@ -1,6 +1,6 @@ [ { - "Date": 1726964370, + "Date": 1727569199, "Suites": [ { "Goos": "linux", @@ -9,8 +9,8 @@ "Benchmarks": [ { "Name": "BenchmarkEvent/Zerolog-4", - "Runs": 9831536, - "NsPerOp": 122.8, + "Runs": 9848792, + "NsPerOp": 121.4, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -19,8 +19,8 @@ }, { "Name": "BenchmarkEvent/Phuslog-4", - "Runs": 12554892, - "NsPerOp": 93.72, + "Runs": 12649256, + "NsPerOp": 99.41, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -29,8 +29,8 @@ }, { "Name": "BenchmarkEvent/Zap-4", - "Runs": 5013258, - "NsPerOp": 246.3, + "Runs": 5012427, + "NsPerOp": 242.2, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -39,8 +39,8 @@ }, { "Name": "BenchmarkEvent/ZapSugar-4", - "Runs": 4154008, - "NsPerOp": 283.4, + "Runs": 4371028, + "NsPerOp": 315.2, "Mem": { "BytesPerOp": 16, "AllocsPerOp": 1, @@ -49,8 +49,8 @@ }, { "Name": "BenchmarkEvent/Slog-4", - "Runs": 3129512, - "NsPerOp": 388, + "Runs": 3222318, + "NsPerOp": 379.6, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -59,8 +59,8 @@ }, { "Name": "BenchmarkEvent/SlogZap-4", - "Runs": 2748876, - "NsPerOp": 493, + "Runs": 2754896, + "NsPerOp": 434.5, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -69,8 +69,8 @@ }, { "Name": "BenchmarkEvent/Apex-4", - "Runs": 827672, - "NsPerOp": 1364, + "Runs": 783628, + "NsPerOp": 1335, "Mem": { "BytesPerOp": 240, "AllocsPerOp": 5, @@ -79,8 +79,8 @@ }, { "Name": "BenchmarkEvent/Logrus-4", - "Runs": 426508, - "NsPerOp": 2485, + "Runs": 449173, + "NsPerOp": 2427, "Mem": { "BytesPerOp": 1113, "AllocsPerOp": 23, @@ -89,8 +89,8 @@ }, { "Name": "BenchmarkEvent/Log15-4", - "Runs": 297858, - "NsPerOp": 3822, + "Runs": 298887, + "NsPerOp": 3774, "Mem": { "BytesPerOp": 1432, "AllocsPerOp": 20, @@ -99,8 +99,8 @@ }, { "Name": "BenchmarkEvent/Logf-4", - "Runs": 6578007, - "NsPerOp": 181.3, + "Runs": 6569258, + "NsPerOp": 176.9, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -109,8 +109,8 @@ }, { "Name": "BenchmarkDisabled/Zerolog-4", - "Runs": 454440171, - "NsPerOp": 2.531, + "Runs": 479921756, + "NsPerOp": 2.51, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -119,8 +119,8 @@ }, { "Name": "BenchmarkDisabled/Phuslog-4", - "Runs": 510311841, - "NsPerOp": 2.345, + "Runs": 505021762, + "NsPerOp": 2.342, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -129,8 +129,8 @@ }, { "Name": "BenchmarkDisabled/Zap-4", - "Runs": 288354716, - "NsPerOp": 4.066, + "Runs": 293010822, + "NsPerOp": 4.063, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -139,8 +139,8 @@ }, { "Name": "BenchmarkDisabled/ZapSugar-4", - "Runs": 61954976, - "NsPerOp": 18.63, + "Runs": 62639124, + "NsPerOp": 18.52, "Mem": { "BytesPerOp": 16, "AllocsPerOp": 1, @@ -149,8 +149,8 @@ }, { "Name": "BenchmarkDisabled/Slog-4", - "Runs": 295196287, - "NsPerOp": 4.07, + "Runs": 295427419, + "NsPerOp": 4.058, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -159,8 +159,8 @@ }, { "Name": "BenchmarkDisabled/SlogZap-4", - "Runs": 247465587, - "NsPerOp": 4.843, + "Runs": 248013933, + "NsPerOp": 4.953, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -169,8 +169,8 @@ }, { "Name": "BenchmarkDisabled/Apex-4", - "Runs": 404163204, - "NsPerOp": 2.971, + "Runs": 403048224, + "NsPerOp": 2.982, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -179,8 +179,8 @@ }, { "Name": "BenchmarkDisabled/Logrus-4", - "Runs": 67774377, - "NsPerOp": 17.77, + "Runs": 68765496, + "NsPerOp": 16.85, "Mem": { "BytesPerOp": 16, "AllocsPerOp": 1, @@ -189,8 +189,8 @@ }, { "Name": "BenchmarkDisabled/Log15-4", - "Runs": 2290474, - "NsPerOp": 524.1, + "Runs": 2350791, + "NsPerOp": 508, "Mem": { "BytesPerOp": 456, "AllocsPerOp": 3, @@ -199,8 +199,8 @@ }, { "Name": "BenchmarkDisabled/Logf-4", - "Runs": 302952338, - "NsPerOp": 3.955, + "Runs": 303425504, + "NsPerOp": 3.959, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -209,8 +209,8 @@ }, { "Name": "BenchmarkEventFmt/Zerolog-4", - "Runs": 2551647, - "NsPerOp": 476.3, + "Runs": 2572153, + "NsPerOp": 466.3, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -219,8 +219,8 @@ }, { "Name": "BenchmarkEventFmt/Phuslog-4", - "Runs": 2831059, - "NsPerOp": 423.2, + "Runs": 2827264, + "NsPerOp": 425.7, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -229,8 +229,8 @@ }, { "Name": "BenchmarkEventFmt/Zap-4", - "Runs": 1708248, - "NsPerOp": 708.8, + "Runs": 1665373, + "NsPerOp": 700.5, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -239,8 +239,8 @@ }, { "Name": "BenchmarkEventFmt/ZapSugar-4", - "Runs": 1656162, - "NsPerOp": 715.1, + "Runs": 1720464, + "NsPerOp": 716.3, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -249,8 +249,8 @@ }, { "Name": "BenchmarkEventFmt/Slog-4", - "Runs": 1572858, - "NsPerOp": 769.8, + "Runs": 1556233, + "NsPerOp": 775, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -259,8 +259,8 @@ }, { "Name": "BenchmarkEventFmt/SlogZap-4", - "Runs": 1306580, - "NsPerOp": 913.7, + "Runs": 1313398, + "NsPerOp": 901.6, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -269,8 +269,8 @@ }, { "Name": "BenchmarkEventFmt/Apex-4", - "Runs": 453438, - "NsPerOp": 2517, + "Runs": 454682, + "NsPerOp": 2493, "Mem": { "BytesPerOp": 352, "AllocsPerOp": 6, @@ -279,8 +279,8 @@ }, { "Name": "BenchmarkEventFmt/Logrus-4", - "Runs": 307765, - "NsPerOp": 3766, + "Runs": 311847, + "NsPerOp": 3666, "Mem": { "BytesPerOp": 1289, "AllocsPerOp": 24, @@ -289,8 +289,8 @@ }, { "Name": "BenchmarkEventFmt/Log15-4", - "Runs": 224832, - "NsPerOp": 5206, + "Runs": 230312, + "NsPerOp": 5012, "Mem": { "BytesPerOp": 1609, "AllocsPerOp": 21, @@ -299,8 +299,8 @@ }, { "Name": "BenchmarkEventFmt/Logf-4", - "Runs": 2217718, - "NsPerOp": 542.3, + "Runs": 2252685, + "NsPerOp": 536.5, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -309,8 +309,8 @@ }, { "Name": "BenchmarkDisabledFmt/Zerolog-4", - "Runs": 348584528, - "NsPerOp": 3.444, + "Runs": 345093253, + "NsPerOp": 3.436, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -319,8 +319,8 @@ }, { "Name": "BenchmarkDisabledFmt/Phuslog-4", - "Runs": 451838580, - "NsPerOp": 2.711, + "Runs": 447222667, + "NsPerOp": 2.659, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -329,8 +329,8 @@ }, { "Name": "BenchmarkDisabledFmt/Zap-4", - "Runs": 4268949, - "NsPerOp": 284.2, + "Runs": 4273696, + "NsPerOp": 284.4, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -339,8 +339,8 @@ }, { "Name": "BenchmarkDisabledFmt/ZapSugar-4", - "Runs": 333867021, - "NsPerOp": 3.599, + "Runs": 333384280, + "NsPerOp": 3.592, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -349,8 +349,8 @@ }, { "Name": "BenchmarkDisabledFmt/Slog-4", - "Runs": 4265714, - "NsPerOp": 288.1, + "Runs": 4295409, + "NsPerOp": 279.9, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -359,8 +359,8 @@ }, { "Name": "BenchmarkDisabledFmt/SlogZap-4", - "Runs": 4206045, - "NsPerOp": 290.8, + "Runs": 4248056, + "NsPerOp": 281, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -369,8 +369,8 @@ }, { "Name": "BenchmarkDisabledFmt/Apex-4", - "Runs": 4241481, - "NsPerOp": 287.7, + "Runs": 4324868, + "NsPerOp": 283.4, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -379,8 +379,8 @@ }, { "Name": "BenchmarkDisabledFmt/Logrus-4", - "Runs": 614516564, - "NsPerOp": 1.982, + "Runs": 613896808, + "NsPerOp": 1.952, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -389,8 +389,8 @@ }, { "Name": "BenchmarkDisabledFmt/Log15-4", - "Runs": 1394604, - "NsPerOp": 859.1, + "Runs": 1413991, + "NsPerOp": 846.7, "Mem": { "BytesPerOp": 568, "AllocsPerOp": 4, @@ -399,8 +399,8 @@ }, { "Name": "BenchmarkDisabledFmt/Logf-4", - "Runs": 4231555, - "NsPerOp": 279.3, + "Runs": 4321284, + "NsPerOp": 277.8, "Mem": { "BytesPerOp": 112, "AllocsPerOp": 1, @@ -409,8 +409,8 @@ }, { "Name": "BenchmarkEventCtx/Zerolog-4", - "Runs": 800118, - "NsPerOp": 1478, + "Runs": 787213, + "NsPerOp": 1471, "Mem": { "BytesPerOp": 552, "AllocsPerOp": 12, @@ -419,8 +419,8 @@ }, { "Name": "BenchmarkEventCtx/Phuslog-4", - "Runs": 588296, - "NsPerOp": 2007, + "Runs": 593946, + "NsPerOp": 2004, "Mem": { "BytesPerOp": 552, "AllocsPerOp": 12, @@ -429,8 +429,8 @@ }, { "Name": "BenchmarkEventCtx/Zap-4", - "Runs": 496671, - "NsPerOp": 2399, + "Runs": 522838, + "NsPerOp": 2498, "Mem": { "BytesPerOp": 1177, "AllocsPerOp": 15, @@ -439,8 +439,8 @@ }, { "Name": "BenchmarkEventCtx/ZapSugar-4", - "Runs": 428972, - "NsPerOp": 3006, + "Runs": 435206, + "NsPerOp": 3125, "Mem": { "BytesPerOp": 1858, "AllocsPerOp": 21, @@ -449,8 +449,8 @@ }, { "Name": "BenchmarkEventCtx/Slog-4", - "Runs": 268582, - "NsPerOp": 4386, + "Runs": 268527, + "NsPerOp": 4329, "Mem": { "BytesPerOp": 2388, "AllocsPerOp": 28, @@ -459,8 +459,8 @@ }, { "Name": "BenchmarkEventCtx/SlogZap-4", - "Runs": 379909, - "NsPerOp": 3176, + "Runs": 350676, + "NsPerOp": 3185, "Mem": { "BytesPerOp": 1770, "AllocsPerOp": 19, @@ -469,8 +469,8 @@ }, { "Name": "BenchmarkEventCtx/Apex-4", - "Runs": 82816, - "NsPerOp": 14115, + "Runs": 86206, + "NsPerOp": 13683, "Mem": { "BytesPerOp": 3585, "AllocsPerOp": 52, @@ -479,28 +479,28 @@ }, { "Name": "BenchmarkEventCtx/Logrus-4", - "Runs": 71949, - "NsPerOp": 16579, + "Runs": 73502, + "NsPerOp": 16055, "Mem": { - "BytesPerOp": 5516, + "BytesPerOp": 5518, "AllocsPerOp": 67, "MBPerSec": 0 } }, { "Name": "BenchmarkEventCtx/Log15-4", - "Runs": 67364, - "NsPerOp": 17587, + "Runs": 68926, + "NsPerOp": 17194, "Mem": { - "BytesPerOp": 5299, + "BytesPerOp": 5301, "AllocsPerOp": 63, "MBPerSec": 0 } }, { "Name": "BenchmarkEventCtx/Logf-4", - "Runs": 193628, - "NsPerOp": 6164, + "Runs": 198812, + "NsPerOp": 6080, "Mem": { "BytesPerOp": 2513, "AllocsPerOp": 88, @@ -509,8 +509,8 @@ }, { "Name": "BenchmarkDisabledCtx/Zerolog-4", - "Runs": 23967526, - "NsPerOp": 49.1, + "Runs": 24836929, + "NsPerOp": 48.22, "Mem": { "BytesPerOp": 72, "AllocsPerOp": 2, @@ -519,8 +519,8 @@ }, { "Name": "BenchmarkDisabledCtx/Phuslog-4", - "Runs": 24932252, - "NsPerOp": 48.86, + "Runs": 25075712, + "NsPerOp": 47.75, "Mem": { "BytesPerOp": 72, "AllocsPerOp": 2, @@ -529,8 +529,8 @@ }, { "Name": "BenchmarkDisabledCtx/Zap-4", - "Runs": 5539705, - "NsPerOp": 215.6, + "Runs": 5612478, + "NsPerOp": 213.3, "Mem": { "BytesPerOp": 696, "AllocsPerOp": 5, @@ -539,8 +539,8 @@ }, { "Name": "BenchmarkDisabledCtx/ZapSugar-4", - "Runs": 9150255, - "NsPerOp": 129.6, + "Runs": 9358520, + "NsPerOp": 128.8, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -549,8 +549,8 @@ }, { "Name": "BenchmarkDisabledCtx/Slog-4", - "Runs": 6808418, - "NsPerOp": 179.2, + "Runs": 6711942, + "NsPerOp": 174.9, "Mem": { "BytesPerOp": 504, "AllocsPerOp": 5, @@ -559,8 +559,8 @@ }, { "Name": "BenchmarkDisabledCtx/SlogZap-4", - "Runs": 6667783, - "NsPerOp": 180.3, + "Runs": 6810265, + "NsPerOp": 175.4, "Mem": { "BytesPerOp": 504, "AllocsPerOp": 5, @@ -569,8 +569,8 @@ }, { "Name": "BenchmarkDisabledCtx/Apex-4", - "Runs": 3067390, - "NsPerOp": 390.8, + "Runs": 3161283, + "NsPerOp": 385.7, "Mem": { "BytesPerOp": 921, "AllocsPerOp": 12, @@ -579,8 +579,8 @@ }, { "Name": "BenchmarkDisabledCtx/Logrus-4", - "Runs": 1710049, - "NsPerOp": 697.3, + "Runs": 1703968, + "NsPerOp": 692.9, "Mem": { "BytesPerOp": 1554, "AllocsPerOp": 14, @@ -589,8 +589,8 @@ }, { "Name": "BenchmarkDisabledCtx/Log15-4", - "Runs": 1390045, - "NsPerOp": 863.9, + "Runs": 1412314, + "NsPerOp": 854.5, "Mem": { "BytesPerOp": 1208, "AllocsPerOp": 13, @@ -599,8 +599,8 @@ }, { "Name": "BenchmarkDisabledCtx/Logf-4", - "Runs": 9387240, - "NsPerOp": 128.1, + "Runs": 9516807, + "NsPerOp": 126.9, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -609,8 +609,8 @@ }, { "Name": "BenchmarkEventCtxWeak/Zerolog-4", - "Runs": 415298, - "NsPerOp": 2881, + "Runs": 411433, + "NsPerOp": 2852, "Mem": { "BytesPerOp": 1298, "AllocsPerOp": 19, @@ -619,8 +619,8 @@ }, { "Name": "BenchmarkEventCtxWeak/Phuslog-4", - "Runs": 361735, - "NsPerOp": 3236, + "Runs": 367213, + "NsPerOp": 3206, "Mem": { "BytesPerOp": 1235, "AllocsPerOp": 19, @@ -629,8 +629,8 @@ }, { "Name": "BenchmarkEventCtxWeak/Zap-4", - "Runs": 373104, - "NsPerOp": 2978, + "Runs": 437340, + "NsPerOp": 2866, "Mem": { "BytesPerOp": 1859, "AllocsPerOp": 21, @@ -639,8 +639,8 @@ }, { "Name": "BenchmarkEventCtxWeak/ZapSugar-4", - "Runs": 405549, - "NsPerOp": 2998, + "Runs": 432340, + "NsPerOp": 3031, "Mem": { "BytesPerOp": 1859, "AllocsPerOp": 21, @@ -649,8 +649,8 @@ }, { "Name": "BenchmarkEventCtxWeak/Slog-4", - "Runs": 264690, - "NsPerOp": 4479, + "Runs": 267819, + "NsPerOp": 4420, "Mem": { "BytesPerOp": 2268, "AllocsPerOp": 32, @@ -659,8 +659,8 @@ }, { "Name": "BenchmarkEventCtxWeak/SlogZap-4", - "Runs": 374499, - "NsPerOp": 3300, + "Runs": 380277, + "NsPerOp": 3347, "Mem": { "BytesPerOp": 1651, "AllocsPerOp": 23, @@ -669,8 +669,8 @@ }, { "Name": "BenchmarkEventCtxWeak/Apex-4", - "Runs": 80233, - "NsPerOp": 14759, + "Runs": 82962, + "NsPerOp": 14522, "Mem": { "BytesPerOp": 3601, "AllocsPerOp": 53, @@ -679,8 +679,8 @@ }, { "Name": "BenchmarkEventCtxWeak/Logrus-4", - "Runs": 71244, - "NsPerOp": 16536, + "Runs": 73160, + "NsPerOp": 16261, "Mem": { "BytesPerOp": 5517, "AllocsPerOp": 67, @@ -689,18 +689,18 @@ }, { "Name": "BenchmarkEventCtxWeak/Log15-4", - "Runs": 63249, - "NsPerOp": 18351, + "Runs": 65589, + "NsPerOp": 18326, "Mem": { - "BytesPerOp": 5646, + "BytesPerOp": 5645, "AllocsPerOp": 66, "MBPerSec": 0 } }, { "Name": "BenchmarkEventCtxWeak/Logf-4", - "Runs": 100582, - "NsPerOp": 11930, + "Runs": 101044, + "NsPerOp": 11816, "Mem": { "BytesPerOp": 4851, "AllocsPerOp": 168, @@ -709,8 +709,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Zerolog-4", - "Runs": 9323635, - "NsPerOp": 127.8, + "Runs": 9584145, + "NsPerOp": 126, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -719,8 +719,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Phuslog-4", - "Runs": 3812737, - "NsPerOp": 318.2, + "Runs": 3858025, + "NsPerOp": 310.7, "Mem": { "BytesPerOp": 753, "AllocsPerOp": 9, @@ -729,8 +729,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Zap-4", - "Runs": 8999647, - "NsPerOp": 132.2, + "Runs": 9193540, + "NsPerOp": 130.6, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -739,8 +739,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/ZapSugar-4", - "Runs": 8786094, - "NsPerOp": 131.4, + "Runs": 9172872, + "NsPerOp": 130.1, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -749,8 +749,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Slog-4", - "Runs": 9230805, - "NsPerOp": 136, + "Runs": 9161850, + "NsPerOp": 128.2, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -759,8 +759,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/SlogZap-4", - "Runs": 9186417, - "NsPerOp": 131, + "Runs": 9363105, + "NsPerOp": 128.2, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -769,8 +769,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Apex-4", - "Runs": 2927908, - "NsPerOp": 414.1, + "Runs": 2981845, + "NsPerOp": 407.5, "Mem": { "BytesPerOp": 937, "AllocsPerOp": 13, @@ -779,8 +779,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Logrus-4", - "Runs": 1688559, - "NsPerOp": 703.6, + "Runs": 1739566, + "NsPerOp": 693.5, "Mem": { "BytesPerOp": 1554, "AllocsPerOp": 14, @@ -789,8 +789,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Log15-4", - "Runs": 1322836, - "NsPerOp": 894.2, + "Runs": 1376523, + "NsPerOp": 880, "Mem": { "BytesPerOp": 1496, "AllocsPerOp": 13, @@ -799,8 +799,8 @@ }, { "Name": "BenchmarkDisabledCtxWeak/Logf-4", - "Runs": 9220377, - "NsPerOp": 129, + "Runs": 9447816, + "NsPerOp": 127.5, "Mem": { "BytesPerOp": 176, "AllocsPerOp": 8, @@ -809,8 +809,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/Zerolog-4", - "Runs": 10040839, - "NsPerOp": 119.9, + "Runs": 9687892, + "NsPerOp": 122.6, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -819,8 +819,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/Phuslog-4", - "Runs": 12126831, - "NsPerOp": 98.63, + "Runs": 11696287, + "NsPerOp": 103.1, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -829,8 +829,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/Zap-4", - "Runs": 4779208, - "NsPerOp": 246, + "Runs": 4832550, + "NsPerOp": 249.7, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -839,8 +839,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/ZapSugar-4", - "Runs": 4230140, - "NsPerOp": 294.3, + "Runs": 4356436, + "NsPerOp": 284, "Mem": { "BytesPerOp": 16, "AllocsPerOp": 1, @@ -849,8 +849,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/Slog-4", - "Runs": 2928376, - "NsPerOp": 401, + "Runs": 3045069, + "NsPerOp": 407.8, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -859,8 +859,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/SlogZap-4", - "Runs": 2643972, - "NsPerOp": 495.5, + "Runs": 2697864, + "NsPerOp": 448.7, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -869,8 +869,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/Apex-4", - "Runs": 90640, - "NsPerOp": 13175, + "Runs": 91215, + "NsPerOp": 13113, "Mem": { "BytesPerOp": 2662, "AllocsPerOp": 40, @@ -879,8 +879,8 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/Logrus-4", - "Runs": 459802, - "NsPerOp": 2476, + "Runs": 443644, + "NsPerOp": 2415, "Mem": { "BytesPerOp": 1113, "AllocsPerOp": 23, @@ -889,18 +889,18 @@ }, { "Name": "BenchmarkEventAccumulatedCtx/Log15-4", - "Runs": 69043, - "NsPerOp": 17418, + "Runs": 70318, + "NsPerOp": 16827, "Mem": { - "BytesPerOp": 4836, + "BytesPerOp": 4835, "AllocsPerOp": 54, "MBPerSec": 0 } }, { "Name": "BenchmarkEventAccumulatedCtx/Logf-4", - "Runs": 199810, - "NsPerOp": 6001, + "Runs": 202088, + "NsPerOp": 5898, "Mem": { "BytesPerOp": 2337, "AllocsPerOp": 80, @@ -909,8 +909,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Zerolog-4", - "Runs": 479355028, - "NsPerOp": 2.503, + "Runs": 478425064, + "NsPerOp": 2.499, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -919,8 +919,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Phuslog-4", - "Runs": 511768702, - "NsPerOp": 2.355, + "Runs": 510201712, + "NsPerOp": 2.343, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -929,8 +929,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Zap-4", - "Runs": 294089882, - "NsPerOp": 4.074, + "Runs": 295247462, + "NsPerOp": 4.062, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -939,8 +939,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/ZapSugar-4", - "Runs": 63161175, - "NsPerOp": 19, + "Runs": 62382168, + "NsPerOp": 18.63, "Mem": { "BytesPerOp": 16, "AllocsPerOp": 1, @@ -949,8 +949,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Slog-4", - "Runs": 292190245, - "NsPerOp": 4.062, + "Runs": 295604877, + "NsPerOp": 4.12, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -959,8 +959,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/SlogZap-4", - "Runs": 247768670, - "NsPerOp": 4.842, + "Runs": 247832907, + "NsPerOp": 4.84, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -969,8 +969,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Apex-4", - "Runs": 511421364, - "NsPerOp": 2.348, + "Runs": 512596642, + "NsPerOp": 2.341, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, @@ -979,8 +979,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Logrus-4", - "Runs": 69342572, - "NsPerOp": 17.05, + "Runs": 68401744, + "NsPerOp": 16.91, "Mem": { "BytesPerOp": 16, "AllocsPerOp": 1, @@ -989,8 +989,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Log15-4", - "Runs": 2010854, - "NsPerOp": 615.8, + "Runs": 2035832, + "NsPerOp": 587.1, "Mem": { "BytesPerOp": 744, "AllocsPerOp": 4, @@ -999,8 +999,8 @@ }, { "Name": "BenchmarkDisabledAccumulatedCtx/Logf-4", - "Runs": 303226737, - "NsPerOp": 4.156, + "Runs": 298649890, + "NsPerOp": 3.954, "Mem": { "BytesPerOp": 0, "AllocsPerOp": 0, diff --git a/docs/dist/main.js b/docs/dist/main.js index 5cf355a..2d62b98 100644 --- a/docs/dist/main.js +++ b/docs/dist/main.js @@ -693,7 +693,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho .apexcharts-rangebar-goals-markers{ pointer-events: none -}`,r?s.prepend(e.css):n.head.appendChild(e.css))}var h=e.create(e.w.config.series,{});if(!h)return t(e);e.mount(h).then(function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(h)}).catch(function(c){i(c)})}else i(new Error("Element not found"))})}},{key:"create",value:function(e,t){var i=this.w;new $e(this).initModules();var a=this.w.globals;if(a.noData=!1,a.animationEnded=!1,this.responsive.checkResponsiveConfig(t),i.config.xaxis.convertedCatToNumeric&&new pe(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.el===null||(this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),a.svgWidth===0))return a.animationEnded=!0,null;var s=G.checkComboSeries(e);a.comboCharts=s.comboCharts,a.comboBarCount=s.comboBarCount;var r=e.every(function(c){return c.data&&c.data.length===0});(e.length===0||r)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new ye(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),a.noData&&a.collapsedSeries.length!==a.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),a.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new G(this).getLargestMarkerSize(),this.dimensions.plotCoords();var n=this.core.xySettings();this.grid.createGridMask();var o=this.core.plotChartType(e,n),h=new le(this);return h.bringForward(),i.config.dataLabels.background.enabled&&h.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:o,xyRatios:n,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,a=i.w;return new Promise(function(s,r){if(i.el===null)return r(new Error("Not enough data to display or target element not found"));(t===null||a.globals.allSeriesCollapsed)&&i.series.handleNoData(),i.grid=new st(i);var n,o,h=i.grid.drawGrid();if(i.annotations=new Mt(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),a.config.grid.position==="back"&&(h&&a.globals.dom.elGraphical.add(h.el),h!=null&&(n=h.elGridBorders)!==null&&n!==void 0&&n.node&&a.globals.dom.elGraphical.add(h.elGridBorders)),Array.isArray(t.elGraph))for(var c=0;c0&&a.globals.memory.methodsToExec.forEach(function(f){f.method(f.params,!1,f.context)}),a.globals.axisCharts||a.globals.noData||i.core.resizeNonAxisCharts(),s(i)})}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=Ne.get(e))&&(t.disconnect(),Ne.delete(e));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(a,s){a.id===L.escapeString(i)&&Apex._chartInstances.splice(s,1)}),new Je(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w;return n.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map(function(o,h){return t.updateHelpers._extendSeries(o,h)})),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),n.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,i,a,s,r)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,i)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.w.config.series.slice();return a.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(a,t,i)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=this;i.w.globals.dataChanged=!0,i.series.getPreviousPaths();for(var a=i.w.config.series.slice(),s=0;s0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addXaxisAnnotationExternal(e,t,a)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addYaxisAnnotationExternal(e,t,a)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addPointAnnotationExternal(e,t,a)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,i=this;t&&(i=t),i.annotations.removeAnnotation(i,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Fe(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Fe(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new ke(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new ke(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()},150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=L.escapeString(e);if(Apex._chartInstances){var i=Apex._chartInstances.filter(function(a){return a.id===t})[0];return i&&i.chart}}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t2?s-2:0),n=2;na.name===e);i===-1?K[b].push({name:e,data:[t]}):K[b][i].data.push(t)}var li=ut[0].Suites[0].Benchmarks;li.forEach(b=>{let e=b.Name.split("/")[0].split("Benchmark")[1],t=b.Name.split("/")[1].split("-")[0];pt.push(e),oi.push(t),e.includes("Disabled")?(se("executionTimeDisabled",t,b.NsPerOp),se("memoryUsageDisabled",t,b.Mem.BytesPerOp),se("totalRunsDisabled",t,b.Runs),se("allocationsDisabled",t,b.Mem.AllocsPerOp)):(se("executionTime",t,b.NsPerOp),se("memoryUsage",t,b.Mem.BytesPerOp),se("totalRuns",t,b.Runs),se("allocations",t,b.Mem.AllocsPerOp))});var ft=Array.from(new Set(pt)),Pe=ft.filter(b=>!b.includes("Disabled")),Le=ft.filter(b=>b.includes("Disabled")),hi=new ae.default(document.querySelector("#js-nano-chart"),ie({series:K.executionTime,categories:Pe,title:"Execution time",subtitle:"Average execution time per logged event (lower is better)",yaxis:"nanoseconds"}));hi.render();var ci=new ae.default(document.querySelector("#js-nano-chart-disabled"),ie({series:K.executionTimeDisabled,categories:Le,title:"Execution time (disabled)",subtitle:"Average execution time per disabled log (lower is better)",yaxis:"nanoseconds"}));ci.render();var di=new ae.default(document.querySelector("#js-allocs-chart"),ie({series:K.allocations,categories:Pe,title:"Heap allocations",subtitle:"Incurred allocations per logged event (lower is better)",yaxis:"allocations"}));di.render();var gi=new ae.default(document.querySelector("#js-allocs-chart-disabled"),ie({series:K.allocationsDisabled,categories:Le,title:"Heap allocations (disabled)",subtitle:"Incurred allocations per disabled event (lower is better)",yaxis:"allocations"}));gi.render();var ui=new ae.default(document.querySelector("#js-bytes-chart"),ie({series:K.memoryUsage,categories:Pe,title:"Memory usage",subtitle:"Bytes allocated per logged event (lower is better)",yaxis:"bytes"}));ui.render();var pi=new ae.default(document.querySelector("#js-bytes-chart-disabled"),ie({series:K.memoryUsageDisabled,categories:Le,title:"Memory usage (disabled)",subtitle:"Bytes allocated per disabled event (lower is better)",yaxis:"bytes"}));pi.render();var fi=new ae.default(document.querySelector("#js-run-chart"),ie({series:K.totalRuns,categories:Pe,title:"Total events",subtitle:"Number of events logged (higher is better)",yaxis:"iterations"}));fi.render();var xi=new ae.default(document.querySelector("#js-run-chart-disabled"),ie({series:K.totalRunsDisabled,categories:Le,title:"Total events (disabled)",subtitle:"Number of disabled events skipped (higher is better)",yaxis:"iterations"}));xi.render();})(); +}`,r?s.prepend(e.css):n.head.appendChild(e.css))}var h=e.create(e.w.config.series,{});if(!h)return t(e);e.mount(h).then(function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(h)}).catch(function(c){i(c)})}else i(new Error("Element not found"))})}},{key:"create",value:function(e,t){var i=this.w;new $e(this).initModules();var a=this.w.globals;if(a.noData=!1,a.animationEnded=!1,this.responsive.checkResponsiveConfig(t),i.config.xaxis.convertedCatToNumeric&&new pe(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.el===null||(this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),a.svgWidth===0))return a.animationEnded=!0,null;var s=G.checkComboSeries(e);a.comboCharts=s.comboCharts,a.comboBarCount=s.comboBarCount;var r=e.every(function(c){return c.data&&c.data.length===0});(e.length===0||r)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new ye(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),a.noData&&a.collapsedSeries.length!==a.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),a.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new G(this).getLargestMarkerSize(),this.dimensions.plotCoords();var n=this.core.xySettings();this.grid.createGridMask();var o=this.core.plotChartType(e,n),h=new le(this);return h.bringForward(),i.config.dataLabels.background.enabled&&h.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:o,xyRatios:n,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,a=i.w;return new Promise(function(s,r){if(i.el===null)return r(new Error("Not enough data to display or target element not found"));(t===null||a.globals.allSeriesCollapsed)&&i.series.handleNoData(),i.grid=new st(i);var n,o,h=i.grid.drawGrid();if(i.annotations=new Mt(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),a.config.grid.position==="back"&&(h&&a.globals.dom.elGraphical.add(h.el),h!=null&&(n=h.elGridBorders)!==null&&n!==void 0&&n.node&&a.globals.dom.elGraphical.add(h.elGridBorders)),Array.isArray(t.elGraph))for(var c=0;c0&&a.globals.memory.methodsToExec.forEach(function(f){f.method(f.params,!1,f.context)}),a.globals.axisCharts||a.globals.noData||i.core.resizeNonAxisCharts(),s(i)})}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=Ne.get(e))&&(t.disconnect(),Ne.delete(e));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(a,s){a.id===L.escapeString(i)&&Apex._chartInstances.splice(s,1)}),new Je(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w;return n.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map(function(o,h){return t.updateHelpers._extendSeries(o,h)})),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),n.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,i,a,s,r)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,i)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.w.config.series.slice();return a.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(a,t,i)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=this;i.w.globals.dataChanged=!0,i.series.getPreviousPaths();for(var a=i.w.config.series.slice(),s=0;s0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addXaxisAnnotationExternal(e,t,a)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addYaxisAnnotationExternal(e,t,a)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addPointAnnotationExternal(e,t,a)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,i=this;t&&(i=t),i.annotations.removeAnnotation(i,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Fe(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Fe(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new ke(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new ke(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()},150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=L.escapeString(e);if(Apex._chartInstances){var i=Apex._chartInstances.filter(function(a){return a.id===t})[0];return i&&i.chart}}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t2?s-2:0),n=2;na.name===e);i===-1?K[b].push({name:e,data:[t]}):K[b][i].data.push(t)}var li=ut[0].Suites[0].Benchmarks;li.forEach(b=>{let e=b.Name.split("/")[0].split("Benchmark")[1],t=b.Name.split("/")[1].split("-")[0];pt.push(e),oi.push(t),e.includes("Disabled")?(se("executionTimeDisabled",t,b.NsPerOp),se("memoryUsageDisabled",t,b.Mem.BytesPerOp),se("totalRunsDisabled",t,b.Runs),se("allocationsDisabled",t,b.Mem.AllocsPerOp)):(se("executionTime",t,b.NsPerOp),se("memoryUsage",t,b.Mem.BytesPerOp),se("totalRuns",t,b.Runs),se("allocations",t,b.Mem.AllocsPerOp))});var ft=Array.from(new Set(pt)),Pe=ft.filter(b=>!b.includes("Disabled")),Le=ft.filter(b=>b.includes("Disabled")),hi=new ae.default(document.querySelector("#js-nano-chart"),ie({series:K.executionTime,categories:Pe,title:"Execution time",subtitle:"Average execution time per logged event (lower is better)",yaxis:"nanoseconds"}));hi.render();var ci=new ae.default(document.querySelector("#js-nano-chart-disabled"),ie({series:K.executionTimeDisabled,categories:Le,title:"Execution time (disabled)",subtitle:"Average execution time per disabled log (lower is better)",yaxis:"nanoseconds"}));ci.render();var di=new ae.default(document.querySelector("#js-allocs-chart"),ie({series:K.allocations,categories:Pe,title:"Heap allocations",subtitle:"Incurred allocations per logged event (lower is better)",yaxis:"allocations"}));di.render();var gi=new ae.default(document.querySelector("#js-allocs-chart-disabled"),ie({series:K.allocationsDisabled,categories:Le,title:"Heap allocations (disabled)",subtitle:"Incurred allocations per disabled event (lower is better)",yaxis:"allocations"}));gi.render();var ui=new ae.default(document.querySelector("#js-bytes-chart"),ie({series:K.memoryUsage,categories:Pe,title:"Memory usage",subtitle:"Bytes allocated per logged event (lower is better)",yaxis:"bytes"}));ui.render();var pi=new ae.default(document.querySelector("#js-bytes-chart-disabled"),ie({series:K.memoryUsageDisabled,categories:Le,title:"Memory usage (disabled)",subtitle:"Bytes allocated per disabled event (lower is better)",yaxis:"bytes"}));pi.render();var fi=new ae.default(document.querySelector("#js-run-chart"),ie({series:K.totalRuns,categories:Pe,title:"Total events",subtitle:"Number of events logged (higher is better)",yaxis:"iterations"}));fi.render();var xi=new ae.default(document.querySelector("#js-run-chart-disabled"),ie({series:K.totalRunsDisabled,categories:Le,title:"Total events (disabled)",subtitle:"Number of disabled events skipped (higher is better)",yaxis:"iterations"}));xi.render();})(); /*! Bundled license information: apexcharts/dist/apexcharts.common.js: