Wiki source code of Performance test on Jetty/MySQL with 100 wikis
Last modified by Thomas Mortagne on 2014/09/13 16:56
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 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 modified to use MySQL | ||
4.1 | 9 | * 100 standard wikis | |
1.1 | 10 | ||
4.1 | 11 | = Time to create the 100 wikis | |
1.1 | 12 | ||
4.1 | 13 | * 5.4.5 : 2h30 (70) + 1h45 (71 -> 84) + 30min (85 -> 100). So 4h45. Was a pain, it failed twice, then I got a OOM and finally was able to finish it with one more restarts | |
8.1 | 14 | * 6.0.1 : {{todo/}} | |
15 | * 6.1 : {{todo/}} | ||
4.1 | 16 | * 6.2-20140903 : 3h (0 -> 100). Worked like a charm. Heap memory right after creating the 100 wikis was ~313M | |
1.1 | 17 | ||
18 | = Jetty startup | ||
19 | |||
20 | Until end message is printer. Done by hand with a chronometer. | ||
21 | |||
22 | Unit: seconds | ||
23 | |||
4.1 | 24 | * 5.4.5 : 15s | |
25 | * 6.0.1 : {{todo/}} | ||
26 | * 6.1 : {{todo/}} | ||
27 | * 6.2-20140903 : 22s | ||
1.1 | 28 | ||
29 | = First access | ||
30 | |||
31 | First HTTP request after starting Jetty. Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account). | ||
32 | |||
33 | == First access to not existing page without UI (/xwiki/bin/get/NoSpace/NoPage). | ||
34 | |||
35 | Unit: seconds | ||
36 | |||
4.1 | 37 | * 5.4.5 : [30, 40] | |
38 | * 6.0.1 : {{todo/}} | ||
39 | * 6.1 : {{todo/}} | ||
40 | * 6.2-20140903 : [30, 40] | ||
1.1 | 41 | ||
42 | = Reload | ||
43 | |||
44 | 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). | ||
45 | |||
46 | == Reload of not existing page without UI (/xwiki/bin/get/NoSpace/NoPage) | ||
47 | |||
48 | Unit: milliseconds | ||
49 | |||
4.1 | 50 | * 5.4.5 : 15 | |
51 | * 6.0.1 : 30 | ||
52 | * 6.1 : 45 | ||
53 | * 6.2-rc1 : 45 | ||
1.1 | 54 | ||
55 | == Reload of not existing page with UI (/xwiki/bin/view/NoSpace/NoPage) | ||
56 | |||
57 | Unit: milliseconds | ||
58 | |||
4.1 | 59 | * 5.4.5 : {{todo/}} | |
60 | * 6.0.1 : {{todo/}} | ||
61 | * 6.1 : {{todo/}} | ||
62 | * 6.2-20140903 : [550, 650] | ||
1.1 | 63 | ||
64 | = SOLR | ||
65 | |||
66 | == Full SOLR reindex | ||
67 | |||
68 | {{todo/}} | ||
69 | |||
70 | == SOLR init when there is nothing to do | ||
71 | |||
4.1 | 72 | Unit: seconds | |
1.1 | 73 | ||
4.1 | 74 | * 5.4.5 : {{todo/}} | |
75 | * 6.0.1 : {{todo/}} | ||
76 | * 6.1 : {{todo/}} | ||
77 | * 6.2-20140903 : 10 | ||
78 | |||
1.1 | 79 | = Rendering | |
80 | |||
81 | == Page with 1000 macros without UI | ||
82 | |||
83 | {{todo/}} | ||
84 | |||
85 | = Memory | ||
86 | |||
2.1 | 87 | == Memory after full SOLR index | |
88 | |||
4.1 | 89 | Unit: MB | |
90 | |||
5.1 | 91 | * 5.4.5 : {{todo/}} (OOM with standard setup which is 512 so need to retest with more allocated memory) | |
4.1 | 92 | * 6.0.1 : {{todo/}} | |
93 | * 6.1 : {{todo/}} | ||
94 | * 6.2-20140903 : ~313 |