Using $( '<div attr="val">' ) is many times slower than $( '<div>' ).attr( 'attr', 'val' ) according to https://jsperf.com/parse-html-vs-set-attributes-vs-jq-options
Description
Details
Related Objects
Event Timeline
Change 412681 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/Cite@master] Avoid jQuery.parseHTML
Change 412700 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Avoid jQuery.parseHTML
Change 412724 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Avoid jQuery.parseHTML
Change 412681 merged by jenkins-bot:
[mediawiki/extensions/Cite@master] Avoid jQuery.parseHTML
Change 412724 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Avoid jQuery.parseHTML
Change 412700 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Avoid jQuery.parseHTML
Change 412958 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (8c5b27028)
Change 412958 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (8c5b27028)