You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
386B

  1. <?php
  2. chdir(dirname(__FILE__));
  3. //require_once '../library/HTMLPurifier.path.php';
  4. shell_exec('php ../maintenance/generate-schema-cache.php');
  5. require_once '../library/HTMLPurifier.path.php';
  6. require_once 'HTMLPurifier.includes.php';
  7. $begin = xdebug_memory_usage();
  8. $schema = HTMLPurifier_ConfigSchema::makeFromSerial();
  9. echo xdebug_memory_usage() - $begin;
  10. // vim: et sw=4 sts=4