Wiki source code of Performance test on Jetty/HSQLDB with a single wiki
Last modified by Thomas Mortagne on 2014/10/02 17:25
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | = Jetty startup = | ||
12 | |||
13 | Unit: seconds | ||
14 | |||
15 | Until end message is printer. Done by hand with a chronometer. | ||
16 | |||
17 | * 5.4.5: 12 | ||
18 | * 6.0.1: 12 | ||
19 | * 6.1: 13 | ||
20 | * 6.2: 12 | ||
21 | |||
22 | = First access = | ||
23 | |||
24 | First HTTP request after starting Jetty. | ||
25 | |||
26 | == First access to not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) == | ||
27 | |||
28 | Unit: seconds | ||
29 | |||
30 | Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account). | ||
31 | |||
32 | * 5.4.5 : 6 | ||
33 | * 6.0.1 : 6 | ||
34 | * 6.1 : 6 | ||
35 | * 6.2 : 6 | ||
36 | |||
37 | == First access to not existing page with UI (/xwiki/bin/get/NoSpace/NoPage) == | ||
38 | |||
39 | Unit: seconds | ||
40 | |||
41 | Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account). | ||
42 | |||
43 | * 5.4.5 : 6 | ||
44 | |||
45 | Done by hand with a chronometer (image/js/css/etc. resources are not taken into account). | ||
46 | |||
47 | * 6.2 : 18 | ||
48 | |||
49 | = Reload = | ||
50 | |||
51 | 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). | ||
52 | |||
53 | == Reload of not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) == | ||
54 | |||
55 | Unit: milliseconds | ||
56 | |||
57 | * 5.4.5 : [10, 20] | ||
58 | * 6.0.1 : 30 | ||
59 | * 6.1 : 45 | ||
60 | * 6.2 : [30, 40] | ||
61 | |||
62 | == Reload of not existing page with UI (/xwiki/bin/view/NoSpace/NoPage) == | ||
63 | |||
64 | Unit: milliseconds | ||
65 | |||
66 | * 5.4.5 : [100, 150] | ||
67 | * 6.0.1 : [240, 300] | ||
68 | * 6.1 : [350, 400] | ||
69 | * 6.2 : [200, 300] | ||
70 | |||
71 | == Reload of Main.WebHome with UI == | ||
72 | |||
73 | Unit: milliseconds | ||
74 | |||
75 | * 5.4.5 : [250, 350] | ||
76 | * 6.2 : [400, 500] | ||
77 | |||
78 | == Reload of Main.WebHome without UI == | ||
79 | |||
80 | Unit: milliseconds | ||
81 | |||
82 | * 5.4.5 : [65, 90] | ||
83 | * 6.2 : [145, 190] | ||
84 | |||
85 | = SOLR = | ||
86 | |||
87 | == Full SOLR reindex == | ||
88 | |||
89 | Unit: seconds | ||
90 | |||
91 | Delete the data/solr folder, restart, load home page and calculate the time of activity of the SOLR index thread using Yourkit. | ||
92 | |||
93 | * 5.4.5 : 51 | ||
94 | * 6.2 : 53 | ||
95 | |||
96 | == SOLR sync == | ||
97 | |||
98 | Only the thread determining what need to be indexed and not the actual indexing. | ||
99 | |||
100 | === when index is empty === | ||
101 | |||
102 | Unit: seconds | ||
103 | |||
104 | * 5.4.5 : 1 | ||
105 | * 6.2 : 1 | ||
106 | |||
107 | === when there is nothing to do === | ||
108 | |||
109 | Unit: seconds | ||
110 | |||
111 | * 5.4.5 : < 1 | ||
112 | * 6.2 : < 1 | ||
113 | |||
114 | = Rendering = | ||
115 | |||
116 | == Page with 1000 macros without UI == | ||
117 | |||
118 | 1000 times ~{~{id}} macro, one on each line. | ||
119 | |||
120 | Unit: milliseconds | ||
121 | |||
122 | * 5.4.5 : 9500 | ||
123 | * 6.2 : 3500 | ||
124 | |||
125 | = Memory = | ||
126 | |||
127 | Attach Yourkit to get the information. | ||
128 | |||
129 | Unit: MB | ||
130 | |||
131 | == Memory after jetty startup == | ||
132 | |||
133 | Start jetty and wait until java is not doing anything on both (wait for potential initialization of various stuff like core extension cache, etc). | ||
134 | |||
135 | * 5.4.5 : used 178, allocated 515 | ||
136 | * 6.2 : used 118, allocated 320 | ||
137 | |||
138 | == Memory after full SOLR index == | ||
139 | |||
140 | Delete the data/solr folder, restart, load home page then wait until nothing is happening in background. | ||
141 | |||
142 | Unit: MB | ||
143 | |||
144 | * 5.4.5 : used 273, allocated 645 | ||
145 | * 6.2 : used 344, allocated 503 |