Version 92.1 by Thomas Mortagne on 2014/10/02 17:41

Show last authors
1 {{toc/}}
2
3 = Environment =
4
5 * Ubuntu 14.04 64b
6 * Quad core i7
7 * Oracle JDK 1.8.0_20 64b
8 * standard jetty+hsqldb
9 * only main wiki
10
11 = Summary =
12
13 == Speed ==
14
15 |=(% colspan="2" %)Actions|=Difference
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" %)[[to not existing page without UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HFirstaccesstonotexistingpagewithoutUI282Fxwiki2Fbin2Fget2FNoSpace2FNoPage29"]]|(% style="color:orange" %) Same
18 |[[to 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"]]|[[of not existing page without UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReloadofnotexistingpagewithoutUI282Fxwiki2Fbin2Fget2FNoSpace2FNoPage29"]]|(% style="color:red" %) > x2
20 |[[of not existing page with UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReloadofnotexistingpagewithUI282Fxwiki2Fbin2Fview2FNoSpace2FNoPage29"]]|(% style="color:red" %) x2
21 |[[of Main.WebHome with UI>>test:Performances.Jetty HSQLDB single wiki 545 to 62||anchor="HReloadofMain.WebHomewithUI"]]|(% style="color:red" %) x2
22 |[[of 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
27
28 == Memory ==
29
30 |=(% width="450" %)Actions|=Difference
31 |[[Memory after jetty startup>>||anchor="#HMemoryafterjettystartup"]]|(% style="color:green" %) Use almost half and keep less
32 |[[Memory after full SOLR index>>||anchor="#HMemoryafterfullSOLRindex"]]|(% style="color:orange" %) Use less but keep more
33
34 = Jetty startup =
35
36 (% style="color:orange" %)(/) Same
37
38 Unit: seconds
39
40 Until end message is printer. Done by hand with a chronometer.
41
42 * 5.4.5: 12
43 * 6.2: 12
44
45 = First access =
46
47 First HTTP request after starting Jetty.
48
49 == First access to not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) ==
50
51 (% style="color:orange" %)(x) Same
52
53 Unit: seconds
54
55 Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).
56
57 * 5.4.5 : 6
58 * 6.2 : 6
59
60 == First access to not existing page with UI (/xwiki/bin/get/NoSpace/NoPage) ==
61
62 (% style="color:red" %)(x) 3 times slower
63
64 Unit: seconds
65
66 Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).
67
68 * 5.4.5 : 6
69
70 Done by hand with a chronometer (image/js/css/etc. resources are not taken into account).
71
72 * 6.2 : 18
73
74 = Reload =
75
76 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).
77
78 == Reload of not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) ==
79
80 (% style="color:red" %)(x) more that 2 times slower
81
82 Unit: milliseconds
83
84 * 5.4.5 : [10, 20]
85 * 6.2 : [30, 40]
86
87 == Reload of not existing page with UI (/xwiki/bin/view/NoSpace/NoPage) ==
88
89 (% style="color:red" %)(x) 2 times slower
90
91 Unit: milliseconds
92
93 * 5.4.5 : [100, 150]
94 * 6.2 : [200, 300]
95
96 == Reload of Main.WebHome with UI ==
97
98 (% style="color:red" %)(x) 2 times slower
99
100 Unit: milliseconds
101
102 * 5.4.5 : [250, 350]
103 * 6.2 : [400, 500]
104
105 == Reload of Main.WebHome without UI ==
106
107 (% style="color:red" %)(x) more than 2 times slower
108
109 Unit: milliseconds
110
111 * 5.4.5 : [65, 90]
112 * 6.2 : [145, 190]
113
114 = SOLR =
115
116 == Full SOLR reindex ==
117
118 (% style="color:orange" %)(/) Same
119
120 Unit: seconds
121
122 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).
123
124 * 5.4.5 : 51
125 * 6.2 : 53
126
127 == SOLR sync ==
128
129 Only the thread determining what need to be indexed and not the actual indexing.
130
131 === when index is empty ===
132
133 (% style="color:orange" %)(/) Same
134
135 Unit: seconds
136
137 * 5.4.5 : 1
138 * 6.2 : 1
139
140 === when there is nothing to do ===
141
142 (% style="color:orange" %)(/) Same
143
144 Unit: seconds
145
146 * 5.4.5 : < 1
147 * 6.2 : < 1
148
149 = Rendering =
150
151 == Page with 1000 macros without UI ==
152
153 (% style="color:green" %)(/) almost 3 times quicker
154
155 1000 times ~{~{id}} macro, one on each line.
156
157 Unit: milliseconds
158
159 * 5.4.5 : 9500
160 * 6.2 : 3500
161
162 = Memory =
163
164 Attach Yourkit to get the information.
165
166 Unit: MB
167
168 == Memory after jetty startup ==
169
170 (% style="color:green" %)(/) use and keep less
171
172 Start jetty and wait until java is not doing anything on both (wait for potential initialization of various stuff like core extension cache, etc).
173
174 * 5.4.5 : used 178, allocated 515
175 * 6.2 : used 118, allocated 320
176
177 == Memory after full SOLR index ==
178
179 (% style="color:orange" %)(/) Use less but keep a bit more
180
181 Delete the data/solr folder, restart, load home page then wait until nothing is happening in background.
182
183 Unit: MB
184
185 * 5.4.5 : used 273, allocated 645
186 * 6.2 : used 344, allocated 503

Get Connected