Passed
Push — 7.x ( 1e3f37...c475d0 )
by Adrien
06:13 queued 35s
created

SplBoolBench   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 24
rs 10
wmc 2
1
<?php
2
3
/**
4
 * Part of SplTypes package.
5
 *
6
 * (c) Adrien Loyant <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Ducks\Component\SplTypes\Tests\benchmark;
15
16
use Ducks\Component\SplTypes\SplBool;
17
18
class SplBoolBench
19
{
20
    /**
21
     * @Revs(1000)
22
     *
23
     * @Iterations(5)
24
     *
25
     * @return void
26
     */
27
    public function benchCreateTrue(): void
28
    {
29
        new SplBool();
30
    }
31
32
    /**
33
     * @Revs(1000)
34
     *
35
     * @Iterations(5)
36
     *
37
     * @return void
38
     */
39
    public function benchCreateFalse(): void
40
    {
41
        new SplBool();
42
    }
43
}
44