We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bc3df commit 00cae85Copy full SHA for 00cae85
tests/unittest.php
@@ -7,6 +7,7 @@
7
8
require_once '../Text/LanguageDetect.php';
9
require_once 'PHPUnit.php';
10
+require_once 'Benchmark/Timer.php';
11
12
class langtest extends PHPUnit_TestCase {
13
@@ -1740,9 +1741,14 @@ function test_detection()
1740
1741
1742
}
1743
1744
+$timer = new Benchmark_Timer();
1745
+
1746
+$timer->start();
1747
$suite = new PHPUnit_TestSuite('langtest');
1748
$result = PHPUnit::run($suite);
1749
echo $result->toString();
1750
+$timer->stop();
1751
+$timer->display();
1752
1753
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 encoding=utf-8: */
1754
0 commit comments