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 src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<div class="panel-body-wrapper">
<div>
<table id="00000000-0000-0000-0000-000000000000_021d5974-fb67-2bf9-3a2a-e60af8a1cd62_Table" style="table-layout:fixed;display:inline-table;"><colgroup class="editor-body-colgroup"><col style="width:40.7%" id="4160150e-9551-01ce-b351-36c0c5ae30d3"><col style="width:25.96%" id="4ac54ba5-0bd5-801b-c011-87f191f79f5b"><col style="width:16.66%" id="409adf6e-94b6-49e1-f57e-5d323893d1c8"><col style="width:16.66%" id="62e74e37-d141-ca20-dea3-0f4da0f7741c"></colgroup>
<tbody><tr id="c38b9d55-e891-4e80-b8f2-6676245087d0">
<td id="34f59518-37f4-44be-a59d-856e777cdcc1" class="editor-cell droptarget" style="width:40.7%;"><div id="00000000-0000-0000-0000-000000000000_157c4cb5-0994-33b6-df1a-905b7826f8a6" name="Rich Text" class="SFC SourceCode-Forms-Controls-Web-ControlPack-HTMLEditor" data-widget="SFCHtmlEditor" data-namespace="SFCHtmlEditor" data-options="{"dataType":"Memo","watermarkText":"Type a value","toolbarItems":"(Custom)","toolbarItemsValueHolder":"[\"Bold\",\"Italic\",\"Underline\",\"FontName\",\"RealFontSize\",\"JustifyLeft\",\"JustifyCenter\",\"JustifyRight\",\"InsertOrderedList\",\"InsertUnorderedList\",\"Indent\",\"Outdent\",\"ForeColor\",\"BackColor\",\"InsertParagraph\",\"InsertTable\",\"Print\"]","Id":"00000000-0000-0000-0000-000000000000_157c4cb5-0994-33b6-df1a-905b7826f8a6"}" style="width: 100%; height: 250px;"><div class="stylewrapper rich-text-stylewrapper"><div id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02" class="RadEditor Default reWrapper" style="height: 250px; width: 100%; visibility: visible; min-height: 250px; min-width: 0px;">
<!-- 2012.3.1017.0 --><div id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_dialogOpener" style="display:none;">
<div id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_dialogOpener_Window" style="display:none;">
<div id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_dialogOpener_Window_C">
</div><input id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_dialogOpener_Window_ClientState" name="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_dialogOpener_Window_ClientState" type="hidden" autocomplete="off">
</div><input id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_dialogOpener_ClientState" name="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_dialogOpener_ClientState" type="hidden" autocomplete="off">
</div><div class="reRibbonBarWrapper"></div><table id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02Wrapper" cellpadding="0" cellspacing="0" style="table-layout: auto; width: 100%; height: 250px; min-height: 250px;" class="control-table">
<tbody>
<tr class="control-table-row">
<td rowspan="3" id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02Left" class="reTlbVertical rich-text-left-vertical-bar"></td><td id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02Top" class="reToolCell" style=""><div class="Default reToolbarWrapper">
<ul class="reToolbar Default">
<li class="reGrip grip_first"> </li><li><a title="Bold" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="Bold" unselectable="on"> </span></a></li><li><a title="Italic" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="Italic" unselectable="on"> </span></a></li><li><a title="Underline" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="Underline" unselectable="on"> </span></a></li><li class="reGrip grip_last"> </li>
</ul><ul class="reToolbar Default">
<li class="reGrip grip_first"> </li><li><a title="Font Name" class="reDropdown" href="javascript:void(0);" unselectable="on" tabindex=""><span class="FontName" style="width:80px;" unselectable="on">Verdana</span></a></li><li><a title="Font Size" class="reDropdown" href="javascript:void(0);" unselectable="on" tabindex=""><span class="RealFontSize" style="width:34px;" unselectable="on">11px</span></a></li><li class="reGrip grip_last"> </li>
</ul><ul class="reToolbar Default">
<li class="reGrip grip_first"> </li><li><a title="Align Left" class="reTool reTool_selected" href="javascript:void(0);" unselectable="on" tabindex=""><span class="JustifyLeft" unselectable="on"> </span></a></li><li><a title="Align Center" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="JustifyCenter" unselectable="on"> </span></a></li><li><a title="Align Right" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="JustifyRight" unselectable="on"> </span></a></li><li class="reGrip grip_last"> </li>
</ul><ul class="reToolbar Default">
<li class="reGrip grip_first"> </li><li><a title="Numbered List" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="InsertOrderedList" unselectable="on"> </span></a></li><li><a title="Bullet List" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="InsertUnorderedList" unselectable="on"> </span></a></li><li><a title="Indent" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="Indent" unselectable="on"> </span></a></li><li><a title="Outdent" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="Outdent" unselectable="on"> </span></a></li><li class="reGrip grip_last"> </li>
</ul><ul class="reToolbar Default">
<li class="reGrip grip_first"> </li><li><a title="Font Color" class="reTool reSplitButton fore-color-link" href="javascript:void(0);" unselectable="on" tabindex=""><div class="color-link-sub-wrapper"><span class="ForeColor" unselectable="on"> </span></div><span class="split_arrow rich-text-tool-arrow"> </span></a></li><li><a title="Text Highlight Color" class="reTool reSplitButton back-color-link" href="javascript:void(0);" unselectable="on" tabindex=""><div class="color-link-sub-wrapper"><span class="BackColor" unselectable="on"> </span></div><span class="split_arrow rich-text-tool-arrow"> </span></a></li><li class="reGrip grip_last"> </li>
</ul><ul class="reToolbar Default">
<li class="reGrip grip_first"> </li><li><a title="Insert Paragraph" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="InsertParagraph" unselectable="on"> </span></a></li><li class="reGrip grip_last"> </li>
</ul><ul class="reToolbar Default">
<li class="reGrip grip_first"> </li><li><a title="Insert Table" class="reTool reSplitButton insert-table-link" href="javascript:void(0);" unselectable="on" tabindex=""><span class="InsertTable" unselectable="on"> </span><span class="split_arrow rich-text-tool-arrow"> </span></a></li><li><a title="Print" class="reTool" href="javascript:void(0);" unselectable="on" tabindex=""><span class="Print" unselectable="on"> </span></a></li><li class="reGrip grip_last"> </li>
</ul>
</div><div class="rich-text-overflow-dropdown-wrapper"> <div class="rich-text-overflow-dropdown-icon-container" id="rich-text-overflow_00000000-0000-0000-0000-000000000000_157c4cb5-0994-33b6-df1a-905b7826f8a6"> <span class="rich-text-overflow-dropdown-icon"></span> </div> </div></td><td rowspan="1" id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02Right" class="reTlbVertical rich-text-right-vertical-bar"></td>
</tr><tr class="control-table-row">
<td valign="top" id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02Center" class="reContentCell" style="height: 175px;"><div class="richtext-watermark-overlay" style="width: 722px; height: 174px; top: 41px; left: 10px;">Type a value</div><label for="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02ContentHiddenTextarea" style="display:none;">RadEditor hidden textarea</label><textarea id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02ContentHiddenTextarea" name="_0337ae7e-99db-4dee-add6-182e1bbb1ab8$ctl10$ctl00$ctl00$ctl02" rows="4" cols="20" style="display: none; height: 175px;" tabindex=""></textarea><div id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_contentDiv" class="reContentArea reContentAreaToggle editable-area" style="position: relative; height: 175px; font-family: Verdana; font-size: 11px; width: 723px;" contenteditable="true"><br></div><iframe frameborder="0" style="width: 100%; margin: 0px; padding: 0px; position: relative; height: 173px; display: none;" tabindex=""></iframe></td>
</tr><tr class="control-table-row">
<td class="reToolZone hasMode"><table cellpadding="0" cellspacing="0" id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_BottomTable" style="width:100%;" class="control-table">
<tbody>
<tr class="control-table-row">
<td class="reEditorModesCell"><div class="reEditorModes" id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_ModesWrapper">
<ul>
<li><a href="javascript:void(0);" title="Design" class="reMode_design reMode_selected" tabindex="" style="display: block;"><span>Design</span></a></li><li><a href="javascript:void(0);" title="HTML" class="reMode_html" tabindex="" style="display: block;"><span>HTML</span></a></li><li><a href="javascript:void(0);" title="Preview" class="reMode_preview" tabindex="" style="display: block;"><span>Preview</span></a></li>
</ul>
</div></td><td class="reBottomZone" id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02Bottom"> </td><td valign="bottom" align="right"> </td>
</tr>
</tbody>
</table><noscript>
<p>RadEditor - please enable JavaScript to use the rich text editor.</p>
</noscript></td>
</tr>
</tbody>
</table><input id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_ClientState" name="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_ctl00_ctl02_ClientState" type="hidden" autocomplete="off">
</div></div><div class="disable-overlay">
</div></div></td>
<td id="6fedebd4-6908-fa1c-e5e4-a7982154ec34" class="editor-cell droptarget" style="width:25.96%;"> </td>
<td id="b815d7e9-0b7b-005c-7487-22b91aaffc8b" class="editor-cell droptarget" style="width:16.66%;"> </td>
<td id="91f9db0a-4585-2bcb-f84f-86dc1e4cb466" class="editor-cell droptarget" style="width:16.66%;"> </td>
</tr>
<tr id="07ba216c-d814-4326-bfad-4f2eb8e07720">
<td id="f3e8c324-9a85-3dd2-b1f8-397393d36586" class="editor-cell droptarget"> </td>
<td id="1fef615a-6c79-0717-3521-8005d31bcc14" class="editor-cell droptarget"> </td>
<td id="24e9456e-8922-56a4-ef02-7c190f20e16d" class="editor-cell droptarget"> </td>
<td id="096b7707-f726-ba75-d292-73ee7ed63dbe" class="editor-cell droptarget"> </td>
</tr>
<tr id="305255de-ba9c-4615-832f-bd8d61872c69">
<td id="2fd1bb72-37b4-d066-48ce-2368fd7b727a" class="editor-cell droptarget"> </td>
<td id="f5887fdb-5d4f-86fa-14c0-7e19230b8f5b" class="editor-cell droptarget"> </td>
<td id="4220b895-6ad4-9931-0ad1-17380fddc576" class="editor-cell droptarget"> </td>
<td id="cf48090a-849c-9a90-ba7b-53315e1f43d0" class="editor-cell droptarget"> </td>
</tr>
</tbody></table>
<input type="hidden" name="_0337ae7e-99db-4dee-add6-182e1bbb1ab8$ctl10$ctl00$00000000-0000-0000-0000-000000000000_021d5974-fb67-2bf9-3a2a-e60af8a1cd62_ClientState" id="_0337ae7e-99db-4dee-add6-182e1bbb1ab8_ctl10_ctl00_00000000-0000-0000-0000-000000000000_021d5974-fb67-2bf9-3a2a-e60af8a1cd62_ClientState">
</div>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
CR |
| ready |
last |
| ready |
new CR |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.