We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ff1e63 commit 542dc24Copy full SHA for 542dc24
README.md
@@ -10,6 +10,8 @@ A simple PHP benchmark, useful for the every day micro-optimizer.
10
11
require __DIR__ . '/vendor/autoload.php';
12
13
+use Nice\Benchmark\Benchmark;
14
+
15
$benchmark = new Benchmark(100000, 'String matching');
16
$benchmark->register('preg_match', function() {
17
assert(preg_match('/^test/', 'testing'));
0 commit comments