JavaScript template language shootoff (v776)

Revision 776 of this benchmark created by amrutha on


Preparation HTML

<script src="http://cdn.kendostatic.com/2012.2.621/js/kendo.all.min.js"></script>
<a id="unobtrusive" href="javascript:void(0)" >Unobtrusive</a>
<a id="obtrusivenotkendo" onclick="fired()" href="javascript:void(0)">Unobtrusive</a>
<a id="obtrusive" href="javascript:void(0)" data-click="fired()">Obtrusive</a>
<script>
var unob= document.getElementById('unobtrusive');
var ob= document.getElementById('obtrusive');
var obntkendo=document.getElementById('obtrusivenotkendo');
$('#unobtrusive').click(fired());
function fired(){
   alert('fired.')
}
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
kendo
unob.click();
ready
unobtrusive
ob.click();
ready
obstrusive not kendo
obntkendo.click();
ready

Revisions

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