From 9ce22e49cf1110d0a8c1943877dc32e6568354cc Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 11 Feb 2025 10:31:57 +0200 Subject: chore(deps): upgrade prettier reformat all code with the new prettier version --- benchmark/benchmark.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmark') diff --git a/benchmark/benchmark.ts b/benchmark/benchmark.ts index b99aa06..51c43b4 100644 --- a/benchmark/benchmark.ts +++ b/benchmark/benchmark.ts @@ -78,7 +78,7 @@ export function createBenchmark(benchmarkName: string): Benchmark { // As a sanity if duration_ms is 0 just double the count. profile.iterationCount << 1, // Otherwise try to guess how many iterations we have to do to get the right time. - Math.round((MIN_SAMPLE_DURATION / durationMs) * profile.iterationCount) + Math.round((MIN_SAMPLE_DURATION / durationMs) * profile.iterationCount), ); profile.noImprovementCount = 0; runAgain = true; @@ -120,7 +120,7 @@ export function createBenchmark(benchmarkName: string): Benchmark { const percent = (100 - (profile.bestTime / fastest.bestTime) * 100).toFixed(0); return ' ' + profile.profileName + ': ' + time + ' ' + unit + '(' + percent + '%)'; }) - .join('\n')}` + .join('\n')}`, ); }; return benchmark; -- cgit v1.2.3