mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-17 19:19:47 +00:00
Add rotate user timing
This commit is contained in:
@@ -28,7 +28,11 @@ async function rotate(
|
||||
'../rotate/processor',
|
||||
);
|
||||
|
||||
return rotate(data, opts);
|
||||
performance.mark('rotate-start');
|
||||
const r = rotate(data, opts);
|
||||
performance.mark('rotate-end');
|
||||
performance.measure('rotate', 'rotate-start', 'rotate-end');
|
||||
return r;
|
||||
}
|
||||
|
||||
async function optiPngEncode(
|
||||
|
||||
Reference in New Issue
Block a user