[Webkit-unassigned] [Bug 262097] New: REGRESSION (iOS 17): 100x performance degradation of Range.setStart() after repeating DOM operation.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 25 22:19:44 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=262097
Bug ID: 262097
Summary: REGRESSION (iOS 17): 100x performance degradation of
Range.setStart() after repeating DOM operation.
Product: WebKit
Version: Safari 17
Hardware: iPhone / iPad
OS: iOS 17
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: baba at bpsinc.jp
Created attachment 467868
--> https://bugs.webkit.org/attachment.cgi?id=467868&action=review
testcase
# Steps to reproduce
1. Open attached sample.html
2. Wait tens of seconds.
# Expected behavior
The processing time shown in "h1" tag is stable, about 20-100ms.
# Actual behavior
On iOS 17 Safari, the processing time is going to be about 10-100 times slower (about 1000-5000ms), after about 20 seconds.
The performance is good in first few seconds.
# Note
The sample repeats creating a range, modifying the DOM and revert them many times.
According to the inspector, "Range.setStart()" in "releaseRange()" takes long time.
The issue does not occur on iOS 16.2 and Safari Technology Preview 17.0 on macOS.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230926/5b8e0b13/attachment.htm>
More information about the webkit-unassigned
mailing list