[Webkit-unassigned] [Bug 249347] New: Poor Performance in EventDispatching Performance Tests (few)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 14 16:02:07 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=249347
Bug ID: 249347
Summary: Poor Performance in EventDispatching Performance Tests
(few)
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
Hi Team,
I came across another Blink commit, which mentioned some performance benchmarks and here are Safari performance:
Benchmark - EventsDispatching - JSFiddle - https://jsfiddle.net/kyupf7ga/show
*** Safari Technology Preview 160 *** (Safari 16.2 is slower)
Time:
values 748.5380116959064, 746.7911318553096, 741.7218543046357, 744.6808510638293, 741.7218543046357, 745.6724367509987, 742.705570291778, 745.6724367509996, 744.6808510638289, 741.7218543046375, 739.7622192866596, 741.7218543046375, 740.7407407407408, 741.7218543046375, 742.7055702917772, 744.6808510638298, 744.6808510638316, 741.721854304634, 735.8738501971126, 737.812911725957 runs/s
avg 742.766470483519 runs/s
median 742.2137122982074 runs/s
stdev 3.0156355662484673 runs/s
min 735.8738501971126 runs/s
max 748.5380116959064 runs/s
*** Chrome Canary 110 ***
Time:
values 1874.7558911745534, 2261.3388153538367, 2012.072434618957, 2080.8947847614786, 2284.2310188189485, 1844.4985269735437, 2284.824094517473, 1991.7838914366937, 2097.260453516187, 2290.771833927928, 1878.6692759660723, 1777.9972836185325, 1744.8200654685565, 2289.5798100378793, 1795.2873706487032, 1793.051923808601, 2002.503128911139, 1807.092839397665, 2288.9842632376262, 2288.9842632154464 runs/s
avg 2034.470098470491 runs/s
median 2007.2877817650478 runs/s
stdev 211.39085200525224 runs/s
min 1744.8200654685565 runs/s
max 2290.771833927928 runs/s
*** Firefox Nightly 110 ***
Time:
values 1366.622864651774, 1387.8562577447335, 1370.223978919631, 1377.4834437086092, 1396.508728179551, 1391.304347826087, 1393.0348258706467, 1393.0348258706467, 1393.0348258706467, 1391.304347826087, 1400, 1391.304347826087, 1398.2521847690386, 1382.9787234042553, 1382.9787234042553, 1386.6666666666667, 1393.0348258706467, 1386.1386138613861, 1393.0348258706467, 1393.0348258706467 runs/s
avg 1388.391609200602 runs/s
median 1391.304347826087 runs/s
stdev 8.713413730850801 runs/s
min 1366.622864651774 runs/s
max 1400 runs/s
________
Benchmark 2 - EventsDispatchingDifferentEventsOnSameNode.html - https://jsfiddle.net/p31o24vn/show
*** Safari Technology Preview 160 ****
Time:
values 437.42405832320776, 435.83535108958864, 437.42405832320804, 436.36363636363683, 439.02439024390145, 437.42405832320827, 438.4896467722295, 437.9562043795625, 437.42405832320827, 439.56043956044056, 439.0243902439005, 438.48964677222995, 439.02439024390145, 436.89320388349324, 437.4240583232087, 439.56043956044056, 438.48964677222995, 437.42405832320776, 437.4240583232058, 439.0243902439024 runs/s
avg 437.9852092195957 runs/s
median 437.6901313513856 runs/s
stdev 1.0436423952183724 runs/s
min 435.83535108958864 runs/s
max 439.56043956044056 runs/s
*** Firefox Nightly 110 ***
Time:
values 577.4278215223097, 580.4749340369393, 573.6636245110822, 575.1633986928105, 576.6710353866317, 577.4278215223097, 577.4278215223097, 572.9166666666666, 576.6710353866317, 577.4278215223097, 576.6710353866317, 577.4278215223097, 577.4278215223097, 576.6710353866317, 576.6710353866317, 578.9473684210526, 578.1865965834428, 575.1633986928105, 578.9473684210526, 576.6710353866317 runs/s
avg 576.9028248739753 runs/s
median 577.0494284544707 runs/s
stdev 1.734745856000178 runs/s
min 572.9166666666666 runs/s
max 580.4749340369393 runs/s
*** Chrome Canary 110 ***
Time:
values 621.439668566709, 626.5500587317559, 621.600621592225, 683.3435021416611, 685.938265551092, 684.4292349096305, 691.6996047418099, 683.9276990743017, 708.3227928075729, 616.016427108257, 702.1063189424418, 615.5424467776973, 614.6753745748439, 616.5703275470856, 699.3880354663615, 614.9903907575322, 611.8546845124283, 705.3785111554434, 614.2820578284939, 706.2681296519768 runs/s
avg 656.2162076219661 runs/s
median 654.9467804367085 runs/s
stdev 40.607701169950865 runs/s
min 611.8546845124283 runs/s
max 708.3227928075729 runs/s
___________
Benchmark - EventsDispatchingInV1ShadowTrees.html - https://jsfiddle.net/z1oq3yj7/show
*** Safari Technology Preview 160 ****
Time:
values 331556.6625155663, 325941.644562335, 326808.51063829946, 330732.91925465537, 329504.95049504953, 329504.95049504953, 328286.06658446364, 329913.25898389093, 329504.950495048, 329913.25898389093, 330322.5806451613, 331556.66251556814, 332800, 331970.07481296756, 330732.91925466136, 332384.5193508115, 331970.0748129706, 332384.5193508115, 331144.27860696666, 332384.5193508115 runs/s
avg 330465.86608544894 runs/s
median 330732.9192546584 runs/s
stdev 1863.7458517240389 runs/s
min 325941.644562335 runs/s
max 332800 runs/s
*** Chrome Canary 110 ***
Time:
values 57933.11541319423, 59992.18851758571, 61178.96972951871, 60663.50710948076, 61947.973380613315, 61805.890874085104, 59929.76980054987, 60329.929301099495, 63209.87654320987, 61041.19751032686, 61141.62885077092, 63264.54960926044, 62143.46401217332, 62370.5688873532, 62075.65470495575, 63374.17997347024, 61195.219122900475, 62196.307094041105, 63108.59114907887, 61686.746987398066 runs/s
avg 61529.46642855332 runs/s
median 61746.31893074159 runs/s
stdev 1347.566946518221 runs/s
min 57933.11541319423 runs/s
max 63374.17997347024 runs/s
*** Firefox Nightly 110 ***
Time:
values 95446.07190412784, 95573.33333333333, 95880.14981273409, 95760.59850374065, 95319.14893617021, 95446.07190412784, 95880.14981273409, 95319.14893617021, 95573.33333333333, 95522.3880597015, 95760.59850374065, 95760.59850374065, 95880.14981273409, 95446.07190412784, 95760.59850374065, 96240.6015037594, 96482.4120603015, 95880.14981273409, 96240.6015037594, 95760.59850374065 runs/s
avg 95746.63875742759 runs/s
median 95760.59850374065 runs/s
stdev 311.91346917709143 runs/s
min 95319.14893617021 runs/s
max 96482.4120603015 runs/s
_________
Benchmark - EventsDispatchingInDeeplyNestedV1ShadowTrees.html - https://jsfiddle.net/6pum8ze5/show
*** Safari Technology Preview 160 ***
Time:
values 767041.1985018725, 767999.9999999995, 765130.7596513089, 760530.5039787799, 767041.1985018735, 768000.0000000009, 771859.2964824156, 765130.7596513102, 776738.3059418475, 775757.5757575758, 774779.3190416123, 776738.3059418421, 774779.3190416159, 777721.5189873454, 775757.5757575722, 770890.8406524467, 774779.3190416141, 772830.1886792382, 772830.18867924, 772830.1886792453 runs/s
avg 771458.3181484377 runs/s
median 772830.188679239 runs/s
stdev 4777.151963067498 runs/s
min 760530.5039787799 runs/s
max 777721.5189873454 runs/s
*** Firefox Nightly 110 ***
Time:
values 20645.16129032258, 20670.80745341615, 20696.51741293532, 20774.032459425718, 20619.578686493183, 20722.291407222914, 20696.51741293532, 20568.603213844253, 20645.16129032258, 20543.20987654321, 20722.291407222914, 20131.061598951506, 20568.603213844253, 20000, 20748.129675810473, 20619.578686493183, 20722.291407222914, 20619.578686493183, 20696.51741293532, 20619.578686493183 runs/s
avg 20601.475563946406 runs/s
median 20645.16129032258 runs/s
stdev 194.76362028161194 runs/s
min 20000 runs/s
max 20774.032459425718 runs/s
*** Chrome Canary 110 ***
Time:
values 31299.669886351192, 31411.04294507243, 31671.409129806318, 31824.962705180784, 32044.06058336181, 32020.012508115782, 32080.200501253134, 33363.7429953708, 33285.658562213495, 33328.993620880945, 33420.36553589818, 33195.02074708039, 33424.72907664287, 33268.35607537362, 33468.427245456754, 33416.00313236032, 33186.41431170528, 33109.15675167446, 33225.17845586962, 33139.15857605178 runs/s
avg 32759.128167285995 runs/s
median 33190.71752939283 runs/s
stdev 775.280275172433 runs/s
min 31299.669886351192 runs/s
max 33468.427245456754 runs/s
__________________
Blink Commit - https://chromium.googlesource.com/chromium/blink/+/07b5cd00e50c589213567a07b441de0bb4a5743b
^ Note - despite higher numbers on few benchmarks by Safari, the actual run is slower and take times to run through the benchmark.
Just wanted to raise this bug so slower ones can be tackled and more performance can be squeezed.
Thanks!
--
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/20221215/fc89f3af/attachment-0001.htm>
More information about the webkit-unassigned
mailing list