Bug 306761
| Summary: | Web Inspector: uniqueOrderedStyles could be optimized | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anuj Panta <a_panta> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Anuj Panta
I noticed DOMNodeStyles.uniqueOrderedStyles() is using nested loops to dedupe CSS rules, which could get pretty slow on modern sites with lots of matching styles
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/169436468>
Anuj Panta
Pull request: https://github.com/WebKit/WebKit/pull/57687
EWS
Committed 306687@main (6285cc0dc923): <https://commits.webkit.org/306687@main>
Reviewed commits have been landed. Closing PR #57687 and removing active labels.