Metamorph <script> vs comments

Benchmark created by ebryn on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="https://raw.github.com/gist/2b338ff59972a1c42601/04d740ea357d623aefe7a4130aeca98618dc0cd1/metamorph.comments.js">
</script>
<script>
MetamorphWithComments = Metamorph;
</script>
<script src="https://raw.github.com/tomhuda/metamorph.js/master/lib/metamorph.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
<script>
var morph = new Metamorph()
ready
comments
var morph = new MetamorphWithComments()
ready

Revisions

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