Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
$find by tag vs $ by tag vs find by tag
(version: 0)
testing two solution for get parameter
Comparing performance of:
find by tag from id vs find by tag vs find in context
Created:
5 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<div id="parent"> <p>1</p> <p>2</p> <p>3</p> <p>4</p> <p>5</p> <p>6</p> <p>7</p> <p>8</p> <p>9</p> <p>10</p> </div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js'></script>
Tests:
find by tag from id
$("#parent").find("p");
find by tag
$("p");
find in context
$("p", "#parent");
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
find by tag from id
find by tag
find in context
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!
Related benchmarks:
Test find by id
JQuery: find by class vs find by tag vs children
JQuery: find vs children
JQuery: find vs selector vs scoped selector - More Html
JQuery: find with id vs find with tag name vs global id selector
Comments
Confirm delete:
Do you really want to delete benchmark?