@@ 152-158 (lines=7) @@ | ||
149 | * |
|
150 | * @since 1.0.5 |
|
151 | */ |
|
152 | public function benchFill($params) |
|
153 | { |
|
154 | for ($i = 0; $i < $params['count']; $i++) |
|
155 | { |
|
156 | $this->tree[$i] = $i; |
|
157 | } |
|
158 | } |
|
159 | ||
160 | /** |
|
161 | * @BeforeMethods({"init", "benchFill", "data"}) |
|
@@ 210-216 (lines=7) @@ | ||
207 | * |
|
208 | * @since 1.0.5 |
|
209 | */ |
|
210 | public function benchClean($params) |
|
211 | { |
|
212 | for ($i = 0; $i < $params['count']; $i++) |
|
213 | { |
|
214 | unset($this->tree[$i]); |
|
215 | } |
|
216 | } |
|
217 | } |
|
218 | ||
219 |