Hide last authors
Thomas Mortagne 6.1 1 {{toc/}}
2
Thomas Mortagne 17.1 3 = Environment =
Thomas Mortagne 6.1 4
Thomas Mortagne 1.1 5 * Ubuntu 14.04 64b
Thomas Mortagne 2.1 6 * Quad core i7
Thomas Mortagne 1.1 7 * Oracle JDK 1.8.0_20 64b
8 * standard jetty+hsqldb
Thomas Mortagne 12.1 9 * only main wiki
Thomas Mortagne 1.1 10
Thomas Mortagne 67.1 11 = Summary =
12
Thomas Mortagne 68.1 13 == Speed ==
14
Thomas Mortagne 81.1 15 |=(% colspan="2" %)Actions|=Difference
Thomas Mortagne 95.1 16 |(% colspan="2" %)[[Jetty startup>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HJettystartup"]]|(% style="color:orange" %)Same
17 |(% rowspan="2" width="150" %)[[First access>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HFirstaccess"]]|(% width="300" %)[[not existing page without UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HFirstaccesstonotexistingpagewithoutUI282Fxwiki2Fbin2Fget2FNoSpace2FNoPage29"]]|(% style="color:orange" %)Same
18 |[[not existing page with UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HFirstaccesstonotexistingpagewithUI282Fxwiki2Fbin2Fget2FNoSpace2FNoPage29"]]|(% style="color:red" %)x3
19 |(% rowspan="4" %)[[Reload>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReload"]]|[[not existing page without UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReloadofnotexistingpagewithoutUI282Fxwiki2Fbin2Fget2FNoSpace2FNoPage29"]]|(% style="color:red" %)> x2
20 |[[not existing page with UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReloadofnotexistingpagewithUI282Fxwiki2Fbin2Fview2FNoSpace2FNoPage29"]]|(% style="color:red" %)x2
21 |[[Main.WebHome with UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReloadofMain.WebHomewithUI"]]|(% style="color:red" %)x2
22 |[[Main.WebHome without UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReloadofMain.WebHomewithoutUI"]]|(% style="color:red" %)> x2
23 |(% rowspan="3" %)[[SOLR>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HSOLR"]]|[[Full SOLR reindex>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HFullSOLRreindex"]]|(% style="color:orange" %)Same
24 |[[SOLR sync when index is empty>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="Hwhenindexisempty"]]|(% style="color:orange" %)Same
25 |[[SOLR sync when there is nothing to do>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="Hwhenthereisnothingtodo"]]|(% style="color:orange" %)Same
26 |[[Rendering>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HRendering"]]|[[Page with 1000 macros without UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HPagewith1000macroswithoutUI"]]|(% style="color:green" %)/3
Thomas Mortagne 68.1 27
Thomas Mortagne 98.1 28 == Heap Memory ==
Thomas Mortagne 68.1 29
Thomas Mortagne 92.1 30 |=(% width="450" %)Actions|=Difference
Thomas Mortagne 99.1 31 |[[Heap Memory after jetty startup>>||anchor="#HHeapmemoryafterjettystartup"]]|(% style="color:green" %)Use almost half and keep less
32 |[[Heap Memory after full SOLR index>>||anchor="#HHeapmemoryafterfullSOLRindex"]]|(% style="color:orange" %)Use less but keep more
Thomas Mortagne 64.1 33
Thomas Mortagne 17.1 34 = Jetty startup =
Thomas Mortagne 1.1 35
Thomas Mortagne 27.2 36 Unit: seconds
37
Thomas Mortagne 10.1 38 Until end message is printer. Done by hand with a chronometer.
39
40 * 5.4.5: 12
Thomas Mortagne 23.1 41 * 6.2: 12
Thomas Mortagne 9.1 42
Thomas Mortagne 17.1 43 = First access =
Thomas Mortagne 1.1 44
Thomas Mortagne 19.1 45 First HTTP request after starting Jetty.
Thomas Mortagne 10.1 46
Thomas Mortagne 72.2 47 == First access to not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) ==
Thomas Mortagne 1.1 48
Thomas Mortagne 27.2 49 Unit: seconds
50
Thomas Mortagne 19.1 51 Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).
52
Thomas Mortagne 10.1 53 * 5.4.5 : 6
Thomas Mortagne 24.1 54 * 6.2 : 6
Thomas Mortagne 9.1 55
Thomas Mortagne 97.1 56 == First access to not existing page with UI (/xwiki/bin/view/NoSpace/NoPage) ==
Thomas Mortagne 19.1 57
Thomas Mortagne 27.1 58 Unit: seconds
Thomas Mortagne 19.1 59
Thomas Mortagne 27.1 60 Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).
Thomas Mortagne 26.1 61
Thomas Mortagne 25.1 62 * 5.4.5 : 6
Thomas Mortagne 26.1 63
64 Done by hand with a chronometer (image/js/css/etc. resources are not taken into account).
65
66 * 6.2 : 18
Thomas Mortagne 19.1 67
Thomas Mortagne 17.1 68 = Reload =
Thomas Mortagne 1.1 69
Thomas Mortagne 10.1 70 XWiki is doing nothing on background and everything is both in server and client cache already. Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).
71
Thomas Mortagne 17.1 72 == Reload of not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) ==
Thomas Mortagne 1.1 73
Thomas Mortagne 9.1 74 Unit: milliseconds
Thomas Mortagne 1.1 75
Thomas Mortagne 33.1 76 * 5.4.5 : [10, 20]
Thomas Mortagne 57.1 77 * 6.2 : [30, 40]
Thomas Mortagne 9.1 78
Thomas Mortagne 17.1 79 == Reload of not existing page with UI (/xwiki/bin/view/NoSpace/NoPage) ==
Thomas Mortagne 1.1 80
Thomas Mortagne 9.1 81 Unit: milliseconds
Thomas Mortagne 1.1 82
Thomas Mortagne 10.1 83 * 5.4.5 : [100, 150]
Thomas Mortagne 32.1 84 * 6.2 : [200, 300]
Thomas Mortagne 9.1 85
Thomas Mortagne 38.1 86 == Reload of Main.WebHome with UI ==
Thomas Mortagne 34.1 87
Thomas Mortagne 38.1 88 Unit: milliseconds
89
Thomas Mortagne 34.1 90 * 5.4.5 : [250, 350]
91 * 6.2 : [400, 500]
92
Thomas Mortagne 38.1 93 == Reload of Main.WebHome without UI ==
94
95 Unit: milliseconds
96
97 * 5.4.5 : [65, 90]
98 * 6.2 : [145, 190]
99
Thomas Mortagne 17.1 100 = SOLR =
Thomas Mortagne 1.1 101
Thomas Mortagne 17.1 102 == Full SOLR reindex ==
Thomas Mortagne 1.1 103
Thomas Mortagne 27.2 104 Unit: seconds
Thomas Mortagne 1.1 105
Thomas Mortagne 62.1 106 Delete the data/solr folder, restart, load home page and calculate the time of activity of the SOLR index thread using Yourkit (Yourkit is slowing down a bit all that but what is important is the difference anyway).
Thomas Mortagne 56.1 107
Thomas Mortagne 62.2 108 * 5.4.5 : 51
Thomas Mortagne 63.1 109 * 6.2 : 53
Thomas Mortagne 27.2 110
Thomas Mortagne 30.1 111 == SOLR sync ==
Thomas Mortagne 1.1 112
Thomas Mortagne 29.1 113 Only the thread determining what need to be indexed and not the actual indexing.
114
Thomas Mortagne 30.1 115 === when index is empty ===
116
Thomas Mortagne 27.2 117 Unit: seconds
Thomas Mortagne 1.1 118
Thomas Mortagne 31.1 119 * 5.4.5 : 1
Thomas Mortagne 29.1 120 * 6.2 : 1
Thomas Mortagne 28.1 121
Thomas Mortagne 30.1 122 === when there is nothing to do ===
Thomas Mortagne 28.1 123
124 Unit: seconds
125
Thomas Mortagne 27.2 126 * 5.4.5 : < 1
127 * 6.2 : < 1
128
Thomas Mortagne 17.1 129 = Rendering =
Thomas Mortagne 1.1 130
Thomas Mortagne 17.1 131 == Page with 1000 macros without UI ==
Thomas Mortagne 1.1 132
Thomas Mortagne 36.1 133 1000 times ~{~{id}} macro, one on each line.
Thomas Mortagne 35.1 134
Thomas Mortagne 27.2 135 Unit: milliseconds
Thomas Mortagne 2.1 136
Thomas Mortagne 35.1 137 * 5.4.5 : 9500
Thomas Mortagne 37.1 138 * 6.2 : 3500
Thomas Mortagne 27.2 139
Thomas Mortagne 98.1 140 = Heap Memory =
Thomas Mortagne 1.1 141
Thomas Mortagne 46.1 142 Attach Yourkit to get the information.
Thomas Mortagne 27.2 143
144 Unit: MB
145
Thomas Mortagne 98.1 146 == Heap Memory after jetty startup ==
Thomas Mortagne 46.1 147
148 Start jetty and wait until java is not doing anything on both (wait for potential initialization of various stuff like core extension cache, etc).
149
Thomas Mortagne 53.1 150 * 5.4.5 : used 178, allocated 515
151 * 6.2 : used 118, allocated 320
Thomas Mortagne 27.2 152
Thomas Mortagne 98.1 153 == Heap Memory after full SOLR index ==
Thomas Mortagne 12.1 154
Thomas Mortagne 54.1 155 Delete the data/solr folder, restart, load home page then wait until nothing is happening in background.
Thomas Mortagne 42.1 156
Thomas Mortagne 27.2 157 Unit: MB
158
Thomas Mortagne 55.1 159 * 5.4.5 : used 273, allocated 645
160 * 6.2 : used 344, allocated 503

Get Connected