Code Duplication    Length = 4-4 lines in 2 locations

class/benchmark.test.php 1 location

@@ 16-19 (lines=4) @@
13
14
$bm->Mark('Mark2', 'blue');
15
16
for ($i=1; $i<10; $i++) {
17
	usleep(rand(1,1000));
18
	$bm->Mark();
19
}
20
21
$bm->Stop();
22

demo/benchmark.php 1 location

@@ 19-22 (lines=4) @@
16
usleep(500);
17
$bm->mark('Mark #1 cyan', 'cyan');
18
19
for ($i=1; $i<10; $i++) {
20
    usleep(rand(1, 1000));
21
    $bm->mark();
22
}
23
24
$bm->stop();
25