Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Cash VS Umbrella VS jquery VS vanilla selectors
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Browser:
Firefox 132
Operating system:
Ubuntu
Device Platform:
Desktop
Date tested:
one year ago
cash ById
8.3M/s
jquery ById
8.1M/s
Vanilla getById
7.5M/s
Vanilla QuerySelectorAll
1.6M/s
umbrella ById
667K/s
View exact numbers
Test name
Executions per second
✓
cash ById
8,333,200 Ops/sec
jquery ById
8,146,709 Ops/sec
Vanilla getById
7,467,436 Ops/sec
Vanilla QuerySelectorAll
1,601,558 Ops/sec
umbrella ById
667,228 Ops/sec
HTML Preparation code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"><script> <script>jQuery.noConflict();</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.0/cash.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/umbrella/3.2.3/umbrella.min.js"></script> <div id="foo">Hello World</div>
Tests:
Vanilla getById
var text = document.getElementById("foo");
Vanilla QuerySelectorAll
var text = document.querySelectorAll("#foo");
cash ById
var text = $("#foo");
umbrella ById
var text = u("#foo");
jquery ById
var text = jQuery("#foo");