Remove PHP 4 compatibility hack.
[htmlpurifier/darkodev.git] / benchmarks / ConfigSchema.php
blob087758c376adc0319eeeba2dc149f4b862fd9b63
1 <?php
3 chdir(dirname(__FILE__));
5 //require_once '../library/HTMLPurifier.path.php';
6 shell_exec('php ../maintenance/generate-schema-cache.php');
7 require_once '../library/HTMLPurifier.path.php';
8 require_once 'HTMLPurifier.includes.php';
10 $begin = xdebug_memory_usage();
12 $schema = HTMLPurifier_ConfigSchema::makeFromSerial();
14 echo xdebug_memory_usage() - $begin;
16 // vim: et sw=4 sts=4