From 5421fc07982aa10e1f37fd752f7fab16d4f620d5 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Tue, 6 Feb 2024 15:44:36 +0100 Subject: [PATCH] Update call --- custom-testing/measuring-performances/performance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-testing/measuring-performances/performance.ts b/custom-testing/measuring-performances/performance.ts index da065b5..64bb3ef 100755 --- a/custom-testing/measuring-performances/performance.ts +++ b/custom-testing/measuring-performances/performance.ts @@ -87,7 +87,7 @@ Scraper.with(async (scraper) => { // seen between R66 and R69: they both need the expensive background color // computation which is cached and therefore only "charged" on one of them… const startCascade = commonPerformance.mark("cascade").start; - Cascade.of(document, device); + Cascade.from(document, device); commonPerformance.measure("cascade", startCascade); const startAria = commonPerformance.mark("aria-tree").start;