When an AngularJS template is included in the page the entire script block for it is removed from the page and jsperf uses the id of that script block to attempt to load the template from the jsperf.com site.
<script type="text/ng-template" id="someTemplate">
will result in the block being removed and an attempt to load http://jsperf.com/someTemplate.
@mathiasbynens It seems to be a url rewrite rule that will take someTemplate and map it to some.
I’m confused. Is the example supposed to be just <div></div>?
http://jsperf.com/someTemplate redirects to http://jsperf.com/some as we don’t support uppercase in slugs. This is intended behavior.
Sorry the example I gave didn't render the script tags before. I have encoded it so it will show up correctly. As you can now see, I'm not referencing a script using the source it's an inline template using the AngularJS syntax.
@zeelux Can you give an example jsPerf test case where this issue occurs?