PHP Classes

File: examples/benchmark/PdoOneTestRunner.php

Recommend this page to a friend!
  Classes of Jorge Castro   PHP PDO One   examples/benchmark/PdoOneTestRunner.php   Download  
File: examples/benchmark/PdoOneTestRunner.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/PdoOneTestRunner.php
Date: 4 years ago
Size: 363 bytes
 

Contents

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