Sunday 14 November 2010 1:19:18 am - 1 reply
In my last post, I described how to get a testing environment for your eZ Publish developments. This was in my previous post.
Now it's time to go further on write your first test and run it.
This is not a PHPUnit tutorial the goal is to give you a first step and some clues to avoid brainstorming gapes.
Author |
---|
You must be logged in to post messages in this topic!
Timing: | Jan 18 2025 05:11:20 |
Script start | |
Timing: | Jan 18 2025 05:11:20 |
Module start 'layout' | |
Timing: | Jan 18 2025 05:11:20 |
Module start 'content' | |
Timing: | Jan 18 2025 05:11:20 |
Module end 'content' | |
Timing: | Jan 18 2025 05:11:20 |
Script end |
Total runtime | 0.1153 sec |
Peak memory usage | 4,096.0000 KB |
Database Queries | 61 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0067 | 587.9141 | 152.6250 |
Module start 'layout' | 0.0067 | 0.0034 | 740.5391 | 39.4531 |
Module start 'content' | 0.0101 | 0.1038 | 779.9922 | 602.6719 |
Module end 'content' | 0.1139 | 0.0014 | 1,382.6641 | 14.3984 |
Script end | 0.1152 | 1,397.0625 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0036 | 3.0885 | 16 | 0.0002 |
Check MTime | 0.0014 | 1.1820 | 16 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0010 | 0.8614 | 1 | 0.0010 |
Mysqli_queries | 0.0589 | 51.1097 | 61 | 0.0010 |
Looping result | 0.0006 | 0.5255 | 59 | 0.0000 |
Template Total | 0.0810 | 70.2 | 2 | 0.0405 |
Template load | 0.0019 | 1.6672 | 2 | 0.0010 |
Template processing | 0.0790 | 68.5577 | 2 | 0.0395 |
Template load and register function | 0.0002 | 0.1553 | 1 | 0.0002 |
states | ||||
state_id_array | 0.0013 | 1.1354 | 2 | 0.0007 |
state_identifier_array | 0.0014 | 1.2397 | 3 | 0.0005 |
Override | ||||
Cache load | 0.0021 | 1.8496 | 11 | 0.0002 |
Sytem overhead | ||||
Fetch class attribute name | 0.0019 | 1.6273 | 3 | 0.0006 |
Fetch class attribute can translate value | 0.0005 | 0.4163 | 1 | 0.0005 |
class_abstraction | ||||
Instantiating content class attribute | 0.0000 | 0.0099 | 3 | 0.0000 |
XML | ||||
Image XML parsing | 0.0005 | 0.4337 | 1 | 0.0005 |
General | ||||
dbfile | 0.0010 | 0.8430 | 16 | 0.0001 |
String conversion | 0.0000 | 0.0095 | 4 | 0.0000 |
Note: percentages do not add up to 100% because some accumulators overlap |
Usage | Requested template | Template | Template loaded | Edit | Override |
---|---|---|---|---|---|
1 | node/view/full.tpl | forum_topic/full.tpl | extension/community_design/design/suncana/override/templates/forum_topic/full.tpl | ||
2 | content/datatype/view/ezxmltext.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tpl | ||
2 | content/datatype/view/ezxmltags/paragraph.tpl | <No override> | extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tpl | ||
1 | content/datatype/view/ezimage.tpl | <No override> | extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tpl | ||
1 | print_pagelayout.tpl | <No override> | extension/community/design/community/templates/print_pagelayout.tpl | ||
Number of times templates used: 7 Number of unique templates used: 5 |
Time used to render debug report: 0.0001 secs