JavaScript performance comparison Revision 2 of this test case created by on 2010-8-3 Preparation code <script> var type = 'bookmarks', regexp_s = /^products|bookmarks|recent|search$/, regexp = /products|bookmarks|recent|search/; </script> Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet disabled. // Simple JavaScript Templating // John