forked from vy/log4j2-logstash-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
results.out
1552 lines (1309 loc) · 87.4 KB
/
results.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< com.vlkan.log4j2:log4j2-logstash-layout >---------------
[INFO] Building log4j2-logstash-layout 0.21-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ log4j2-logstash-layout ---
# JMH version: 1.21
# VM version: JDK 1.8.0_192-ea, Java HotSpot(TM) 64-Bit Server VM, 25.192-b04
# VM invoker: /home/vy/Software/share/java/jdk/1.8.0_192/jre/bin/java
# VM options: -XX:+TieredCompilation -XX:+AggressiveOpts -Dclassworlds.conf=/home/vy/Software/share/java/maven/latest/bin/m2.conf -Dmaven.home=/home/vy/Software/share/java/maven/latest -Dlibrary.jansi.path=/home/vy/Software/share/java/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/vy/Projects/log4j2-logstash-layout
# Warmup: 3 iterations, 20 s each
# Measurement: 3 iterations, 30 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout
# Run progress: 0.00% complete, ETA 00:50:00
# Fork: 1 of 2
# Warmup Iteration 1: 6.588 ops/s
# Warmup Iteration 2: 7.400 ops/s
# Warmup Iteration 3: 7.646 ops/s
Iteration 1: 7.775 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 1721.787 MB/sec
·gc.churn.Eden_Space.norm: 236077958.974 B/op
·gc.churn.Survivor_Space: 0.358 MB/sec
·gc.churn.Survivor_Space.norm: 49127.692 B/op
·gc.count: 790.000 counts
·gc.time: 791.000 ms
·stack: <delayed till summary>
Iteration 2: 7.822 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 1733.552 MB/sec
·gc.churn.Eden_Space.norm: 236263579.643 B/op
·gc.churn.Survivor_Space: 0.376 MB/sec
·gc.churn.Survivor_Space.norm: 51219.336 B/op
·gc.count: 794.000 counts
·gc.time: 794.000 ms
·stack: <delayed till summary>
Iteration 3: 7.570 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 1679.290 MB/sec
·gc.churn.Eden_Space.norm: 236463373.474 B/op
·gc.churn.Survivor_Space: 0.341 MB/sec
·gc.churn.Survivor_Space.norm: 47957.789 B/op
·gc.count: 771.000 counts
·gc.time: 791.000 ms
·stack: <delayed till summary>
# Run progress: 5.00% complete, ETA 00:49:08
# Fork: 2 of 2
# Warmup Iteration 1: 6.873 ops/s
# Warmup Iteration 2: 8.425 ops/s
# Warmup Iteration 3: 8.462 ops/s
Iteration 1: 8.456 ops/s
·gc.alloc.rate: 1861.118 MB/sec
·gc.alloc.rate.norm: 234624867.685 B/op
·gc.churn.Eden_Space: 1875.874 MB/sec
·gc.churn.Eden_Space.norm: 236485095.559 B/op
·gc.churn.Survivor_Space: 0.391 MB/sec
·gc.churn.Survivor_Space.norm: 49261.134 B/op
·gc.count: 859.000 counts
·gc.time: 856.000 ms
·stack: <delayed till summary>
Iteration 2: 8.337 ops/s
·gc.alloc.rate: 1835.005 MB/sec
·gc.alloc.rate.norm: 234624841.371 B/op
·gc.churn.Eden_Space: 1849.870 MB/sec
·gc.churn.Eden_Space.norm: 236525564.622 B/op
·gc.churn.Survivor_Space: 0.375 MB/sec
·gc.churn.Survivor_Space.norm: 47950.661 B/op
·gc.count: 849.000 counts
·gc.time: 842.000 ms
·stack: <delayed till summary>
Iteration 3: 8.393 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 1859.178 MB/sec
·gc.churn.Eden_Space.norm: 236142071.873 B/op
·gc.churn.Survivor_Space: 0.372 MB/sec
·gc.churn.Survivor_Space.norm: 47249.524 B/op
·gc.count: 851.000 counts
·gc.time: 850.000 ms
·stack: <delayed till summary>
Result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout":
8.059 ±(99.9%) 1.066 ops/s [Average]
(min, avg, max) = (7.570, 8.059, 8.456), stdev = 0.380
CI (99.9%): [6.993, 9.125] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.alloc.rate":
≈ 0 MB/sec
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.alloc.rate.norm":
≈ 0 B/op
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.churn.Eden_Space":
1786.592 ±(99.9%) 237.185 MB/sec [Average]
(min, avg, max) = (1679.290, 1786.592, 1875.874), stdev = 84.582
CI (99.9%): [1549.407, 2023.776] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.churn.Eden_Space.norm":
236326274.024 ±(99.9%) 536851.517 B/op [Average]
(min, avg, max) = (236077958.974, 236326274.024, 236525564.622), stdev = 191446.422
CI (99.9%): [235789422.507, 236863125.541] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.churn.Survivor_Space":
0.369 ±(99.9%) 0.048 MB/sec [Average]
(min, avg, max) = (0.341, 0.369, 0.391), stdev = 0.017
CI (99.9%): [0.320, 0.417] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.churn.Survivor_Space.norm":
48794.356 ±(99.9%) 3967.244 B/op [Average]
(min, avg, max) = (47249.524, 48794.356, 51219.336), stdev = 1414.758
CI (99.9%): [44827.112, 52761.600] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.count":
4914.000 ±(99.9%) 0.001 counts [Sum]
(min, avg, max) = (771.000, 819.000, 859.000), stdev = 38.194
CI (99.9%): [4914.000, 4914.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·gc.time":
4924.000 ±(99.9%) 0.001 ms [Sum]
(min, avg, max) = (791.000, 820.667, 856.000), stdev = 31.734
CI (99.9%): [4924.000, 4924.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullCustomJsonLayout:·stack":
Stack profiler:
....[Thread state distributions]....................................................................
97.3% RUNNABLE
2.7% WAITING
....[Thread state: RUNNABLE]........................................................................
21.1% 21.6% com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField
18.4% 18.9% java.lang.StringCoding$StringEncoder.encode
13.8% 14.2% com.fasterxml.jackson.databind.ser.std.StringSerializer.serialize
11.5% 11.9% sun.reflect.DelegatingMethodAccessorImpl.invoke
7.2% 7.4% java.util.Arrays.copyOf
4.4% 4.6% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator._flushBuffer
4.2% 4.3% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator.writeNumber
2.8% 2.9% org.apache.logging.log4j.core.layout.JsonLayout.toSerializable
2.8% 2.9% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator.close
2.0% 2.1% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator.writeRaw
9.0% 9.2% <other>
....[Thread state: WAITING].........................................................................
2.7% 100.0% sun.misc.Unsafe.park
# JMH version: 1.21
# VM version: JDK 1.8.0_192-ea, Java HotSpot(TM) 64-Bit Server VM, 25.192-b04
# VM invoker: /home/vy/Software/share/java/jdk/1.8.0_192/jre/bin/java
# VM options: -XX:+TieredCompilation -XX:+AggressiveOpts -Dclassworlds.conf=/home/vy/Software/share/java/maven/latest/bin/m2.conf -Dmaven.home=/home/vy/Software/share/java/maven/latest -Dlibrary.jansi.path=/home/vy/Software/share/java/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/vy/Projects/log4j2-logstash-layout
# Warmup: 3 iterations, 20 s each
# Measurement: 3 iterations, 30 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout
# Run progress: 10.00% complete, ETA 00:46:31
# Fork: 1 of 2
# Warmup Iteration 1: 7.711 ops/s
# Warmup Iteration 2: 8.256 ops/s
# Warmup Iteration 3: 8.327 ops/s
Iteration 1: 8.344 ops/s
·gc.alloc.rate: 1834.836 MB/sec
·gc.alloc.rate.norm: 234421689.880 B/op
·gc.churn.Eden_Space: 1846.943 MB/sec
·gc.churn.Eden_Space.norm: 235968482.614 B/op
·gc.churn.Survivor_Space: 0.326 MB/sec
·gc.churn.Survivor_Space.norm: 41682.135 B/op
·gc.count: 847.000 counts
·gc.time: 831.000 ms
·stack: <delayed till summary>
Iteration 2: 8.334 ops/s
·gc.alloc.rate: 1832.678 MB/sec
·gc.alloc.rate.norm: 234421488.765 B/op
·gc.churn.Eden_Space: 1842.593 MB/sec
·gc.churn.Eden_Space.norm: 235689805.291 B/op
·gc.churn.Survivor_Space: 0.300 MB/sec
·gc.churn.Survivor_Space.norm: 38390.024 B/op
·gc.count: 846.000 counts
·gc.time: 818.000 ms
·stack: <delayed till summary>
Iteration 3: 8.484 ops/s
·gc.alloc.rate: 1865.545 MB/sec
·gc.alloc.rate.norm: 234421319.341 B/op
·gc.churn.Eden_Space: 1876.771 MB/sec
·gc.churn.Eden_Space.norm: 235831935.686 B/op
·gc.churn.Survivor_Space: 0.314 MB/sec
·gc.churn.Survivor_Space.norm: 39433.914 B/op
·gc.count: 860.000 counts
·gc.time: 834.000 ms
·stack: <delayed till summary>
# Run progress: 15.00% complete, ETA 00:43:56
# Fork: 2 of 2
# Warmup Iteration 1: 7.436 ops/s
# Warmup Iteration 2: 8.114 ops/s
# Warmup Iteration 3: 8.217 ops/s
Iteration 1: 8.184 ops/s
·gc.alloc.rate: 1799.732 MB/sec
·gc.alloc.rate.norm: 234422375.740 B/op
·gc.churn.Eden_Space: 1811.324 MB/sec
·gc.churn.Eden_Space.norm: 235932264.065 B/op
·gc.churn.Survivor_Space: 0.297 MB/sec
·gc.churn.Survivor_Space.norm: 38721.561 B/op
·gc.count: 830.000 counts
·gc.time: 814.000 ms
·stack: <delayed till summary>
Iteration 2: 8.396 ops/s
·gc.alloc.rate: 1846.247 MB/sec
·gc.alloc.rate.norm: 234421619.111 B/op
·gc.churn.Eden_Space: 1857.611 MB/sec
·gc.churn.Eden_Space.norm: 235864584.127 B/op
·gc.churn.Survivor_Space: 0.332 MB/sec
·gc.churn.Survivor_Space.norm: 42168.921 B/op
·gc.count: 850.000 counts
·gc.time: 829.000 ms
·stack: <delayed till summary>
Iteration 3: 8.373 ops/s
·gc.alloc.rate: 1841.331 MB/sec
·gc.alloc.rate.norm: 234421771.841 B/op
·gc.churn.Eden_Space: 1852.664 MB/sec
·gc.churn.Eden_Space.norm: 235864584.127 B/op
·gc.churn.Survivor_Space: 0.316 MB/sec
·gc.churn.Survivor_Space.norm: 40274.603 B/op
·gc.count: 850.000 counts
·gc.time: 836.000 ms
·stack: <delayed till summary>
Result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout":
8.353 ±(99.9%) 0.275 ops/s [Average]
(min, avg, max) = (8.184, 8.353, 8.484), stdev = 0.098
CI (99.9%): [8.077, 8.628] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.alloc.rate":
1836.728 ±(99.9%) 60.546 MB/sec [Average]
(min, avg, max) = (1799.732, 1836.728, 1865.545), stdev = 21.591
CI (99.9%): [1776.182, 1897.274] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.alloc.rate.norm":
234421710.780 ±(99.9%) 1016.691 B/op [Average]
(min, avg, max) = (234421319.341, 234421710.780, 234422375.740), stdev = 362.562
CI (99.9%): [234420694.089, 234422727.471] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.churn.Eden_Space":
1847.984 ±(99.9%) 60.370 MB/sec [Average]
(min, avg, max) = (1811.324, 1847.984, 1876.771), stdev = 21.529
CI (99.9%): [1787.614, 1908.354] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.churn.Eden_Space.norm":
235858609.318 ±(99.9%) 271223.984 B/op [Average]
(min, avg, max) = (235689805.291, 235858609.318, 235968482.614), stdev = 96721.085
CI (99.9%): [235587385.335, 236129833.302] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.churn.Survivor_Space":
0.314 ±(99.9%) 0.039 MB/sec [Average]
(min, avg, max) = (0.297, 0.314, 0.332), stdev = 0.014
CI (99.9%): [0.276, 0.353] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.churn.Survivor_Space.norm":
40111.860 ±(99.9%) 4358.866 B/op [Average]
(min, avg, max) = (38390.024, 40111.860, 42168.921), stdev = 1554.414
CI (99.9%): [35752.993, 44470.726] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.count":
5083.000 ±(99.9%) 0.001 counts [Sum]
(min, avg, max) = (830.000, 847.167, 860.000), stdev = 9.766
CI (99.9%): [5083.000, 5083.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·gc.time":
4962.000 ±(99.9%) 0.001 ms [Sum]
(min, avg, max) = (814.000, 827.000, 836.000), stdev = 8.944
CI (99.9%): [4962.000, 4962.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullDefaultJsonLayout:·stack":
Stack profiler:
....[Thread state distributions]....................................................................
97.4% RUNNABLE
2.6% WAITING
....[Thread state: RUNNABLE]........................................................................
20.4% 20.9% com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField
20.3% 20.8% java.lang.StringCoding$StringEncoder.encode
12.9% 13.2% com.fasterxml.jackson.databind.ser.std.StringSerializer.serialize
11.4% 11.7% sun.reflect.DelegatingMethodAccessorImpl.invoke
8.9% 9.1% java.util.Arrays.copyOf
5.0% 5.1% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator._flushBuffer
3.5% 3.6% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator.writeNumber
2.7% 2.7% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator.close
2.4% 2.4% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator._writeString
1.9% 2.0% com.fasterxml.jackson.core.json.WriterBasedJsonGenerator.writeRaw
8.1% 8.4% <other>
....[Thread state: WAITING].........................................................................
2.6% 100.0% sun.misc.Unsafe.park
# JMH version: 1.21
# VM version: JDK 1.8.0_192-ea, Java HotSpot(TM) 64-Bit Server VM, 25.192-b04
# VM invoker: /home/vy/Software/share/java/jdk/1.8.0_192/jre/bin/java
# VM options: -XX:+TieredCompilation -XX:+AggressiveOpts -Dclassworlds.conf=/home/vy/Software/share/java/maven/latest/bin/m2.conf -Dmaven.home=/home/vy/Software/share/java/maven/latest -Dlibrary.jansi.path=/home/vy/Software/share/java/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/vy/Projects/log4j2-logstash-layout
# Warmup: 3 iterations, 20 s each
# Measurement: 3 iterations, 30 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout
# Run progress: 20.00% complete, ETA 00:41:20
# Fork: 1 of 2
# Warmup Iteration 1: 15.187 ops/s
# Warmup Iteration 2: 16.439 ops/s
# Warmup Iteration 3: 16.536 ops/s
Iteration 1: 16.290 ops/s
·gc.alloc.rate: 710.452 MB/sec
·gc.alloc.rate.norm: 46495593.096 B/op
·gc.churn.Eden_Space: 710.137 MB/sec
·gc.churn.Eden_Space.norm: 46474941.513 B/op
·gc.churn.Survivor_Space: 0.005 MB/sec
·gc.churn.Survivor_Space.norm: 321.276 B/op
·gc.count: 325.000 counts
·gc.time: 288.000 ms
·stack: <delayed till summary>
Iteration 2: 16.574 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 724.772 MB/sec
·gc.churn.Eden_Space.norm: 46617927.373 B/op
·gc.churn.Survivor_Space: 0.003 MB/sec
·gc.churn.Survivor_Space.norm: 215.920 B/op
·gc.count: 332.000 counts
·gc.time: 291.000 ms
·stack: <delayed till summary>
Iteration 3: 16.535 ops/s
·gc.alloc.rate: 721.161 MB/sec
·gc.alloc.rate.norm: 46495296.547 B/op
·gc.churn.Eden_Space: 722.336 MB/sec
·gc.churn.Eden_Space.norm: 46571041.996 B/op
·gc.churn.Survivor_Space: 0.004 MB/sec
·gc.churn.Survivor_Space.norm: 281.803 B/op
·gc.count: 331.000 counts
·gc.time: 290.000 ms
·stack: <delayed till summary>
# Run progress: 25.00% complete, ETA 00:38:44
# Fork: 2 of 2
# Warmup Iteration 1: 15.401 ops/s
# Warmup Iteration 2: 16.732 ops/s
# Warmup Iteration 3: 16.634 ops/s
Iteration 1: 16.497 ops/s
·gc.alloc.rate: 719.471 MB/sec
·gc.alloc.rate.norm: 46495316.784 B/op
·gc.churn.Eden_Space: 721.368 MB/sec
·gc.churn.Eden_Space.norm: 46617941.333 B/op
·gc.churn.Survivor_Space: 0.005 MB/sec
·gc.churn.Survivor_Space.norm: 307.103 B/op
·gc.count: 330.000 counts
·gc.time: 280.000 ms
·stack: <delayed till summary>
Iteration 2: 16.556 ops/s
·gc.alloc.rate: 722.087 MB/sec
·gc.alloc.rate.norm: 46495219.686 B/op
·gc.churn.Eden_Space: 721.080 MB/sec
·gc.churn.Eden_Space.norm: 46430343.984 B/op
·gc.churn.Survivor_Space: 0.004 MB/sec
·gc.churn.Survivor_Space.norm: 251.734 B/op
·gc.count: 330.000 counts
·gc.time: 275.000 ms
·stack: <delayed till summary>
Iteration 3: 16.594 ops/s
·gc.alloc.rate: 723.720 MB/sec
·gc.alloc.rate.norm: 46495137.912 B/op
·gc.churn.Eden_Space: 725.631 MB/sec
·gc.churn.Eden_Space.norm: 46617939.888 B/op
·gc.churn.Survivor_Space: 0.005 MB/sec
·gc.churn.Survivor_Space.norm: 298.811 B/op
·gc.count: 332.000 counts
·gc.time: 282.000 ms
·stack: <delayed till summary>
Result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout":
16.508 ±(99.9%) 0.314 ops/s [Average]
(min, avg, max) = (16.290, 16.508, 16.594), stdev = 0.112
CI (99.9%): [16.194, 16.821] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.alloc.rate":
≈ 0 MB/sec
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.alloc.rate.norm":
≈ 0 B/op
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.churn.Eden_Space":
720.887 ±(99.9%) 15.641 MB/sec [Average]
(min, avg, max) = (710.137, 720.887, 725.631), stdev = 5.578
CI (99.9%): [705.247, 736.528] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.churn.Eden_Space.norm":
46555022.681 ±(99.9%) 231540.669 B/op [Average]
(min, avg, max) = (46430343.984, 46555022.681, 46617941.333), stdev = 82569.633
CI (99.9%): [46323482.012, 46786563.350] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.churn.Survivor_Space":
0.004 ±(99.9%) 0.002 MB/sec [Average]
(min, avg, max) = (0.003, 0.004, 0.005), stdev = 0.001
CI (99.9%): [0.003, 0.006] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.churn.Survivor_Space.norm":
279.441 ±(99.9%) 110.035 B/op [Average]
(min, avg, max) = (215.920, 279.441, 321.276), stdev = 39.240
CI (99.9%): [169.406, 389.477] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.count":
1980.000 ±(99.9%) 0.001 counts [Sum]
(min, avg, max) = (325.000, 330.000, 332.000), stdev = 2.608
CI (99.9%): [1980.000, 1980.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·gc.time":
1706.000 ±(99.9%) 0.001 ms [Sum]
(min, avg, max) = (275.000, 284.333, 291.000), stdev = 6.346
CI (99.9%): [1706.000, 1706.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullEcsLayout:·stack":
Stack profiler:
....[Thread state distributions]....................................................................
97.2% RUNNABLE
2.8% WAITING
....[Thread state: RUNNABLE]........................................................................
61.0% 62.7% co.elastic.logging.JsonUtils.quoteAsString
10.5% 10.8% java.lang.String.valueOf
8.8% 9.0% java.io.PrintWriter.write
6.0% 6.2% sun.nio.cs.UTF_8.updatePositions
2.3% 2.4% java.lang.Throwable.getLocalizedMessage
1.7% 1.8% java.util.Arrays.copyOf
1.5% 1.5% java.security.AccessController.doPrivileged
1.4% 1.4% java.lang.AbstractStringBuilder.append
1.2% 1.3% java.io.PrintWriter.println
0.5% 0.5% java.util.Arrays.copyOfRange
2.3% 2.4% <other>
....[Thread state: WAITING].........................................................................
2.8% 100.0% sun.misc.Unsafe.park
# JMH version: 1.21
# VM version: JDK 1.8.0_192-ea, Java HotSpot(TM) 64-Bit Server VM, 25.192-b04
# VM invoker: /home/vy/Software/share/java/jdk/1.8.0_192/jre/bin/java
# VM options: -XX:+TieredCompilation -XX:+AggressiveOpts -Dclassworlds.conf=/home/vy/Software/share/java/maven/latest/bin/m2.conf -Dmaven.home=/home/vy/Software/share/java/maven/latest -Dlibrary.jansi.path=/home/vy/Software/share/java/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/vy/Projects/log4j2-logstash-layout
# Warmup: 3 iterations, 20 s each
# Measurement: 3 iterations, 30 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout
# Run progress: 30.00% complete, ETA 00:36:08
# Fork: 1 of 2
# Warmup Iteration 1: 39.098 ops/s
# Warmup Iteration 2: 41.401 ops/s
# Warmup Iteration 3: 41.792 ops/s
Iteration 1: 41.840 ops/s
·gc.alloc.rate: 1400.220 MB/sec
·gc.alloc.rate.norm: 35686694.108 B/op
·gc.churn.Eden_Space: 1400.240 MB/sec
·gc.churn.Eden_Space.norm: 35687220.943 B/op
·gc.churn.Survivor_Space: 0.003 MB/sec
·gc.churn.Survivor_Space.norm: 88.096 B/op
·gc.count: 641.000 counts
·gc.time: 601.000 ms
·stack: <delayed till summary>
Iteration 2: 41.913 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 1405.211 MB/sec
·gc.churn.Eden_Space.norm: 35741656.401 B/op
·gc.churn.Survivor_Space: 0.003 MB/sec
·gc.churn.Survivor_Space.norm: 86.474 B/op
·gc.count: 643.000 counts
·gc.time: 598.000 ms
·stack: <delayed till summary>
Iteration 3: 41.894 ops/s
·gc.alloc.rate: 1402.411 MB/sec
·gc.alloc.rate.norm: 35686623.930 B/op
·gc.churn.Eden_Space: 1404.573 MB/sec
·gc.churn.Eden_Space.norm: 35741656.407 B/op
·gc.churn.Survivor_Space: 0.003 MB/sec
·gc.churn.Survivor_Space.norm: 76.095 B/op
·gc.count: 643.000 counts
·gc.time: 597.000 ms
·stack: <delayed till summary>
# Run progress: 35.00% complete, ETA 00:33:32
# Fork: 2 of 2
# Warmup Iteration 1: 38.261 ops/s
# Warmup Iteration 2: 41.133 ops/s
# Warmup Iteration 3: 41.770 ops/s
Iteration 1: 41.232 ops/s
·gc.alloc.rate: 1365.567 MB/sec
·gc.alloc.rate.norm: 35306676.679 B/op
·gc.churn.Eden_Space: 1380.692 MB/sec
·gc.churn.Eden_Space.norm: 35697744.963 B/op
·gc.churn.Survivor_Space: 0.004 MB/sec
·gc.churn.Survivor_Space.norm: 92.511 B/op
·gc.count: 632.000 counts
·gc.time: 596.000 ms
·stack: <delayed till summary>
Iteration 2: 41.745 ops/s
·gc.alloc.rate: 1397.580 MB/sec
·gc.alloc.rate.norm: 35690881.271 B/op
·gc.churn.Eden_Space: 1398.597 MB/sec
·gc.churn.Eden_Space.norm: 35716858.024 B/op
·gc.churn.Survivor_Space: 0.003 MB/sec
·gc.churn.Survivor_Space.norm: 86.672 B/op
·gc.count: 640.000 counts
·gc.time: 594.000 ms
·stack: <delayed till summary>
Iteration 3: 41.511 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 1393.108 MB/sec
·gc.churn.Eden_Space.norm: 35776558.871 B/op
·gc.churn.Survivor_Space: 0.003 MB/sec
·gc.churn.Survivor_Space.norm: 77.806 B/op
·gc.count: 638.000 counts
·gc.time: 589.000 ms
·stack: <delayed till summary>
Result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout":
41.689 ±(99.9%) 0.751 ops/s [Average]
(min, avg, max) = (41.232, 41.689, 41.913), stdev = 0.268
CI (99.9%): [40.938, 42.440] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.alloc.rate":
≈ 0 MB/sec
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.alloc.rate.norm":
≈ 0 B/op
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.churn.Eden_Space":
1397.070 ±(99.9%) 25.666 MB/sec [Average]
(min, avg, max) = (1380.692, 1397.070, 1405.211), stdev = 9.153
CI (99.9%): [1371.404, 1422.737] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.churn.Eden_Space.norm":
35726949.268 ±(99.9%) 92383.180 B/op [Average]
(min, avg, max) = (35687220.943, 35726949.268, 35776558.871), stdev = 32944.732
CI (99.9%): [35634566.087, 35819332.448] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.churn.Survivor_Space":
0.003 ±(99.9%) 0.001 MB/sec [Average]
(min, avg, max) = (0.003, 0.003, 0.004), stdev = 0.001
CI (99.9%): [0.003, 0.004] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.churn.Survivor_Space.norm":
84.609 ±(99.9%) 17.783 B/op [Average]
(min, avg, max) = (76.095, 84.609, 92.511), stdev = 6.342
CI (99.9%): [66.826, 102.392] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.count":
3837.000 ±(99.9%) 0.001 counts [Sum]
(min, avg, max) = (632.000, 639.500, 643.000), stdev = 4.135
CI (99.9%): [3837.000, 3837.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·gc.time":
3575.000 ±(99.9%) 0.001 ms [Sum]
(min, avg, max) = (589.000, 595.833, 601.000), stdev = 4.070
CI (99.9%): [3575.000, 3575.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4EcsLayout:·stack":
Stack profiler:
....[Thread state distributions]....................................................................
97.3% RUNNABLE
2.7% WAITING
....[Thread state: RUNNABLE]........................................................................
25.7% 26.4% java.lang.String.valueOf
23.4% 24.0% com.fasterxml.jackson.core.json.UTF8JsonGenerator._writeStringSegment2
16.5% 16.9% java.io.PrintWriter.write
5.6% 5.7% java.lang.Throwable.getLocalizedMessage
3.7% 3.8% java.io.PrintWriter.println
2.2% 2.2% com.vlkan.log4j2.logstash.layout.LogstashLayout.encode
2.1% 2.1% java.util.Arrays.copyOf
1.9% 1.9% com.vlkan.log4j2.logstash.layout.resolver.ContextDataResolver.resolveEntry
1.8% 1.8% com.vlkan.log4j2.logstash.layout.resolver.ContextDataResolver.resolveIndexedMap
1.4% 1.5% java.util.Arrays.copyOfRange
13.1% 13.5% <other>
....[Thread state: WAITING].........................................................................
2.7% 100.0% sun.misc.Unsafe.park
# JMH version: 1.21
# VM version: JDK 1.8.0_192-ea, Java HotSpot(TM) 64-Bit Server VM, 25.192-b04
# VM invoker: /home/vy/Software/share/java/jdk/1.8.0_192/jre/bin/java
# VM options: -XX:+TieredCompilation -XX:+AggressiveOpts -Dclassworlds.conf=/home/vy/Software/share/java/maven/latest/bin/m2.conf -Dmaven.home=/home/vy/Software/share/java/maven/latest -Dlibrary.jansi.path=/home/vy/Software/share/java/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/vy/Projects/log4j2-logstash-layout
# Warmup: 3 iterations, 20 s each
# Measurement: 3 iterations, 30 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout
# Run progress: 40.00% complete, ETA 00:30:57
# Fork: 1 of 2
# Warmup Iteration 1: 67.795 ops/s
# Warmup Iteration 2: 69.402 ops/s
# Warmup Iteration 3: 69.328 ops/s
Iteration 1: 68.151 ops/s
·gc.alloc.rate: 6.921 MB/sec
·gc.alloc.rate.norm: 108258.805 B/op
·gc.churn.Eden_Space: 6.558 MB/sec
·gc.churn.Eden_Space.norm: 102582.267 B/op
·gc.count: 3.000 counts
·gc.time: 4.000 ms
·stack: <delayed till summary>
Iteration 2: 69.435 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 6.556 MB/sec
·gc.churn.Eden_Space.norm: 100662.541 B/op
·gc.churn.Survivor_Space: ≈ 10⁻⁵ MB/sec
·gc.churn.Survivor_Space.norm: 0.322 B/op
·gc.count: 3.000 counts
·gc.time: 4.000 ms
·stack: <delayed till summary>
Iteration 3: 69.714 ops/s
·gc.alloc.rate: 7.076 MB/sec
·gc.alloc.rate.norm: 108205.587 B/op
·gc.churn.Eden_Space: 8.743 MB/sec
·gc.churn.Eden_Space.norm: 133703.465 B/op
·gc.churn.Survivor_Space: 0.002 MB/sec
·gc.churn.Survivor_Space.norm: 31.897 B/op
·gc.count: 4.000 counts
·gc.time: 4.000 ms
·stack: <delayed till summary>
# Run progress: 45.00% complete, ETA 00:28:22
# Fork: 2 of 2
# Warmup Iteration 1: 68.709 ops/s
# Warmup Iteration 2: 70.782 ops/s
# Warmup Iteration 3: 70.470 ops/s
Iteration 1: 69.138 ops/s
·gc.alloc.rate: 7.017 MB/sec
·gc.alloc.rate.norm: 108203.963 B/op
·gc.churn.Eden_Space: 6.557 MB/sec
·gc.churn.Eden_Space.norm: 101099.150 B/op
·gc.count: 3.000 counts
·gc.time: 3.000 ms
·stack: <delayed till summary>
Iteration 2: 70.755 ops/s
·gc.alloc.rate: 7.178 MB/sec
·gc.alloc.rate.norm: 108147.787 B/op
·gc.churn.Eden_Space: 8.744 MB/sec
·gc.churn.Eden_Space.norm: 131751.130 B/op
·gc.churn.Survivor_Space: ≈ 10⁻⁵ MB/sec
·gc.churn.Survivor_Space.norm: 0.471 B/op
·gc.count: 4.000 counts
·gc.time: 5.000 ms
·stack: <delayed till summary>
Iteration 3: 70.639 ops/s
·gc.alloc.rate: 7.167 MB/sec
·gc.alloc.rate.norm: 108154.777 B/op
·gc.churn.Eden_Space: 6.557 MB/sec
·gc.churn.Eden_Space.norm: 98953.177 B/op
·gc.churn.Survivor_Space: 0.002 MB/sec
·gc.churn.Survivor_Space.norm: 32.449 B/op
·gc.count: 3.000 counts
·gc.time: 4.000 ms
·stack: <delayed till summary>
Result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout":
69.639 ±(99.9%) 2.735 ops/s [Average]
(min, avg, max) = (68.151, 69.639, 70.755), stdev = 0.975
CI (99.9%): [66.904, 72.374] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.alloc.rate":
≈ 0 MB/sec
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.alloc.rate.norm":
≈ 0 B/op
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.churn.Eden_Space":
7.286 ±(99.9%) 3.167 MB/sec [Average]
(min, avg, max) = (6.556, 7.286, 8.744), stdev = 1.129
CI (99.9%): [4.119, 10.453] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.churn.Eden_Space.norm":
111458.622 ±(99.9%) 46344.117 B/op [Average]
(min, avg, max) = (98953.177, 111458.622, 133703.465), stdev = 16526.758
CI (99.9%): [65114.505, 157802.738] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.churn.Survivor_Space":
0.001 ±(99.9%) 0.003 MB/sec [Average]
(min, avg, max) = (≈ 0, 0.001, 0.002), stdev = 0.001
CI (99.9%): [≈ 0, 0.004] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.churn.Survivor_Space.norm":
10.857 ±(99.9%) 46.307 B/op [Average]
(min, avg, max) = (≈ 0, 10.857, 32.449), stdev = 16.514
CI (99.9%): [≈ 0, 57.164] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.count":
20.000 ±(99.9%) 0.001 counts [Sum]
(min, avg, max) = (3.000, 3.333, 4.000), stdev = 0.516
CI (99.9%): [20.000, 20.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·gc.time":
24.000 ±(99.9%) 0.001 ms [Sum]
(min, avg, max) = (3.000, 4.000, 5.000), stdev = 0.632
CI (99.9%): [24.000, 24.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.fullLogstashLayout4JsonLayout:·stack":
Stack profiler:
....[Thread state distributions]....................................................................
97.2% RUNNABLE
2.8% WAITING
....[Thread state: RUNNABLE]........................................................................
62.3% 64.1% com.vlkan.log4j2.logstash.layout.resolver.StackTraceElementObjectResolver.resolve
9.0% 9.2% com.vlkan.log4j2.logstash.layout.resolver.StackTraceElementObjectResolver.lambda$static$3
4.4% 4.5% com.vlkan.log4j2.logstash.layout.resolver.TemplateResolvers.lambda$ofObjectNode$5
3.4% 3.5% com.vlkan.log4j2.logstash.layout.resolver.ContextDataResolver.resolveEntry
3.1% 3.2% com.vlkan.log4j2.logstash.layout.LogstashLayout.encode
2.2% 2.2% com.vlkan.log4j2.logstash.layout.resolver.ContextStackResolver.resolve
1.9% 1.9% com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeNumber
1.4% 1.4% java.lang.Class.getEnclosingMethod0
0.9% 0.9% com.vlkan.log4j2.logstash.layout.resolver.MessageResolver.resolve
0.8% 0.8% com.vlkan.log4j2.logstash.layout.resolver.StackTraceObjectResolver.resolve
7.9% 8.2% <other>
....[Thread state: WAITING].........................................................................
2.8% 100.0% sun.misc.Unsafe.park
# JMH version: 1.21
# VM version: JDK 1.8.0_192-ea, Java HotSpot(TM) 64-Bit Server VM, 25.192-b04
# VM invoker: /home/vy/Software/share/java/jdk/1.8.0_192/jre/bin/java
# VM options: -XX:+TieredCompilation -XX:+AggressiveOpts -Dclassworlds.conf=/home/vy/Software/share/java/maven/latest/bin/m2.conf -Dmaven.home=/home/vy/Software/share/java/maven/latest -Dlibrary.jansi.path=/home/vy/Software/share/java/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/vy/Projects/log4j2-logstash-layout
# Warmup: 3 iterations, 20 s each
# Measurement: 3 iterations, 30 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout
# Run progress: 50.00% complete, ETA 00:25:47
# Fork: 1 of 2
# Warmup Iteration 1: 246.791 ops/s
# Warmup Iteration 2: 258.303 ops/s
# Warmup Iteration 3: 259.413 ops/s
Iteration 1: 257.625 ops/s
·gc.alloc.rate: 1333.180 MB/sec
·gc.alloc.rate.norm: 5516811.404 B/op
·gc.churn.Eden_Space: 1333.507 MB/sec
·gc.churn.Eden_Space.norm: 5518164.942 B/op
·gc.churn.Survivor_Space: 0.005 MB/sec
·gc.churn.Survivor_Space.norm: 22.668 B/op
·gc.count: 610.000 counts
·gc.time: 571.000 ms
·stack: <delayed till summary>
Iteration 2: 258.302 ops/s
·gc.alloc.rate: 1336.690 MB/sec
·gc.alloc.rate.norm: 5516806.682 B/op
·gc.churn.Eden_Space: 1337.768 MB/sec
·gc.churn.Eden_Space.norm: 5521257.362 B/op
·gc.churn.Survivor_Space: 0.007 MB/sec
·gc.churn.Survivor_Space.norm: 27.076 B/op
·gc.count: 612.000 counts
·gc.time: 562.000 ms
·stack: <delayed till summary>
Iteration 3: 251.283 ops/s
·gc.alloc.rate: 1300.378 MB/sec
·gc.alloc.rate.norm: 5516833.485 B/op
·gc.churn.Eden_Space: 1303.036 MB/sec
·gc.churn.Eden_Space.norm: 5528111.839 B/op
·gc.churn.Survivor_Space: 0.006 MB/sec
·gc.churn.Survivor_Space.norm: 25.034 B/op
·gc.count: 596.000 counts
·gc.time: 561.000 ms
·stack: <delayed till summary>
# Run progress: 55.00% complete, ETA 00:23:12
# Fork: 2 of 2
# Warmup Iteration 1: 216.947 ops/s
# Warmup Iteration 2: 243.702 ops/s
# Warmup Iteration 3: 241.199 ops/s
Iteration 1: 234.540 ops/s
·gc.alloc.rate: 1208.640 MB/sec
·gc.alloc.rate.norm: 5493724.952 B/op
·gc.churn.Eden_Space: 1210.802 MB/sec
·gc.churn.Eden_Space.norm: 5503552.700 B/op
·gc.churn.Survivor_Space: 0.006 MB/sec
·gc.churn.Survivor_Space.norm: 26.421 B/op
·gc.count: 554.000 counts
·gc.time: 566.000 ms
·stack: <delayed till summary>
Iteration 2: 215.281 ops/s
·gc.alloc.rate: 1109.426 MB/sec
·gc.alloc.rate.norm: 5493834.950 B/op
·gc.churn.Eden_Space: 1110.448 MB/sec
·gc.churn.Eden_Space.norm: 5498896.308 B/op
·gc.churn.Survivor_Space: 0.005 MB/sec
·gc.churn.Survivor_Space.norm: 26.265 B/op
·gc.count: 508.000 counts
·gc.time: 568.000 ms
·stack: <delayed till summary>
Iteration 3: 230.910 ops/s
·gc.alloc.rate: 1189.949 MB/sec
·gc.alloc.rate.norm: 5493739.760 B/op
·gc.churn.Eden_Space: 1191.498 MB/sec
·gc.churn.Eden_Space.norm: 5500889.930 B/op
·gc.churn.Survivor_Space: 0.005 MB/sec
·gc.churn.Survivor_Space.norm: 22.799 B/op
·gc.count: 545.000 counts
·gc.time: 564.000 ms
·stack: <delayed till summary>
Result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout":
241.324 ±(99.9%) 48.341 ops/s [Average]
(min, avg, max) = (215.281, 241.324, 258.302), stdev = 17.239
CI (99.9%): [192.982, 289.665] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.alloc.rate":
1246.377 ±(99.9%) 256.920 MB/sec [Average]
(min, avg, max) = (1109.426, 1246.377, 1336.690), stdev = 91.620
CI (99.9%): [989.458, 1503.297] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.alloc.rate.norm":
5505291.872 ±(99.9%) 35404.016 B/op [Average]
(min, avg, max) = (5493724.952, 5505291.872, 5516833.485), stdev = 12625.413
CI (99.9%): [5469887.856, 5540695.888] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.churn.Eden_Space":
1247.843 ±(99.9%) 256.688 MB/sec [Average]
(min, avg, max) = (1110.448, 1247.843, 1337.768), stdev = 91.537
CI (99.9%): [991.155, 1504.531] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.churn.Eden_Space.norm":
5511812.180 ±(99.9%) 34334.566 B/op [Average]
(min, avg, max) = (5498896.308, 5511812.180, 5528111.839), stdev = 12244.037
CI (99.9%): [5477477.614, 5546146.747] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.churn.Survivor_Space":
0.006 ±(99.9%) 0.002 MB/sec [Average]
(min, avg, max) = (0.005, 0.006, 0.007), stdev = 0.001
CI (99.9%): [0.004, 0.007] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.churn.Survivor_Space.norm":
25.044 ±(99.9%) 5.350 B/op [Average]
(min, avg, max) = (22.668, 25.044, 27.076), stdev = 1.908
CI (99.9%): [19.694, 30.394] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.count":
3425.000 ±(99.9%) 0.001 counts [Sum]
(min, avg, max) = (508.000, 570.833, 612.000), stdev = 41.859
CI (99.9%): [3425.000, 3425.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·gc.time":
3392.000 ±(99.9%) 0.001 ms [Sum]
(min, avg, max) = (561.000, 565.333, 571.000), stdev = 3.777
CI (99.9%): [3392.000, 3392.000] (assumes normal distribution)
Secondary result "com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteCustomJsonLayout:·stack":
Stack profiler:
....[Thread state distributions]....................................................................
97.2% RUNNABLE
2.8% WAITING
....[Thread state: RUNNABLE]........................................................................
20.1% 20.7% sun.reflect.DelegatingMethodAccessorImpl.invoke
20.1% 20.7% java.lang.StringCoding$StringEncoder.encode
13.4% 13.8% com.fasterxml.jackson.databind.ser.std.StringSerializer.serialize
10.8% 11.1% com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField
5.0% 5.1% java.util.HashMap.putVal
4.1% 4.2% java.util.HashMap.getNode
3.6% 3.7% org.apache.logging.log4j.core.layout.JsonLayout.toSerializable
2.9% 3.0% org.apache.logging.log4j.core.jackson.MessageSerializer.serialize
2.1% 2.2% java.util.Arrays.copyOf
2.1% 2.2% com.fasterxml.jackson.core.json.JsonWriteContext.createChildObjectContext
13.1% 13.5% <other>
....[Thread state: WAITING].........................................................................
2.8% 100.0% sun.misc.Unsafe.park
# JMH version: 1.21
# VM version: JDK 1.8.0_192-ea, Java HotSpot(TM) 64-Bit Server VM, 25.192-b04
# VM invoker: /home/vy/Software/share/java/jdk/1.8.0_192/jre/bin/java
# VM options: -XX:+TieredCompilation -XX:+AggressiveOpts -Dclassworlds.conf=/home/vy/Software/share/java/maven/latest/bin/m2.conf -Dmaven.home=/home/vy/Software/share/java/maven/latest -Dlibrary.jansi.path=/home/vy/Software/share/java/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/vy/Projects/log4j2-logstash-layout
# Warmup: 3 iterations, 20 s each
# Measurement: 3 iterations, 30 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.vlkan.log4j2.logstash.layout.LogstashLayoutBenchmark.liteDefaultJsonLayout
# Run progress: 60.00% complete, ETA 00:20:37
# Fork: 1 of 2
# Warmup Iteration 1: 246.087 ops/s
# Warmup Iteration 2: 274.179 ops/s
# Warmup Iteration 3: 275.136 ops/s
Iteration 1: 294.590 ops/s
·gc.alloc.rate: ≈ 0 MB/sec
·gc.alloc.rate.norm: ≈ 0 B/op
·gc.churn.Eden_Space: 1411.911 MB/sec
·gc.churn.Eden_Space.norm: 5109465.481 B/op
·gc.churn.Survivor_Space: 0.006 MB/sec
·gc.churn.Survivor_Space.norm: 21.703 B/op
·gc.count: 646.000 counts
·gc.time: 631.000 ms
·stack: <delayed till summary>
Iteration 2: 282.097 ops/s
·gc.alloc.rate: 1349.891 MB/sec
·gc.alloc.rate.norm: 5101344.123 B/op
·gc.churn.Eden_Space: 1350.890 MB/sec
·gc.churn.Eden_Space.norm: 5105118.865 B/op
·gc.churn.Survivor_Space: 0.006 MB/sec
·gc.churn.Survivor_Space.norm: 20.801 B/op
·gc.count: 618.000 counts
·gc.time: 613.000 ms
·stack: <delayed till summary>
Iteration 3: 282.887 ops/s
·gc.alloc.rate: 1353.679 MB/sec
·gc.alloc.rate.norm: 5101342.806 B/op
·gc.churn.Eden_Space: 1355.223 MB/sec
·gc.churn.Eden_Space.norm: 5107160.392 B/op
·gc.churn.Survivor_Space: 0.005 MB/sec
·gc.churn.Survivor_Space.norm: 20.173 B/op
·gc.count: 620.000 counts
·gc.time: 617.000 ms
·stack: <delayed till summary>
# Run progress: 65.00% complete, ETA 00:18:02
# Fork: 2 of 2
# Warmup Iteration 1: 256.598 ops/s