| Summary: | Adopt RobinHoodHashMap / RobinHoodHashSet more broadly in WebCore | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||||
| Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | alecflett, beidson, benjamin, calvaris, changseok, cmarcelo, dino, eric.carlson, esprehn+autocc, ews-watchlist, fmalita, ggaren, glenn, gyuyoung.kim, hi, hta, japhet, jer.noble, joepeck, jsbell, kangil.han, kondapallykalyan, mifenton, mkwst, mmaxfield, pangle, pdr, philipj, sabouhallawa, schenney, sergio, tommyw, webkit-bug-importer, ysuzuki | ||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Chris Dumez
2022-04-20 16:34:02 PDT
Created attachment 458021 [details]
Patch
Interesting. Some of audio tests are failing because of (probably) hashtable ordering. Either or both of, 1. Our implementation is relying on HashTable ordering, which is undefined. 2. The test result is relying on HashTable ordering, which is undefined. (In reply to Yusuke Suzuki from comment #2) > Interesting. Some of audio tests are failing because of (probably) hashtable > ordering. Either or both of, > > 1. Our implementation is relying on HashTable ordering, which is undefined. > 2. The test result is relying on HashTable ordering, which is undefined. I'll fix it tomorrow, shouldn't be difficult. I am waiting on perf A/B results anyway. (In reply to Chris Dumez from comment #3) > (In reply to Yusuke Suzuki from comment #2) > > Interesting. Some of audio tests are failing because of (probably) hashtable > > ordering. Either or both of, > > > > 1. Our implementation is relying on HashTable ordering, which is undefined. > > 2. The test result is relying on HashTable ordering, which is undefined. > > I'll fix it tomorrow, shouldn't be difficult. I am waiting on perf A/B > results anyway. Nice Created attachment 458037 [details]
Patch
Created attachment 458066 [details]
Patch
Created attachment 458067 [details]
Patch
Created attachment 458081 [details]
Patch
Comment on attachment 458081 [details]
Patch
r=me
Comment on attachment 458081 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=458081&action=review > Source/WebCore/ChangeLog:15 > + This is perf-neutral on all our benchmarks according to A/B testing. Does memory use go down? Committed r293195 (249870@main): <https://commits.webkit.org/249870@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458081 [details]. (In reply to Geoffrey Garen from comment #10) > Comment on attachment 458081 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=458081&action=review > > > Source/WebCore/ChangeLog:15 > > + This is perf-neutral on all our benchmarks according to A/B testing. > > Does memory use go down? I didn't check PLUM on iOS (I can look at the bot now that it landed). Sadly it didn't move the needle on Membuster on macOS according to A/B testing, I was hoping it would. |