fenom/benchmark/scripts/run.php
2013-02-07 17:37:16 +04:00

15 lines
268 B
PHP

<?php
$opt = getopt("", array(
"engine:",
"template:",
"data:",
"double",
"message:"
));
require_once __DIR__.'/bootstrap.php';
extract($opt);
Benchmark::$engine($template, json_decode(file_get_contents($data), true), isset($double), $message);