You are here

public function MarkdownParserBenchmarkInterface::benchmarkRender in Markdown 3.0.x

Performs the "rendered" benchmark.

Parameters

string $markdown: The markdown string to benchmark.

string $format: A specific filter format identifier to use. If provided, the "rendered" benchmark will be that of check_markup(). If not, it will be that of the MarkdownParser's render() method.

Return value

\Drupal\markdown\MarkdownBenchmark A MarkdownBenchmark object.

File

src/Plugin/Markdown/MarkdownParserBenchmarkInterface.php, line 70

Class

MarkdownParserBenchmarkInterface
Interface MarkdownInterface.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function benchmarkRender($markdown, $format = NULL);