Bug with Resizing ImageBitmap causes slower than expected performance (version: 0)
There is currently a bug on Chrome Version 74.0.3729.131 (Official Build) (64-bit) (5/12/2019) with ImageBitmap where attempting to resize an ImageBitmap through ImageBitmapOptions will causes the resulting ImageBitmap to render very poorly when used with drawImage, even if the resulting ImageBitmap is resized to be smaller than the source image.
Comparing performance of: Image vs ImageBitmap/Offscreen vs ImageBitmap/Offscreen Resized
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
Image
ImageBitmap/Offscreen
ImageBitmap/Offscreen Resized
Fastest:N/A
Slowest:N/A
Latest run results:
Run details: (Test run date:
2 months ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Mobile/15E148 Safari/604.1