zend framework2 - Improve ZF2 performance -
how can improve performance of zf2 application in general?
i using templatemap, classmap , module config caching. still feel application quite slow. check performance zend-developer-toolbar. database take @ twentieth of run time. example, page loads within 420 ms , database queries take 20 ms of time on development machine. afraid kill server when going live.
what can improve performance zend framework 2 application.
well, you're taking pretty account can. there's couple of little tricks , little things use. example: edpsuperluminal
, that's not center of problem.
now, don't know on os testing, can tell experiences. point on, zf2 + windows + xampp = effing slow. don't know if that's case, due higher amount of classes needed (read: files parsed on hdd) takes longer. sql on local machine slower production one, too.
whenever switch local decelopment/staging, run ~500-750ms down 100-150ms. , numbers without sort of caching enabled. turning on sort of opcode cache (php 5.5 per default, apc on php 5.3 or lower) , you'll see application skyrocket :)
Comments
Post a Comment