Spurred by bug 1939344 (and bug 1941140) and undeterred by bug 1942561 I am now profiling the following for all HTML Input Elements: - Creating a page full of input elements and comparing it to Chrome - Reloading a page full of input elements for all possible input element types | **** | **** | **Nightly** | **** | **Chrome** | **** | **** | **** | |----------------|--------------------|------------------------------------|-----------------|------------------------------------|-----------------|--------------------------------------------------------|--------------------------------------------------| | Input element | Number of elements | Profile of generating the elements | Time taken (ms) | Profile of generating the elements | Time taken (ms) | Comment | Nightly- Perf of reloading a generated page | | Button | 450,000 | https://share.firefox.dev/3CndhyX | 2200 | https://share.firefox.dev/4apI0Il | 4700 | Nightly is faster | https://share.firefox.dev/3E1OQHE | | Color | 150,000 | https://share.firefox.dev/3WysMLd | 1500 | https://share.firefox.dev/3WuTbtc | 3800 | Nightly is faster | https://share.firefox.dev/3Cj4RIM | | File | 150,000 | https://share.firefox.dev/3EgARhc | 5200 | https://share.firefox.dev/4huanHH | 8600 | Nightly is faster | https://share.firefox.dev/4jrUGlV | | Hidden | 1,500,000 | https://share.firefox.dev/4h8QYMG | 4100 | https://share.firefox.dev/40JmFpU | 7800 | Nightly is faster | https://share.firefox.dev/3WuIVRM | | Image | 250,000 | https://share.firefox.dev/4arizWA | 8000 | https://share.firefox.dev/3PO5Qnm | 18000 | Nightly is faster | https://share.firefox.dev/4g9IJOQ | | Number | 50,000 | https://share.firefox.dev/4jupimI | 2700 | https://share.firefox.dev/3E9FvOb | 1900 | Nightly is slower | https://share.firefox.dev/42piYa1 | | Password | 150,000 | https://share.firefox.dev/4h54SPQ | 18000 | https://share.firefox.dev/4hs0udu | 2900 | Nightly is very slow | https://share.firefox.dev/4aviEc8 | | Range | 150,000 | https://share.firefox.dev/4aslDC2 | 4300 | https://share.firefox.dev/3Cgic4L | 5800 | Nightly is faster | https://share.firefox.dev/42mGkgu | | Reset button | 400,000 | https://share.firefox.dev/4hsBDGe | 3600 | https://share.firefox.dev/4jvaxQD | 7600 | Nightly is faster | https://share.firefox.dev/4ap8r0J | | Search | 150,000 | https://share.firefox.dev/4jtrNpn | 13000 | https://share.firefox.dev/3PN5ZYn | 11000 | Nightly is slower | https://share.firefox.dev/4h5jbUj | | Submit | 450,000 | https://share.firefox.dev/3E6uywS | 7800 | https://share.firefox.dev/3E7Ge2j | 10000 | Nightly is faster | https://share.firefox.dev/3WS3vvV | | Text | 150,000 | https://share.firefox.dev/3ClhJ16 | 10000 | https://share.firefox.dev/3WuWxwl | 6000 | Nightly is slower | https://share.firefox.dev/4apL1ID | | URL | 150,000 | https://share.firefox.dev/3PJS0m2 | 11000 | https://share.firefox.dev/4aqzWaf | 6000 | Nightly is slower | https://share.firefox.dev/3WuHsLp | | Email | 150,000 | https://share.firefox.dev/4jpiGGp | 12000 | https://share.firefox.dev/3E6NjjK | 5700 | Nightly is slower | https://share.firefox.dev/4jwdhgT | | Tel | 150,000 | https://share.firefox.dev/3E3NL29 | 13000 | https://share.firefox.dev/3Wt3qOV | 7400 | Nightly is slower | https://share.firefox.dev/3WtNgF5 | | Time | 15,000 | https://share.firefox.dev/3E3NQmt | 18000 | https://share.firefox.dev/4jwdXmr | 1800 | Nightly is way slower and uses way more memory (2.4GB) | https://share.firefox.dev/3EgUWnz | | Week | 50,000 | https://share.firefox.dev/4ga34nn | 1800 | https://share.firefox.dev/4jtuRln | 5100 | Nightly doesn’t seem to support this input type? | https://share.firefox.dev/4hnkQV6 | | Month | 50,000 | https://share.firefox.dev/3ClLGhs | 2200 | https://share.firefox.dev/40N0IGI | 7800 | Nightly is faster | https://share.firefox.dev/4hi6aqw | | Date | 15,000 | https://share.firefox.dev/40HnHCR | 18000 | https://share.firefox.dev/42rDMxI | 1700 | Nightly is way slower and uses way more memory (4GB) | N/A- the page regenerates the elements on reload | | Datetime-Local | 15,000 | https://share.firefox.dev/4apWHLn | 21000 | https://share.firefox.dev/4avBzTX | 3200 | Nightly is way slower and uses way more memory (4GB) | N/A- the page regenerates the elements on reload | Emilio showed some initial interest in looking at profiles and suggested that a comparison with Chrome would be useful. Note that the comparison between Firefox and Chrome is only for generating the page. The "Reload" perf has not been compared - the idea being that for reload any extra work should be avoided regardless of perf difference. cc emilio and dholbert.
Bug 1943230 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Spurred by bug 1939344 (and bug 1941140) and undeterred by bug 1942561 I am now profiling the following for all HTML Input Elements: - Creating a page full of input elements and comparing it to Chrome - Reloading a page full of input elements for all possible input element types | **** | **** | **Nightly** | **** | **Chrome** | **** | **** | **** | |----------------|--------------------|------------------------------------|-----------------|------------------------------------|-----------------|--------------------------------------------------------|--------------------------------------------------| | Input element | Number of elements | Profile of generating the elements | Time taken (ms) | Profile of generating the elements | Time taken (ms) | Comment | Nightly- Perf of reloading a generated page | | Button | 450,000 | https://share.firefox.dev/3CndhyX | 2200 | https://share.firefox.dev/4apI0Il | 4700 | Nightly is faster | https://share.firefox.dev/3E1OQHE | | Color | 150,000 | https://share.firefox.dev/3WysMLd | 1500 | https://share.firefox.dev/3WuTbtc | 3800 | Nightly is faster | https://share.firefox.dev/3Cj4RIM | | File | 150,000 | https://share.firefox.dev/3EgARhc | 5200 | https://share.firefox.dev/4huanHH | 8600 | Nightly is faster | https://share.firefox.dev/4jrUGlV | | Hidden | 1,500,000 | https://share.firefox.dev/4h8QYMG | 4100 | https://share.firefox.dev/40JmFpU | 7800 | Nightly is faster | https://share.firefox.dev/3WuIVRM | | Image | 250,000 | https://share.firefox.dev/4arizWA | 8000 | https://share.firefox.dev/3PO5Qnm | 18000 | Nightly is faster | https://share.firefox.dev/4g9IJOQ | | Number | 50,000 | https://share.firefox.dev/4jupimI | 2700 | https://share.firefox.dev/3E9FvOb | 1900 | Nightly is slower | https://share.firefox.dev/42piYa1 | | Password | 150,000 | https://share.firefox.dev/4h54SPQ | 18000 | https://share.firefox.dev/4hs0udu | 2900 | Nightly is very slow | https://share.firefox.dev/4aviEc8 | | Range | 150,000 | https://share.firefox.dev/4aslDC2 | 4300 | https://share.firefox.dev/3Cgic4L | 5800 | Nightly is faster | https://share.firefox.dev/42mGkgu | | Reset button | 400,000 | https://share.firefox.dev/4hsBDGe | 3600 | https://share.firefox.dev/4jvaxQD | 7600 | Nightly is faster | https://share.firefox.dev/4ap8r0J | | Search | 150,000 | https://share.firefox.dev/4jtrNpn | 13000 | https://share.firefox.dev/3PN5ZYn | 11000 | Nightly is slower | https://share.firefox.dev/4h5jbUj | | Submit | 450,000 | https://share.firefox.dev/3E6uywS | 7800 | https://share.firefox.dev/3E7Ge2j | 10000 | Nightly is faster | https://share.firefox.dev/3WS3vvV | | Text | 150,000 | https://share.firefox.dev/3ClhJ16 | 10000 | https://share.firefox.dev/3WuWxwl | 6000 | Nightly is slower | https://share.firefox.dev/4apL1ID | | URL | 150,000 | https://share.firefox.dev/3PJS0m2 | 11000 | https://share.firefox.dev/4aqzWaf | 6000 | Nightly is slower | https://share.firefox.dev/3WuHsLp | | Email | 150,000 | https://share.firefox.dev/4jpiGGp | 12000 | https://share.firefox.dev/3E6NjjK | 5700 | Nightly is slower | https://share.firefox.dev/4jwdhgT | | Tel | 150,000 | https://share.firefox.dev/3E3NL29 | 13000 | https://share.firefox.dev/3Wt3qOV | 7400 | Nightly is slower | https://share.firefox.dev/3WtNgF5 | | Time | 15,000 | https://share.firefox.dev/3E3NQmt | 18000 | https://share.firefox.dev/4jwdXmr | 1800 | Nightly is way slower and uses way more memory (2.4GB) | https://share.firefox.dev/3EgUWnz | | Week | 50,000 | https://share.firefox.dev/4ga34nn | 1800 | https://share.firefox.dev/4jtuRln | 5100 | Nightly doesn’t seem to support this input type? | https://share.firefox.dev/4hnkQV6 | | Month | 50,000 | https://share.firefox.dev/3ClLGhs | 2200 | https://share.firefox.dev/40N0IGI | 7800 | Nightly is faster | https://share.firefox.dev/4hi6aqw | | Date | 15,000 | https://share.firefox.dev/40HnHCR | 18000 | https://share.firefox.dev/42rDMxI | 1700 | Nightly is way slower and uses way more memory (4GB) | N/A- the page regenerates the elements on reload | | Datetime-Local | 15,000 | https://share.firefox.dev/4apWHLn | 21000 | https://share.firefox.dev/4avBzTX | 3200 | Nightly is way slower and uses way more memory (4GB) | N/A- the page regenerates the elements on reload | Emilio had found something worth fixing in the image loading testcase, showed some initial interest in looking at profiles and suggested that a comparison with Chrome would be useful. Note that the comparison between Firefox and Chrome is only for generating the page. The "Reload" perf has not been compared - the idea being that for reload any extra work should be avoided regardless of perf difference. All testcases were geenrated by chatpgpt, with only minor edits to remove extra styling. cc emilio and dholbert.