Last modified by Thomas Mortagne on 2016/12/07 14:55

Show last authors
1 {{toc/}}
2
3 = Environment =
4
5 * Ubuntu 14.10 64b
6 * Quad core i7
7 * Oracle JDK 1.8.0_40 64b
8 * standard jetty+hsqldb
9 * only main wiki
10
11 Unless specifically indicated otherwise all the test are executed with a fully initialized instance (core extensions don't run anymore, SOLR index is fully up to date, etc.). Basically except for a few special tests we are using an instance that already been started and run until the proc is flat for some time.
12
13 = Summary =
14
15 == Speed ==
16
17 |=(% colspan="2" %)Actions|=Difference
18 |(% colspan="2" %)[[Jetty startup>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HJettystartup"]]|(% style="color:orange" %)similar\\
19 |(% rowspan="2" width="150" %)[[First access>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HFirstaccess"]]|(% width="300" %)[[not existing page without UI>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HFirstaccesstonotexistingpagewithoutUI282Fxwiki2Fbin2Fget2FNoSpace2FNoPage29"]]|(% style="color:orange" %)similar\\
20 |[[not existing page with UI>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HFirstaccesstonotexistingpagewithUI282Fxwiki2Fbin2Fview2FNoSpace2FNoPage29"]]|(% style="color:green" %)30% quicker\\
21 |(% rowspan="4" %)[[Reload>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HReload"]]|[[not existing page without UI>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HReloadofnotexistingpagewithoutUI282Fxwiki2Fbin2Fget2FNoSpace2FNoPage29"]]|(% style="color:orange" %)similar\\
22 |[[not existing page with UI>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HReloadofnotexistingpagewithUI282Fxwiki2Fbin2Fview2FNoSpace2FNoPage29"]]|(% style="color:green" %)slightly better\\
23 |[[Main.WebHome with UI>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HReloadofMain.WebHomewithUI"]]|(% style="color:green" %)slightly better\\
24 |[[Main.WebHome without UI>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HReloadofMain.WebHomewithoutUI"]]|(% style="color:orange" %)similar\\
25 |(% rowspan="3" %)[[SOLR>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HSOLR"]]|[[Full SOLR reindex>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HFullSOLRreindex"]]|(% style="color:orange" %)similar\\
26 |[[SOLR sync when index is empty>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="Hwhenindexisempty"]]|(% style="color:green" %)50% quicker\\
27 |[[SOLR sync when there is nothing to do>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="Hwhenthereisnothingtodo"]]|(% style="color:orange" %)similar\\
28 |[[Rendering>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HRendering"]]|[[Page with 1000 macros without UI>>test:Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HPagewith1000macroswithoutUI"]]|(% style="color:green" %)30% quicker\\
29
30 == Memory ==
31
32 |=(% width="450" %)Actions|=Difference
33 |[[Memory after jetty startup>>Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HHeapmemoryafterjettystartup"]]|(% style="color:orange" %)similar\\
34 |[[Memory after full SOLR index>>Performances.Jetty HSQLDB single wiki 643 to 70||anchor="HHeapmemoryafterfullSOLRindex"]]|(% style="color:orange" %)similar\\
35
36 = Jetty startup =
37
38 Unit: seconds
39
40 Until end message is printed. Done by hand with a chronometer.
41
42 * 6.4.3: 10
43 * 7.0: 9
44
45 = First access =
46
47 First HTTP request after restarting Jetty.
48
49 == First access to not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) ==
50
51 Unit: seconds
52
53 Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).
54
55 * 6.4.3 : 6
56 * 7.0 : 6
57
58 == First access to not existing page with UI (/xwiki/bin/view/NoSpace/NoPage) ==
59
60 Unit: seconds
61
62 Done by hand with a chronometer (image/js/css/etc. resources are not taken into account).
63
64 * 6.4.3 : 15
65 * 7.0 : 10
66
67 = Reload =
68
69 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).
70
71 == Reload of not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) ==
72
73 Unit: milliseconds
74
75 * 6.4.3 : [10, 15]
76 * 7.0 : [10, 15]
77
78 == Reload of not existing page with UI (/xwiki/bin/view/NoSpace/NoPage) ==
79
80 Unit: milliseconds
81
82 * 6.4.3 : [70, 150]
83 * 7.0 : [60, 90]
84
85 == Reload of Main.WebHome with UI ==
86
87 Unit: milliseconds
88
89 * 6.4.3 : [200, 300]
90 * 7.0 : [180, 250]
91
92 == Reload of Main.WebHome without UI ==
93
94 Unit: milliseconds
95
96 * 6.4.3 : [70, 100]
97 * 7.0 : [60, 100]
98
99 = SOLR =
100
101 == Full SOLR reindex ==
102
103 Unit: seconds
104
105 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).
106
107 * 6.4.3 : 67
108 * 7.0 : 67
109
110 == SOLR sync ==
111
112 Only the thread determining what need to be indexed and not the actual indexing.
113
114 === when index is empty ===
115
116 Unit: seconds
117
118 * 6.4.3 : 2
119 * 7.0 : 1
120
121 === when there is nothing to do ===
122
123 Unit: seconds
124
125 * 6.4.3 : < 1
126 * 7.0 : < 1
127
128 = Rendering =
129
130 == Page with 1000 macros without UI ==
131
132 1000 times ~{~{id}} macro, one on each line.
133
134 Unit: seconds
135
136 * 6.4.3 : 3.5
137 * 7.0 : 2.5
138
139 = Heap Memory =
140
141 Attach Yourkit to get the information.
142
143 Unit: MB
144
145 == Heap Memory after jetty startup ==
146
147 Start jetty and wait until java is not doing anything on both (wait for potential initialization of various stuff like core extension cache, etc). Force garbage collector before looking at the values.
148
149 * 6.4.3 : 51 used, 449 allocated
150 * 7.0 : 43 used, 493 allocated
151
152 == Heap Memory after full SOLR index ==
153
154 Delete the data/solr folder, restart, load home page then wait until nothing is happening in background. Force garbage collector before looking at the values.
155
156 Unit: MB
157
158 * 6.4.3 : 96 used, 504 allocated
159 * 7.0 : 112 used, 478 allocated

Get Connected