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="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<table class="stratui-finalsale-table" id="finalSaleDownPaymentTable">
<thead>
<tr align="left">
<th colspan="2">
Downpayment Information
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="stratui-finalsale-table-control finalSaleTDWidth" style="width: 258px;">
<span class="control-label">Revised Minimum Downpayment Amount</span>
</td>
<td style="border-color: rgb(255, 255, 255);">
<span id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_PaymentOption_DepositAmt_Amt_View">$2,155.00</span>
</td>
</tr>
<tr>
<td class="stratui-finalsale-table-control">
<span class="fixed-width-error"></span>
<span class="stratui-required">*</span><label for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_PaymentOption_DepositAmt_Amt" class="control-label">
Downpayment Amount</label>
</td>
<td style="border-color: rgb(255, 255, 255);">
<input type="text" validationmode="decimal" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_PaymentOption_DepositAmt_Amt" class="stratui-control-text" disabled="">
</td>
</tr>
<tr class="add-CompanionPolicy stratui-hidden" id="billingErrorMessageContainer" style="display: none;">
<td style="padding: 1em;">
<span class="note">The billing system is temporarily unavailable. Unable to retrieve
down payment details.</span>
</td>
</tr>
</tbody>
</table>
<div class="stratui-finalsale-container" id="policyDetailsContainer">
<div class="ie-fix"> </div>
<table id="policy-details-table" class="stratui-finalsale-table">
<thead>
<tr align="left">
<th class="sectionHeadingGrayBG" colspan="2">
Policy Details
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="control-label">
Named Insured
</td>
<td>
<span class="text" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_InsuredOrPrincipal_GeneralPartyInfo_NameInfo_PersonName_GivenName">2V2D</span> <span class="text" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_InsuredOrPrincipal_GeneralPartyInfo_NameInfo_PersonName_Surname">IATEST</span>
</td>
</tr>
<tr>
<td class="control-label">
<span class="stratui-required">*</span><span>Policy Effective Date</span>
</td>
<td>
<span class="text" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_ContractTerm_EffectiveDt_View">08/15/2010</span>
</td>
</tr>
<tr style="display: none;"><td class="stratui-finalsale-table-control finalSaleTDWidth"><label class="control-label" for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_ContractTerm_EffectiveDt">Policy Effective Date</label></td><td><input type="text" format="^(((0[13578]|(10|12))/(0[1-9]|[1-2][0-9]|3[0-1]))|(02/(0[1-9]|[1-2][0-8]))|((0[469]|11)/(0[1-9]|[1-2][0-9]|30)))/(19[0-9]{2}|2[0-9]{3})$" class="required regex stratui-control-text valid" name="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_ContractTerm_EffectiveDt" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_ContractTerm_EffectiveDt"></td></tr><tr><td class="stratui-finalsale-table-control finalSaleTDWidth"><span class="stratui-required">* </span><label class="control-label" for="FinalSale_PolicyDetails_Does_EffectiveDate_NeedToBe_Changed">Does the Effective Date need to be changed?</label></td><td><div class="stratui-vehicle-control-wrapper"><input type="radio" value="1" name="FinalSale_PolicyDetails_Does_EffectiveDate_NeedToBe_Changed" id="FinalSale_PolicyDetails_Does_EffectiveDate_NeedToBe_Changed" class="valid"><label>Yes</label><input type="radio" value="0" name="FinalSale_PolicyDetails_Does_EffectiveDate_NeedToBe_Changed" id="FinalSale_PolicyDetails_Does_EffectiveDate_NeedToBe_Changed" class="valid"><label>No</label></div></td></tr><tr><td class="stratui-finalsale-table-control finalSaleTDWidth"><label class="control-label" for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Producer_ProducerInfo_ContractNumber">Agent Code</label></td><td><span id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Producer_ProducerInfo_ContractNumber" class="text">0A0165</span></td></tr><tr><td class="stratui-finalsale-table-control finalSaleTDWidth"><label class="control-label" for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_ContractTerm_DurationPeriod_NumUnits">Policy Term</label></td><td><select class="stratui-control-select valid" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_ContractTerm_DurationPeriod_NumUnits"><option value="6-Months">6 Months</option><option value="12-Months">12 Months</option></select></td></tr><tr><td class="stratui-finalsale-table-control finalSaleTDWidth"><label class="control-label" for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Producer_ProducerInfo_comtravelersCountersignatureRequiredInd">Countersignature and/or non-resident information required</label></td><td><div class="stratui-vehicle-control-wrapper"><input type="radio" value="1" name="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Producer_ProducerInfo_comtravelersCountersignatureRequiredInd" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Producer_ProducerInfo_comtravelersCountersignatureRequiredInd" class="valid"><label>Yes</label><input type="radio" checked="checked" value="0" name="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Producer_ProducerInfo_comtravelersCountersignatureRequiredInd" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Producer_ProducerInfo_comtravelersCountersignatureRequiredInd" class="valid"><label>No</label></div></td></tr><tr style="display: none;"><td class="stratui-finalsale-table-control finalSaleTDWidth"><span class="stratui-required">* </span><label class="control-label" for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_comtravelersCommissionCd">Countersignature Type</label></td><td><select class="stratui-control-select" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_comtravelersCommissionCd"><option selected="selected" value=""></option><option value="C">COUNTERSIGNING COMM GENERATED</option><option value="CN">C/S COMM GENERATED AND HO NON-RES FAC COMM PAYABLE</option><option value="E">COMMISSION EXCEPTION</option><option value="EN">COMM EXCEPT AND HO NON-RES FACILITY APPLIES</option><option value="N">HO NON-RES FACILITY COMM IS PAYABLE</option></select></td></tr><tr style="display: none;"><td class="stratui-finalsale-table-control finalSaleTDWidth"><span class="stratui-required">* </span><label class="control-label" for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_ContractNumber">Countersignature Agent Code</label></td><td><input type="text" class="stratui-control-text" maxlength="6" name="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_ContractNumber" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_ContractNumber"></td></tr><tr style="display: none;"><td class="stratui-finalsale-table-control finalSaleTDWidth"><span class="stratui-required">* </span><label class="control-label" for="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_CommissionRatePct">Commission Rate Percentage</label></td><td><input type="text" format="(^100(\.0{1,2})?$)|(^([1-9]([0-9])?|0)(\.[0-9]{1,2})?$)" class="regex number stratui-control-text" name="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_CommissionRatePct" id="TravACORD_comtravelersPersPolicyQuote_comtravelersPersPolicyTransData_PersPolicy_Countersignature_CommissionRatePct"></td></tr>
</tbody>
</table>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
jQuery raw |
| ready |
jQuery cached selector |
| ready |
jQuery cached selector 2 |
| ready |
jQuery cached selector 3 |
| ready |
jQuery cached selector 4 |
| ready |
jQuery cached selector 5 |
| ready |
jQuery cached selector 6 |
| ready |
jQuery cached selector 7 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.