Passed
Push — master ( d9e8dd...df3c29 )
by De
03:14
created

CountriesBench   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A benchIterator() 0 4 1
1
<?php
2
3
namespace Sokil\IsoCodes\Databases;
4
5
use Sokil\IsoCodes\IsoCodesFactory;
6
7
class CountriesBench
8
{
9
    /**
10
     * @Warmup(1)
11
     * @Revs(1000)
12
     * @Iterations(2)
13
     */
14
    public function benchIterator()
15
    {
16
        $isoCodes = new IsoCodesFactory();
17
        $isoCodes->getCountries()->toArray();
18
    }
19
}
20