Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
<li> getAttribute('data-id') vs <data> value vs cache
(version: 0)
Comparing performance of:
attr vs val vs weakmap
Created:
6 years ago
by:
Registered User
Jump to the latest result
HTML Preparation code:
<ul class="general-tag-list"><li class="category-0" data-id="1girl"><a class="wiki-link" href="/wiki_pages/show_or_new?title=1girl">?</a> <a class="search-tag" href="/posts?tags=1girl">1girl</a> <span class="post-count" title="2554200">2554k</span></li><li class="category-0" data-id="2019"><a class="wiki-link" href="/wiki_pages/show_or_new?title=2019">?</a> <a class="search-tag" href="/posts?tags=2019">2019</a> <span class="post-count" title="1485">1.5k</span></li><li class="category-0" data-id="animal ears"><a class="wiki-link" href="/wiki_pages/show_or_new?title=animal_ears">?</a> <a class="search-tag" href="/posts?tags=animal_ears">animal ears</a> <span class="post-count" title="345966">345k</span></li><li class="category-0" data-id="bangs"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bangs">?</a> <a class="search-tag" href="/posts?tags=bangs">bangs</a> <span class="post-count" title="490940">490k</span></li><li class="category-0" data-id="bare shoulders"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bare_shoulders">?</a> <a class="search-tag" href="/posts?tags=bare_shoulders">bare shoulders</a> <span class="post-count" title="319677">319k</span></li><li class="category-0" data-id="bikini"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bikini">?</a> <a class="search-tag" href="/posts?tags=bikini">bikini</a> <span class="post-count" title="170578">170k</span></li><li class="category-0" data-id="black bikini"><a class="wiki-link" href="/wiki_pages/show_or_new?title=black_bikini">?</a> <a class="search-tag" href="/posts?tags=black_bikini">black bikini</a> <span class="post-count" title="23040">23k</span></li><li class="category-0" data-id="blush"><a class="wiki-link" href="/wiki_pages/show_or_new?title=blush">?</a> <a class="search-tag" href="/posts?tags=blush">blush</a> <span class="post-count" title="1164760">1164k</span></li><li class="category-0" data-id="breasts"><a class="wiki-link" href="/wiki_pages/show_or_new?title=breasts">?</a> <a class="search-tag" href="/posts?tags=breasts">breasts</a> <span class="post-count" title="1224018">1224k</span></li><li class="category-0" data-id="brown eyes"><a class="wiki-link" href="/wiki_pages/show_or_new?title=brown_eyes">?</a> <a class="search-tag" href="/posts?tags=brown_eyes">brown eyes</a> <span class="post-count" title="422113">422k</span></li><li class="category-0" data-id="brown legwear"><a class="wiki-link" href="/wiki_pages/show_or_new?title=brown_legwear">?</a> <a class="search-tag" href="/posts?tags=brown_legwear">brown legwear</a> <span class="post-count" title="18266">18k</span></li><li class="category-0" data-id="bunny ears"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bunny_ears">?</a> <a class="search-tag" href="/posts?tags=bunny_ears">bunny ears</a> <span class="post-count" title="73654">73k</span></li><li class="category-0" data-id="carrot hair ornament"><a class="wiki-link" href="/wiki_pages/show_or_new?title=carrot_hair_ornament">?</a> <a class="search-tag" href="/posts?tags=carrot_hair_ornament">carrot hair ornament</a> <span class="post-count" title="323">323</span></li><li class="category-0" data-id="closed mouth"><a class="wiki-link" href="/wiki_pages/show_or_new?title=closed_mouth">?</a> <a class="search-tag" href="/posts?tags=closed_mouth">closed mouth</a> <span class="post-count" title="192684">192k</span></li><li class="category-0" data-id="collarbone"><a class="wiki-link" href="/wiki_pages/show_or_new?title=collarbone">?</a> <a class="search-tag" href="/posts?tags=collarbone">collarbone</a> <span class="post-count" title="233695">233k</span></li><li class="category-0" data-id="cover"><a class="wiki-link" href="/wiki_pages/show_or_new?title=cover">?</a> <a class="search-tag" href="/posts?tags=cover">cover</a> <span class="post-count" title="40686">40k</span></li><li class="category-0" data-id="cover page"><a class="wiki-link" href="/wiki_pages/show_or_new?title=cover_page">?</a> <a class="search-tag" href="/posts?tags=cover_page">cover page</a> <span class="post-count" title="28101">28k</span></li><li class="category-0" data-id="doujin cover"><a class="wiki-link" href="/wiki_pages/show_or_new?title=doujin_cover">?</a> <a class="search-tag" href="/posts?tags=doujin_cover">doujin cover</a> <span class="post-count" title="15602">15k</span></li><li class="category-0" data-id="eyebrows visible through hair"><a class="wiki-link" href="/wiki_pages/show_or_new?title=eyebrows_visible_through_hair">?</a> <a class="search-tag" href="/posts?tags=eyebrows_visible_through_hair">eyebrows visible through hair</a> <span class="post-count" title="368902">368k</span></li><li class="category-0" data-id="finger to mouth"><a class="wiki-link" href="/wiki_pages/show_or_new?title=finger_to_mouth">?</a> <a class="search-tag" href="/posts?tags=finger_to_mouth">finger to mouth</a> <span class="post-count" title="16659">16k</span></li><li class="category-0" data-id="food themed hair ornament"><a class="wiki-link" href="/wiki_pages/show_or_new?title=food_themed_hair_ornament">?</a> <a class="search-tag" href="/posts?tags=food_themed_hair_ornament">food themed hair ornament</a> <span class="post-count" title="3340">3.3k</span></li><li class="category-0" data-id="hair ornament"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hair_ornament">?</a> <a class="search-tag" href="/posts?tags=hair_ornament">hair ornament</a> <span class="post-count" title="497935">497k</span></li><li class="category-0" data-id="hood"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hood">?</a> <a class="search-tag" href="/posts?tags=hood">hood</a> <span class="post-count" title="78596">78k</span></li><li class="category-0" data-id="hood down"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hood_down">?</a> <a class="search-tag" href="/posts?tags=hood_down">hood down</a> <span class="post-count" title="15288">15k</span></li><li class="category-0" data-id="hooded jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hooded_jacket">?</a> <a class="search-tag" href="/posts?tags=hooded_jacket">hooded jacket</a> <span class="post-count" title="10996">10k</span></li><li class="category-0" data-id="jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=jacket">?</a> <a class="search-tag" href="/posts?tags=jacket">jacket</a> <span class="post-count" title="184758">184k</span></li><li class="category-0" data-id="leaning forward"><a class="wiki-link" href="/wiki_pages/show_or_new?title=leaning_forward">?</a> <a class="search-tag" href="/posts?tags=leaning_forward">leaning forward</a> <span class="post-count" title="41463">41k</span></li><li class="category-0" data-id="long hair"><a class="wiki-link" href="/wiki_pages/show_or_new?title=long_hair">?</a> <a class="search-tag" href="/posts?tags=long_hair">long hair</a> <span class="post-count" title="1758400">1758k</span></li><li class="category-0" data-id="long sleeves"><a class="wiki-link" href="/wiki_pages/show_or_new?title=long_sleeves">?</a> <a class="search-tag" href="/posts?tags=long_sleeves">long sleeves</a> <span class="post-count" title="379939">379k</span></li><li class="category-0" data-id="micro bikini"><a class="wiki-link" href="/wiki_pages/show_or_new?title=micro_bikini">?</a> <a class="search-tag" href="/posts?tags=micro_bikini">micro bikini</a> <span class="post-count" title="15073">15k</span></li><li class="category-0" data-id="navel"><a class="wiki-link" href="/wiki_pages/show_or_new?title=navel">?</a> <a class="search-tag" href="/posts?tags=navel">navel</a> <span class="post-count" title="408802">408k</span></li><li class="category-0" data-id="off shoulder"><a class="wiki-link" href="/wiki_pages/show_or_new?title=off_shoulder">?</a> <a class="search-tag" href="/posts?tags=off_shoulder">off shoulder</a> <span class="post-count" title="60823">60k</span></li><li class="category-0" data-id="open clothes"><a class="wiki-link" href="/wiki_pages/show_or_new?title=open_clothes">?</a> <a class="search-tag" href="/posts?tags=open_clothes">open clothes</a> <span class="post-count" title="134092">134k</span></li><li class="category-0" data-id="open jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=open_jacket">?</a> <a class="search-tag" href="/posts?tags=open_jacket">open jacket</a> <span class="post-count" title="35543">35k</span></li><li class="category-0" data-id="pink jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=pink_jacket">?</a> <a class="search-tag" href="/posts?tags=pink_jacket">pink jacket</a> <span class="post-count" title="2519">2.5k</span></li><li class="category-0" data-id="sidelocks"><a class="wiki-link" href="/wiki_pages/show_or_new?title=sidelocks">?</a> <a class="search-tag" href="/posts?tags=sidelocks">sidelocks</a> <span class="post-count" title="139222">139k</span></li><li class="category-0" data-id="skindentation"><a class="wiki-link" href="/wiki_pages/show_or_new?title=skindentation">?</a> <a class="search-tag" href="/posts?tags=skindentation">skindentation</a> <span class="post-count" title="32167">32k</span></li><li class="category-0" data-id="sleeves past wrists"><a class="wiki-link" href="/wiki_pages/show_or_new?title=sleeves_past_wrists">?</a> <a class="search-tag" href="/posts?tags=sleeves_past_wrists">sleeves past wrists</a> <span class="post-count" title="42584">42k</span></li><li class="category-0" data-id="small breasts"><a class="wiki-link" href="/wiki_pages/show_or_new?title=small_breasts">?</a> <a class="search-tag" href="/posts?tags=small_breasts">small breasts</a> <span class="post-count" title="169864">169k</span></li><li class="category-0" data-id="smile"><a class="wiki-link" href="/wiki_pages/show_or_new?title=smile">?</a> <a class="search-tag" href="/posts?tags=smile">smile</a> <span class="post-count" title="1068436">1068k</span></li><li class="category-0" data-id="snowflakes"><a class="wiki-link" href="/wiki_pages/show_or_new?title=snowflakes">?</a> <a class="search-tag" href="/posts?tags=snowflakes">snowflakes</a> <span class="post-count" title="6299">6.3k</span></li><li class="category-0" data-id="solo"><a class="wiki-link" href="/wiki_pages/show_or_new?title=solo">?</a> <a class="search-tag" href="/posts?tags=solo">solo</a> <span class="post-count" title="2113336">2113k</span></li><li class="category-0" data-id="swimsuit"><a class="wiki-link" href="/wiki_pages/show_or_new?title=swimsuit">?</a> <a class="search-tag" href="/posts?tags=swimsuit">swimsuit</a> <span class="post-count" title="244860">244k</span></li><li class="category-0" data-id="thighhighs"><a class="wiki-link" href="/wiki_pages/show_or_new?title=thighhighs">?</a> <a class="search-tag" href="/posts?tags=thighhighs">thighhighs</a> <span class="post-count" title="573940">573k</span></li><li class="category-0" data-id="twintails"><a class="wiki-link" href="/wiki_pages/show_or_new?title=twintails">?</a> <a class="search-tag" href="/posts?tags=twintails">twintails</a> <span class="post-count" title="401717">401k</span></li><li class="category-0" data-id="very long hair"><a class="wiki-link" href="/wiki_pages/show_or_new?title=very_long_hair">?</a> <a class="search-tag" href="/posts?tags=very_long_hair">very long hair</a> <span class="post-count" title="334169">334k</span></li></ul> <div class="general-tag-list"><data class="category-0" value="1girl"><a class="wiki-link" href="/wiki_pages/show_or_new?title=1girl">?</a> <a class="search-tag" href="/posts?tags=1girl">1girl</a> <span class="post-count" title="2554200">2554k</span></data><data class="category-0" value="2019"><a class="wiki-link" href="/wiki_pages/show_or_new?title=2019">?</a> <a class="search-tag" href="/posts?tags=2019">2019</a> <span class="post-count" title="1485">1.5k</span></data><data class="category-0" value="animal ears"><a class="wiki-link" href="/wiki_pages/show_or_new?title=animal_ears">?</a> <a class="search-tag" href="/posts?tags=animal_ears">animal ears</a> <span class="post-count" title="345966">345k</span></data><data class="category-0" value="bangs"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bangs">?</a> <a class="search-tag" href="/posts?tags=bangs">bangs</a> <span class="post-count" title="490940">490k</span></data><data class="category-0" value="bare shoulders"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bare_shoulders">?</a> <a class="search-tag" href="/posts?tags=bare_shoulders">bare shoulders</a> <span class="post-count" title="319677">319k</span></data><data class="category-0" value="bikini"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bikini">?</a> <a class="search-tag" href="/posts?tags=bikini">bikini</a> <span class="post-count" title="170578">170k</span></data><data class="category-0" value="black bikini"><a class="wiki-link" href="/wiki_pages/show_or_new?title=black_bikini">?</a> <a class="search-tag" href="/posts?tags=black_bikini">black bikini</a> <span class="post-count" title="23040">23k</span></data><data class="category-0" value="blush"><a class="wiki-link" href="/wiki_pages/show_or_new?title=blush">?</a> <a class="search-tag" href="/posts?tags=blush">blush</a> <span class="post-count" title="1164760">1164k</span></data><data class="category-0" value="breasts"><a class="wiki-link" href="/wiki_pages/show_or_new?title=breasts">?</a> <a class="search-tag" href="/posts?tags=breasts">breasts</a> <span class="post-count" title="1224018">1224k</span></data><data class="category-0" value="brown eyes"><a class="wiki-link" href="/wiki_pages/show_or_new?title=brown_eyes">?</a> <a class="search-tag" href="/posts?tags=brown_eyes">brown eyes</a> <span class="post-count" title="422113">422k</span></data><data class="category-0" value="brown legwear"><a class="wiki-link" href="/wiki_pages/show_or_new?title=brown_legwear">?</a> <a class="search-tag" href="/posts?tags=brown_legwear">brown legwear</a> <span class="post-count" title="18266">18k</span></data><data class="category-0" value="bunny ears"><a class="wiki-link" href="/wiki_pages/show_or_new?title=bunny_ears">?</a> <a class="search-tag" href="/posts?tags=bunny_ears">bunny ears</a> <span class="post-count" title="73654">73k</span></data><data class="category-0" value="carrot hair ornament"><a class="wiki-link" href="/wiki_pages/show_or_new?title=carrot_hair_ornament">?</a> <a class="search-tag" href="/posts?tags=carrot_hair_ornament">carrot hair ornament</a> <span class="post-count" title="323">323</span></data><data class="category-0" value="closed mouth"><a class="wiki-link" href="/wiki_pages/show_or_new?title=closed_mouth">?</a> <a class="search-tag" href="/posts?tags=closed_mouth">closed mouth</a> <span class="post-count" title="192684">192k</span></data><data class="category-0" value="collarbone"><a class="wiki-link" href="/wiki_pages/show_or_new?title=collarbone">?</a> <a class="search-tag" href="/posts?tags=collarbone">collarbone</a> <span class="post-count" title="233695">233k</span></data><data class="category-0" value="cover"><a class="wiki-link" href="/wiki_pages/show_or_new?title=cover">?</a> <a class="search-tag" href="/posts?tags=cover">cover</a> <span class="post-count" title="40686">40k</span></data><data class="category-0" value="cover page"><a class="wiki-link" href="/wiki_pages/show_or_new?title=cover_page">?</a> <a class="search-tag" href="/posts?tags=cover_page">cover page</a> <span class="post-count" title="28101">28k</span></data><data class="category-0" value="doujin cover"><a class="wiki-link" href="/wiki_pages/show_or_new?title=doujin_cover">?</a> <a class="search-tag" href="/posts?tags=doujin_cover">doujin cover</a> <span class="post-count" title="15602">15k</span></data><data class="category-0" value="eyebrows visible through hair"><a class="wiki-link" href="/wiki_pages/show_or_new?title=eyebrows_visible_through_hair">?</a> <a class="search-tag" href="/posts?tags=eyebrows_visible_through_hair">eyebrows visible through hair</a> <span class="post-count" title="368902">368k</span></data><data class="category-0" value="finger to mouth"><a class="wiki-link" href="/wiki_pages/show_or_new?title=finger_to_mouth">?</a> <a class="search-tag" href="/posts?tags=finger_to_mouth">finger to mouth</a> <span class="post-count" title="16659">16k</span></data><data class="category-0" value="food themed hair ornament"><a class="wiki-link" href="/wiki_pages/show_or_new?title=food_themed_hair_ornament">?</a> <a class="search-tag" href="/posts?tags=food_themed_hair_ornament">food themed hair ornament</a> <span class="post-count" title="3340">3.3k</span></data><data class="category-0" value="hair ornament"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hair_ornament">?</a> <a class="search-tag" href="/posts?tags=hair_ornament">hair ornament</a> <span class="post-count" title="497935">497k</span></data><data class="category-0" value="hood"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hood">?</a> <a class="search-tag" href="/posts?tags=hood">hood</a> <span class="post-count" title="78596">78k</span></data><data class="category-0" value="hood down"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hood_down">?</a> <a class="search-tag" href="/posts?tags=hood_down">hood down</a> <span class="post-count" title="15288">15k</span></data><data class="category-0" value="hooded jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=hooded_jacket">?</a> <a class="search-tag" href="/posts?tags=hooded_jacket">hooded jacket</a> <span class="post-count" title="10996">10k</span></data><data class="category-0" value="jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=jacket">?</a> <a class="search-tag" href="/posts?tags=jacket">jacket</a> <span class="post-count" title="184758">184k</span></data><data class="category-0" value="leaning forward"><a class="wiki-link" href="/wiki_pages/show_or_new?title=leaning_forward">?</a> <a class="search-tag" href="/posts?tags=leaning_forward">leaning forward</a> <span class="post-count" title="41463">41k</span></data><data class="category-0" value="long hair"><a class="wiki-link" href="/wiki_pages/show_or_new?title=long_hair">?</a> <a class="search-tag" href="/posts?tags=long_hair">long hair</a> <span class="post-count" title="1758400">1758k</span></data><data class="category-0" value="long sleeves"><a class="wiki-link" href="/wiki_pages/show_or_new?title=long_sleeves">?</a> <a class="search-tag" href="/posts?tags=long_sleeves">long sleeves</a> <span class="post-count" title="379939">379k</span></data><data class="category-0" value="micro bikini"><a class="wiki-link" href="/wiki_pages/show_or_new?title=micro_bikini">?</a> <a class="search-tag" href="/posts?tags=micro_bikini">micro bikini</a> <span class="post-count" title="15073">15k</span></data><data class="category-0" value="navel"><a class="wiki-link" href="/wiki_pages/show_or_new?title=navel">?</a> <a class="search-tag" href="/posts?tags=navel">navel</a> <span class="post-count" title="408802">408k</span></data><data class="category-0" value="off shoulder"><a class="wiki-link" href="/wiki_pages/show_or_new?title=off_shoulder">?</a> <a class="search-tag" href="/posts?tags=off_shoulder">off shoulder</a> <span class="post-count" title="60823">60k</span></data><data class="category-0" value="open clothes"><a class="wiki-link" href="/wiki_pages/show_or_new?title=open_clothes">?</a> <a class="search-tag" href="/posts?tags=open_clothes">open clothes</a> <span class="post-count" title="134092">134k</span></data><data class="category-0" value="open jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=open_jacket">?</a> <a class="search-tag" href="/posts?tags=open_jacket">open jacket</a> <span class="post-count" title="35543">35k</span></data><data class="category-0" value="pink jacket"><a class="wiki-link" href="/wiki_pages/show_or_new?title=pink_jacket">?</a> <a class="search-tag" href="/posts?tags=pink_jacket">pink jacket</a> <span class="post-count" title="2519">2.5k</span></data><data class="category-0" value="sidelocks"><a class="wiki-link" href="/wiki_pages/show_or_new?title=sidelocks">?</a> <a class="search-tag" href="/posts?tags=sidelocks">sidelocks</a> <span class="post-count" title="139222">139k</span></data><data class="category-0" value="skindentation"><a class="wiki-link" href="/wiki_pages/show_or_new?title=skindentation">?</a> <a class="search-tag" href="/posts?tags=skindentation">skindentation</a> <span class="post-count" title="32167">32k</span></data><data class="category-0" value="sleeves past wrists"><a class="wiki-link" href="/wiki_pages/show_or_new?title=sleeves_past_wrists">?</a> <a class="search-tag" href="/posts?tags=sleeves_past_wrists">sleeves past wrists</a> <span class="post-count" title="42584">42k</span></data><data class="category-0" value="small breasts"><a class="wiki-link" href="/wiki_pages/show_or_new?title=small_breasts">?</a> <a class="search-tag" href="/posts?tags=small_breasts">small breasts</a> <span class="post-count" title="169864">169k</span></data><data class="category-0" value="smile"><a class="wiki-link" href="/wiki_pages/show_or_new?title=smile">?</a> <a class="search-tag" href="/posts?tags=smile">smile</a> <span class="post-count" title="1068436">1068k</span></data><data class="category-0" value="snowflakes"><a class="wiki-link" href="/wiki_pages/show_or_new?title=snowflakes">?</a> <a class="search-tag" href="/posts?tags=snowflakes">snowflakes</a> <span class="post-count" title="6299">6.3k</span></data><data class="category-0" value="solo"><a class="wiki-link" href="/wiki_pages/show_or_new?title=solo">?</a> <a class="search-tag" href="/posts?tags=solo">solo</a> <span class="post-count" title="2113336">2113k</span></data><data class="category-0" value="swimsuit"><a class="wiki-link" href="/wiki_pages/show_or_new?title=swimsuit">?</a> <a class="search-tag" href="/posts?tags=swimsuit">swimsuit</a> <span class="post-count" title="244860">244k</span></data><data class="category-0" value="thighhighs"><a class="wiki-link" href="/wiki_pages/show_or_new?title=thighhighs">?</a> <a class="search-tag" href="/posts?tags=thighhighs">thighhighs</a> <span class="post-count" title="573940">573k</span></data><data class="category-0" value="twintails"><a class="wiki-link" href="/wiki_pages/show_or_new?title=twintails">?</a> <a class="search-tag" href="/posts?tags=twintails">twintails</a> <span class="post-count" title="401717">401k</span></data><data class="category-0" value="very long hair"><a class="wiki-link" href="/wiki_pages/show_or_new?title=very_long_hair">?</a> <a class="search-tag" href="/posts?tags=very_long_hair">very long hair</a> <span class="post-count" title="334169">334k</span></data></div>
Script Preparation code:
var ul = document.querySelector(`ul.general-tag-list`); var div = document.querySelector(`div.general-tag-list`); var weakmap = new WeakMap; weakmap.set(div, [...div.children].map(x => x.value)); var total = 0;
Tests:
attr
let ids = Array(ul.childElementCount); for (let n = ul.firstElementChild, i = 0; n !== null; (n = n.nextElementSibling), (++i)) { ids[i] = n.getAttribute(`data-id`); }; total += ids.length;
val
let ids = Array(div.childElementCount); for (let n = div.firstElementChild, i = 0; n !== null; (n = n.nextElementSibling), (++i)) { ids[i] = n.value; }; total += ids.length;
weakmap
total += weakmap.get(div).length;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
attr
val
weakmap
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
To analyze the provided data, I will break it down into several components and address each part step by step. ### Data Components The provided data consists of three main parts: 1. **Category Data**: This is a JSON-like structure that contains various categories with their corresponding counts (e.g., `snowflakes`, `solo`, `swimsuit`, etc.). Each category has an associated URL and a post count. 2. **Individual Test Cases**: These are small JavaScript snippets that seem to be benchmarking different aspects of HTML element interactions. There are three test cases here: `attr` (attribute extraction), `val` (value extraction from elements), and `weakmap` (interacting with a WeakMap data structure). 3. **Latest Benchmark Result**: This part contains the results of recent benchmarking tests, including details about the browser version, device platform, operating system, executions per second, and the test name. ### Analysis Given these components, without specific instructions on what to analyze or conclude from this data, I'll provide a general approach: 1. **Test Cases**: For each test case, you might want to review how it's designed. Are there any optimization opportunities? Do they correctly represent typical use cases in your application? - `attr`: This checks for attribute extraction efficiency. Consider if this is a common operation and whether the benchmark accurately reflects real-world performance. - `val`: Similar to `attr`, but with values instead of attributes. Evaluate its relevance and compare it to other test methods. 2. **Category Data**: - These categories seem to be related to different types of content or data (snowflakes, solo content, swimsuits, etc.). Understanding the purpose behind these categories is key. - Each category has a post count (`span class="post-count" title="<category_value>">`). This might indicate something about user engagement or interaction with this type of content. 3. **Latest Benchmark Result**: - The results show browser-specific performance variations for each test case across multiple executions per second. Consider how these could impact your application's performance and whether they're indicative of general trends. - The device platform and operating system are also specified, which might be relevant if you're optimizing for specific user bases. ### Conclusion Without more context on what you want to achieve with this analysis (optimization, understanding user behavior, etc.), a definitive conclusion cannot be drawn. However, by reviewing these components and considering their implications, you can make informed decisions about how to proceed with your project. **Action Items:** - Review each test case for optimization opportunities or relevance to your specific use cases. - Investigate the purpose behind the categories of content in `Category Data`. - Analyze the benchmark results for insights into performance variations that could impact your application.
Related benchmarks:
es6 vs lodash - small data
es6 vs lodash - medium data
es6 vs lodash - large data
map+filter options
lodash flatMap() vs lodash filter().map()
Comments
Confirm delete:
Do you really want to delete benchmark?