Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/xml/test_deps.ts>runBenchmarks

๐Ÿ“‘ A XML parser/stringifier for Deno written in typescript and with no dependencies
Very Popular
Go to Latest
function runBenchmarks
import { runBenchmarks } from "https://deno.land/x/xml@2.1.1/test_deps.ts";

Runs all registered and non-skipped benchmarks serially.

Parameters

optional
unnamed 0: BenchmarkRunOptions = [UNSUPPORTED]

provides the possibility to get updates of the current progress during the run of the benchmarking

optional
progressCb: (progress: BenchmarkRunProgress) => void | Promise<void>

Returns

Promise<BenchmarkRunResult>

results of the benchmarking