public static function MarkdownBenchmarkAverages::create in Markdown 3.0.x
Creates a new MarkdownBenchmarkAverages object.
Parameters
int $iteration_count: The amount of of loop iterations used to average the results of each MarkdownParser benchmark.
\Drupal\markdown\MarkdownBenchmark $fallback: A fallback benchmark to use if/when there are no benchmarks available.
Return value
static
File
- src/
MarkdownBenchmarkAverages.php, line 72
Class
- MarkdownBenchmarkAverages
- Class MarkdownBenchmarkAverages.
Namespace
Drupal\markdownCode
public static function create($iteration_count = 10, MarkdownBenchmark $fallback = NULL) {
return new static($iteration_count, $fallback);
}