Forums / Developer / 3.5 with large site?

3.5 with large site?

Author Message

Marco Zinn

Thursday 04 November 2004 3:28:29 pm

Hi,
as the beta is out, a quick question: The content-structure menu seems to be made of a collapsable treemenu, made with JS, i guess. One note (i think, from the alpha release) was, that this is "not optimized for large sites".

From my understanding, the current "collapsable treemenu approach" (which i like in terms of usability) requires at least to have the names of all nodes below the "content root" node to be in "the" HTML code (or some external JS code, but it must be created, stored, (cached) and transmitted anyway). Correct?

Does anyone have some first impressions for a "large site".
"Large" means:
500+ folders
1500+ articles
2000+ files

So, this could sum up to approx. 4000 nodes, which must be "prepared" for the content structure.

Marco
http://www.hyperroad-design.com

Balazs Halasy

Friday 05 November 2004 12:11:12 am

Hi,

The treemenu has been optimized a lot since the initial version. However, it was not designed to cope with too many nodes. That is why you have the possibility to turn it off and/or tweak it so that it only shows specific type of nodes. In addition, you can also limit it to only get a certain number of nodes and/or to only go to a certain depth within the node-tree. If you have a fast server and a fast connection: sure, it will probably work with a lot of nodes. If not: tweak/limit or or turn it off. :-)

Allman

Daniele P.

Monday 08 November 2004 12:23:01 am

For the large output use mod_deflate to compress the page.
I posted a suggestion and some test:

http://ez.no/community/bug_reports/missing_doc_about_mod_deflate

Marco Zinn

Thursday 11 November 2004 7:08:51 am

Thanks for the hint!
We're in some intranet, which usually has enough bandwith. I am more concerned about the DB queries, than about the HTML file size, that results, but any compression should help here, too.

Marco
http://www.hyperroad-design.com

eZ debug

Timing: Jan 19 2025 06:05:18
Script start
Timing: Jan 19 2025 06:05:18
Module start 'content'
Timing: Jan 19 2025 06:05:19
Module end 'content'
Timing: Jan 19 2025 06:05:19
Script end

Main resources:

Total runtime1.3725 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 588.8516180.8438
Module start 'content' 0.00801.2176 769.6953594.8516
Module end 'content' 1.22560.1468 1,364.5469337.3828
Script end 1.3724  1,701.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3038210.0002
Check MTime0.00160.1186210.0001
Mysql Total
Database connection0.00070.052510.0007
Mysqli_queries1.283893.53661990.0065
Looping result0.00210.15111970.0000
Template Total1.338497.520.6692
Template load0.00200.143520.0010
Template processing1.336497.372920.6682
Template load and register function0.00010.007110.0001
states
state_id_array0.00090.066510.0009
state_identifier_array0.00180.129120.0009
Override
Cache load0.00170.1209260.0001
Sytem overhead
Fetch class attribute can translate value0.00080.060640.0002
Fetch class attribute name0.00130.095660.0002
XML
Image XML parsing0.00140.098640.0003
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.01250.9143330.0004
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs