You are here

public function InsertPriorityQueue::insertSplPriorityQueue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-stdlib/benchmark/InsertPriorityQueue.php \ZendBench\Stdlib\InsertPriorityQueue::insertSplPriorityQueue()

@iterations 5000

File

vendor/zendframework/zend-stdlib/benchmark/InsertPriorityQueue.php, line 29

Class

InsertPriorityQueue

Namespace

ZendBench\Stdlib

Code

public function insertSplPriorityQueue() {
  $this->splPriorityQueue
    ->insert('foo', rand(1, 100));
}