You are here

public function InsertPriorityQueue::insertPriorityQueue in Zircon Profile 8

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

@iterations 5000

File

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

Class

InsertPriorityQueue

Namespace

ZendBench\Stdlib

Code

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