Forums / General / Slow site on localhost with mamp - os x

Slow site on localhost with mamp - os x

Author Message

alex zeta

Thursday 27 September 2007 7:43:03 am

Hello,

my site is incredibly slow on every task (setup, admin, page refresh...) and I'm running it on localhost on a G4 733 MHz 1 GB ram.

Configuration:
Mac Os x 10.4.10
PHP Version 4.4.6
Apache Version 2.0.59
MySQL Version 5.0.37
Ez Publish Version 3.9.3

Is there some checkings I can do for be sure that everything is ok?
Sorry for being so generic, but I'm not expert and looking for a hint to start from.

Thank you
Alex

Xavier Serna

Thursday 27 September 2007 8:50:17 am

Hi Alex,

I'll suggest you that check the permissions for the var folder and all subfolders. Perhaps the system can't create the necessary cache files and is making everthing really slow.
Debug activation can help to find the problem.
Also review your ini settings and make sure that viewcache is activated too.

hth!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

André R.

Thursday 27 September 2007 12:05:02 pm

Also take a look at some articles at this site for optimizing php / apc / apache / mysql on mac:
http://papelipe.no/

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Ole Morten Halvorsen

Friday 28 September 2007 12:50:42 am

Hi Alex,

I know from my own experience that running eZ Publish (or PHP apps in general) gives poor performance on PowerPC processors. I've tried running eZ Publish on both a G4 1GHz CPU and on a Dual 2GHz G5 and both was very slow. The new Intel Macs however seems to be running eZp much, much quicker...

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

eZ debug

Timing: Jan 18 2025 21:05:55
Script start
Timing: Jan 18 2025 21:05:55
Module start 'content'
Timing: Jan 18 2025 21:05:56
Module end 'content'
Timing: Jan 18 2025 21:05:56
Script end

Main resources:

Total runtime1.2855 sec
Peak memory usage4,096.0000 KB
Database Queries201

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.7266180.8359
Module start 'content' 0.00591.1398 768.5625633.5625
Module end 'content' 1.14580.1395 1,402.1250337.3750
Script end 1.2853  1,739.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3285210.0002
Check MTime0.00150.1193210.0001
Mysql Total
Database connection0.00090.067910.0009
Mysqli_queries1.209794.10192010.0060
Looping result0.00230.18111990.0000
Template Total1.254897.620.6274
Template load0.00210.164120.0011
Template processing1.252797.450920.6264
Template load and register function0.00020.016710.0002
states
state_id_array0.00080.061510.0008
state_identifier_array0.00170.130420.0008
Override
Cache load0.00180.1392300.0001
Sytem overhead
Fetch class attribute can translate value0.00190.150450.0004
Fetch class attribute name0.00100.080860.0002
XML
Image XML parsing0.00170.134850.0003
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00480.3772340.0001
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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs