Wiki source code of Performance test on Jetty/HSQLDB with a single wiki
Version 54.1 by Thomas Mortagne on 2014/09/19 16:09
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-rc1 : [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 | {{todo}} | ||
90 | Find how to calculate it | ||
91 | {{/todo}} | ||
92 | |||
93 | Unit: seconds | ||
94 | |||
95 | * 5.4.5 : {{todo/}} | ||
96 | * 6.2 : {{todo/}} | ||
97 | |||
98 | == SOLR sync == | ||
99 | |||
100 | Only the thread determining what need to be indexed and not the actual indexing. | ||
101 | |||
102 | === when index is empty === | ||
103 | |||
104 | Unit: seconds | ||
105 | |||
106 | * 5.4.5 : 1 | ||
107 | * 6.2 : 1 | ||
108 | |||
109 | === when there is nothing to do === | ||
110 | |||
111 | Unit: seconds | ||
112 | |||
113 | * 5.4.5 : < 1 | ||
114 | * 6.2 : < 1 | ||
115 | |||
116 | = Rendering = | ||
117 | |||
118 | == Page with 1000 macros without UI == | ||
119 | |||
120 | 1000 times ~{~{id}} macro, one on each line. | ||
121 | |||
122 | Unit: milliseconds | ||
123 | |||
124 | * 5.4.5 : 9500 | ||
125 | * 6.2 : 3500 | ||
126 | |||
127 | = Memory = | ||
128 | |||
129 | Attach Yourkit to get the information. | ||
130 | |||
131 | Unit: MB | ||
132 | |||
133 | == Memory after jetty startup == | ||
134 | |||
135 | Start jetty and wait until java is not doing anything on both (wait for potential initialization of various stuff like core extension cache, etc). | ||
136 | |||
137 | * 5.4.5 : used 178, allocated 515 | ||
138 | * 6.2 : used 118, allocated 320 | ||
139 | |||
140 | == Memory after full SOLR index == | ||
141 | |||
142 | Delete the data/solr folder, restart, load home page then wait until nothing is happening in background. | ||
143 | |||
144 | Unit: MB | ||
145 | |||
146 | * 5.4.5 : {{todo/}} | ||
147 | * 6.2 : {{todo/}} |