You are here

public function MarkdownBenchmark::clearResult in Markdown 3.0.x

Removes the result from the benchmark.

This is primarily only useful when there are a bunch of benchmarks being grouped together and only the last one needs to retrain the result.

Return value

static

See also

\Drupal\markdown\MarkdownBenchmarkAverages::iterate()

File

src/MarkdownBenchmark.php, line 168

Class

MarkdownBenchmark
Class MarkdownBenchmark.

Namespace

Drupal\markdown

Code

public function clearResult() {
  $this->result = NULL;
  return $this;
}