Home
last modified time | relevance | path

Searched refs:baseInstructions (Results 1 – 1 of 1) sorted by relevance

/php-src/benchmark/
H A Dgenerate_diff.php32 $baseInstructions = $baseSummary[$name]['instructions'] ?? null;
35 . formatInstructions($baseInstructions) . " | "
37 . formatDiff($baseInstructions, $headInstructions) . " |\n";
55 function formatDiff(?int $baseInstructions, int $headInstructions): string { argument
56 if ($baseInstructions === null) {
59 $instructionDiff = $headInstructions - $baseInstructions;
60 return sprintf('%.2f%%', $instructionDiff / $baseInstructions * 100);

Completed in 4 milliseconds