Performance
Publisher does a lot of things. It is a large add-on that brings a massive feature set, therefore, it will add to the page load time of your sites. It is difficult to say exactly how much time it will add because it depends on what features you are using and what 3rd party add-ons you have installed. For this reason, it is recommended that you have some sort of caching strategy for your site (even if you are not using ExpressionEngine or Publisher, you should have some level of site caching). Fortunately, we also offer a fully featured caching module called Speedy. Publisher has a lot of built in caching as well. For example, the first page load after saving an entry may take additional processing time and queries because it will be re-generating some caches.
Publisher 3.x comes with built in bench marking. If you have the Output Profiler enabled on your site. Below is an example of the bench marking output added to ExpressionEngine's Performance tab in the Output Profiler. As you can see you in this example, the full page took 14 seconds to create an un-cached page, but only 3.2 seconds of it is the result of Publisher's hook calls and other processing.
1
Memory Usage: 34.9MB of 256M
2
Database Execution Time: 0.6418
3
Publisher Session Start: 0.1550
4
Publisher Core Boot Hook: 0.6321
5
Publisher Core Template Route Hook: 0.0586
6
Publisher Channel Entries Query Result Hook: 0.0081
7
Publisher Assets Data Query Hook: 0.0038
8
Publisher Relationships Query Hook: 0.6546
9
Publisher Channel Entries Tagdata Hook: 0.0041
10
Publisher Translate Phrase Tag: 0.0004
11
Publisher Languages Tag: 0.0234
12
Publisher Category Entry Translations Tag: 0.0168
13
Publisher Languages Tag #2: 0.0193
14
Publisher Translate Phrase Tag #2: 0.0004
15
Publisher Languages Tag #3: 0.0192
16
Publisher Languages Tag #4: 0.0277
17
Publisher Translate Entry Tag: 0.0456
18
Publisher Translate Entry Tag #2: 0.0394
19
Publisher Translate Phrase Tag #3: 0.0005
20
Publisher Languages Tag #5: 0.0191
21
Publisher Languages Tag #6: 0.0283
22
Publisher Channel Entries Query Result Hook #2: 0.0152
23
Publisher Grid Query Hook: 0.0012
24
Publisher Channel Entries Tagdata Hook #2: 0.0014
25
Publisher Channel Entries Query Result Hook #3: 0.0742
26
Publisher Channel Entries Tagdata Hook #3: 0.0033
27
Publisher Channel Module Categories Start Hook: 0.3291
28
Publisher Channel Module Categories Start Hook #2: 0.0422
29
Publisher Channel Module Categories Start Hook #3: 0.0582
30
Publisher Channel Module Categories Start Hook #4: 0.0498
31
Publisher Channel Module Categories Start Hook #5: 0.0424
32
Publisher Channel Module Categories Start Hook #6: 0.0567
33
Publisher Channel Module Categories Start Hook #7: 0.0744
34
Publisher Channel Module Categories Start Hook #8: 0.0480
35
Publisher Translate Phrase Tag #4: 0.0004
36
Publisher Translate Phrase Tag #5: 0.0006
37
Publisher Translate Phrase Tag #6: 0.0006
38
Publisher Translate Phrase Tag #7: 0.0004
39
Publisher Translate Phrase Tag #8: 0.0004
40
Publisher Translate Phrase Tag #9: 0.0004
41
Publisher Translate Phrase Tag #10: 0.0004
42
Publisher Translate Phrase Tag #11: 0.0004
43
Publisher Translate Phrase Tag #12: 0.0004
44
Publisher Translate Phrase Tag #13: 0.0004
45
Publisher Template Post Parse Hook: 0.0056
46
Publisher Total Execution Time: 3.2234
47
Total Execution Time: 14.3696
Copied!
Last modified 1yr ago
Copy link