File: examples/benchmark/PdoTestRunner.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  PHP PDO One  >  examples/benchmark/PdoTestRunner.php  >  Download  
File: examples/benchmark/PdoTestRunner.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP PDO One
Access to database with PDO and run common queries
Author: By
Last change: Update of examples/benchmark/PdoTestRunner.php
Date: 11 months ago
Size: 283 bytes
 

Contents

Class file image Download
<?php
require dirname(__FILE__) . '/PDOTestSuite.php';
$time = microtime(true);
$memory = memory_get_usage();
$test = new PDOTestSuite();
$test->initialize();
$test->run();
echo
sprintf(" %11s | %6.2f |\n", number_format(memory_get_usage(true) - $memory), (microtime(true) - $time));


For more information send a message to info at phpclasses dot org.