Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b18005ca314c40618f99efbc0dc50d8e2caa99f1
      
https://github.com/WebKit/WebKit/commit/b18005ca314c40618f99efbc0dc50d8e2caa99f1
  Author: Gerald Squelart <g_squel...@apple.com>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M LayoutTests/fast/canvas/hdr/float16-canvas-imagedata-expected.txt
    M LayoutTests/fast/canvas/hdr/float16-canvas-imagedata.html
    M LayoutTests/fast/canvas/imagedata-storageformat-enabled-expected.txt
    M LayoutTests/fast/canvas/imagedata-storageformat-enabled.html
    M LayoutTests/platform/mac-wk2/TestExpectations

  Log Message:
  -----------
  Make float16 ImageData tests run faster
https://bugs.webkit.org/show_bug.cgi?id=297649
rdar://158709235

Reviewed by Mike Wyrzykowski.

These two tests ran thousands of iterations, each creating tiny
ImageData objects, and comparing all values using string evaluations,
these could take tens of seconds, going past the timeout deadline in
debug builds.

Optimized by only using a few big ImageData objects, and pre-computing
comparisons (with few string evaluations).

* LayoutTests/fast/canvas/hdr/float16-canvas-imagedata-expected.txt:
* LayoutTests/fast/canvas/hdr/float16-canvas-imagedata.html:
* LayoutTests/fast/canvas/imagedata-storageformat-enabled-expected.txt:
* LayoutTests/fast/canvas/imagedata-storageformat-enabled.html:
* LayoutTests/platform/mac-wk2/TestExpectations:

Canonical link: https://commits.webkit.org/298986@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to