Benchmark results f or the TYPO3 DBAL extensionIntroductionAl l tests with ab (Apac heBench) run on a Pen tium M 1.5 G Hz, 512MB RAMwith Apache 1.3.29, PHP 4. 3.4, Zend Optimizer v2.5.2. running on De bianGNU/Linux (unstable). MySQL was version 4.0.18, Postgre SQL was version7.4.2.The re sults shown are always from the second of two identical runs don eright after each other.The 'webs ite' has one toplevel page with 5 su bpages. The t oplevel pagecontains a text- only CE with a few lin es of text. The template use s cSetstylesheet and content (default) plus a few lines of TS:# De fault PAGE object:page = PAGEpage.typeN um = 0page.5 = HMENUpage.5 { 1 = TMENU 1.NO.allWrap = &r aquo; | }page.10 = TEXTpage.10.value =
page.15 < styles.content. getIt looks lik e this (impressive, eh? ):The DBAL was co nfigured like this for MySQL a nd PostgreSQL with exceptionof the driv er use d ( mysql vs. postgres7 ):$TYP O3_CONF_VAR S['EX TCONF']['dbal']['handlerC fg'] = array ( '_DEFAULT' => array ( 'type' => 'adodb', 'config' => array( 'driver' => 'mysql', ) ));SummaryHere are th e sum marized results of Apa cheBench calling this page 300 timeswith a concurrenrcy leve l of 5. The graph shows the n umber of re quests persecond. Th e numb er in parenthesis in the Setup c olumn indicates theunderlying ADOdb ver sion.Setup requests p er sec ms p er requestMySQL 12.59 396.98MySQL, D BAL 6.32 791 ...
Voir