jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
<script>
var full = ('<ul data-role="listview" class="about-screen-list"> <li> <h1>Pyxis Server URL</h1> <p id="about-screen-url">,,</p> </li> <li> <h1>Web URL</h1> <p id="about-screen-web-url">,,</p> </li> <li> <h1>Authentication Type</h1> <p id="about-screen-auth-type">,,</p> </li> <li> <h1>Authentication Mode</h1> <p id="about-screen-auth-mode">,,</p> </li> <li> <h1>User ID</h1> <p id="about-screen-user-id">,,</p> </li> <li> <h1>Client Version</h1> <p id="about-screen-client-version">,,</p> </li> <li> <h1>Server Version</h1> <p id="about-screen-server-version">,,</p> </li> <li> <h1>Database Version</h1> <p id="about-screen-database-version">,,</p> </li> <li> <h1>Model</h1> <p id="about-screen-model">,</p> </li> <li> <h1>Browser</h1> <p id="about-screen-browser">,,</p> </li> <li> <h1>Last Server Response</h1> <p id="about-screen-last-response">,,</p> </li> <li> <h1>Last GPS Fix</h1> <p id="about-screen-last-gps">,,</p> </li> </ul>');
var empty = '';
var fullAlreadyEscaped = '<ul data-role="listview" class="about-screen-list"> <li> <h1>Pyxis Server URL</h1> <p id="about-screen-url">,,</p> </li> <li> <h1>Web URL</h1> <p id="about-screen-web-url">,,</p> </li> <li> <h1>Authentication Type</h1> <p id="about-screen-auth-type">,,</p> </li> <li> <h1>Authentication Mode</h1> <p id="about-screen-auth-mode">,,</p> </li> <li> <h1>User ID</h1> <p id="about-screen-user-id">,,</p> </li> <li> <h1>Client Version</h1> <p id="about-screen-client-version">,,</p> </li> <li> <h1>Server Version</h1> <p id="about-screen-server-version">,,</p> </li> <li> <h1>Database Version</h1> <p id="about-screen-database-version">,,</p> </li> <li> <h1>Model</h1> <p id="about-screen-model">,</p> </li> <li> <h1>Browser</h1> <p id="about-screen-browser">,,</p> </li> <li> <h1>Last Server Response</h1> <p id="about-screen-last-response">,,</p> </li> <li> <h1>Last GPS Fix</h1> <p id="about-screen-last-gps">,,</p> </li> </ul>';
lt = new RegExp('<', 'g');
gt = new RegExp(">", 'g');
q = new RegExp('"', 'g');
dq = new RegExp("'", 'g');
var fund2 = (function() {
var div = document.createElement('div');
var text = document.createTextNode('');
div.appendChild(text);
return function(str) {
text.data = str;
return div.innerHTML;
};
})();
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
dumbway |
| ready |
myway |
| ready |
middle |
| ready |
try3 |
| ready |
Crazy Hack |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.