array.filter.unique vs new set (v8)

Revision 8 of this benchmark created on


Preparation HTML

<script src="sizzle.min.js"></script>
  <div class="dodman">Dodman</div>
	<div class="dodman">Dodman</div>
	<div class="dodman">Dodman</div>

Test runner

Ready to run.

Testing in
TestOps/sec
querySelectorAll
var elements = document.querySelectorAll('.dodman');
ready
sizzle
var elements = Sizzle('.dodman');
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.