silverstripe-framework/thirdparty/jsmin/test/test.php

10 lines
230 B
PHP
Raw Normal View History

<?php
error_reporting(E_STRICT);
fwrite(STDERR, memory_get_peak_usage(true)."\n");
require '../jsmin.php';
echo JSMin::minify(file_get_contents('ext-all-debug.js'));
fwrite(STDERR, memory_get_peak_usage(true)."\n");
?>