File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323$ showServerName = false ;
2424
2525// Optional: mysql performance test
26- // $options['db.host'] = '127.0.0.1 ';
27- // $options['db.user'] = 'root ';
28- // $options['db.pw'] = '';
29- // $options['db.name'] = 'test';
26+ /* $options['db.host'] = '';
27+ $options['db.user'] = '';
28+ $options['db.pw'] = '';
29+ $options['db.name'] = '';*/
3030
3131// -----------------------------------------------------------------------------
3232// Main
@@ -289,6 +289,7 @@ function print_benchmark_result($data, $showServerName = true)
289289
290290 $ result .= '<thead><tr><th>Benchmark</th><th></th></tr></thead> ' ;
291291 $ result .= '<tbody> ' ;
292+ $ result .= '<tr><td>Math</td><td> ' . h ($ data ['benchmark ' ]['math ' ]) . '</td></tr> ' ;
292293 $ result .= '<tr><td>String</td><td> ' . h ($ data ['benchmark ' ]['string ' ]) . '</td></tr> ' ;
293294 $ result .= '<tr><td>Loops</td><td> ' . h ($ data ['benchmark ' ]['loops ' ]) . '</td></tr> ' ;
294295 $ result .= '<tr><td>If Else</td><td> ' . h ($ data ['benchmark ' ]['ifelse ' ]) . '</td></tr> ' ;
You can’t perform that action at this time.
0 commit comments