Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
clone request1
(version: 0)
clone request1
Comparing performance of:
test 11 vs test 22
Created:
2 years ago
by:
Guest
Jump to the latest result
Tests:
test 11
const r = new Request('http://www.google.com', { method: 'POST', body: { "data": { "Cart": { "id": 219502944, "guid": "67305136-80ab-47b9-bc6c-b0c2532d95be", "rewards": { "available": 0, "redeemed": 0, "requested": 0 }, "incentives": [ { "id": 44223, "type": 2, "description": "Spend 50 and get 5 off", "name": "Spend 50 and get 5 off", "discountedAmount": 5, "code": "", "uniqueCoupon": "", "headKey": "", "offerKey": "", "offerType": 2, "selected": true, "loyaltyTier": false } ], "customer": { "id": 0, "name": "", "email": "" }, "shippingAddress": { "id": 0, "title": "", "firstName": "", "lastName": "", "type": "Shipping", "locationType": 0, "contactPhone": "", "company": "", "street": "", "suburb": "", "city": "", "state": "", "postcode": "", "country": "AUS", "extraInformation": "" }, "billingAddress": { "id": 0, "title": "", "firstName": "", "lastName": "", "type": "Billing", "locationType": 0, "contactPhone": "", "company": "", "street": "", "suburb": "", "city": "", "state": "", "postcode": "", "country": "AUS", "extraInformation": "" }, "datePlaced": null, "status": 0, "websiteId": 1, "currency": "AUD", "subtotal": 119, "totalWithoutFreight": 114, "total": 114, "paymentMethod": 0, "promoCode": "", "freight": { "price": 0, "discount": 0 }, "shippingMethod": 0, "shippingMethodDesc": "", "pickupStore": null, "giftDetails": { "wrapping": false, "message": "" }, "giftCards": [], "attributes": { "authorityToLeave": null, "deliveryDate": null, "deliveryMethod": null, "deliveryLocation": null, "orderLoyaltyRewardDiscountRequested": null, "orderLoyaltyRewardDiscountRedeemed": null, "deliveryMethodDateSelectedUTC": null }, "collectionDetails": null, "eligibleForAfterpay": true, "creditCardUsed": null, "isPickup": false, "items": [ { "id": 1049039, "style": "60226975", "title": "Organically Grown Linen Shirt", "barcode": "9358065158268", "sameDayAvailable": false, "excludedFromRewards": false, "itemIncentiveDiscount": 0, "freeItem": false, "freeItemIncentiveId": 0, "lowStock": 2, "colour": { "id": 2513, "code": "8836", "colour": "Pink Salt" }, "size": { "id": 87, "size": "4" }, "price": { "unitPrice": 119, "unitDiscount": 0, "unitPreviousPrice": null, "lineDiscountedSubtotal": 119, "linePreviousSubtotal": null, "lineSubtotal": 119 }, "quantity": 1, "statusCode": -1, "url": "/organically-grown-linen-shirt-60226975", "productId": 77997, "productItemId": 513970, "productFK": "60226975", "productItemFK": "49818663", "image": "/ProductImages_Display/CRUPSELL/1/77997_513970_336074.jpg", "isDeleted": false, "isGiftWithPurchase": false, "isGiftRegistryItem": false, "isSoftDeleted": false, "isSpecialOffer": false, "personalisationInfo": null, "overlay": null } ], "error": [] } } } })
test 22
const r = new Request('http://www.google.com', { method: 'POST', body: { "data": { "Cart": { "id": 219502944, "guid": "67305136-80ab-47b9-bc6c-b0c2532d95be", "rewards": { "available": 0, "redeemed": 0, "requested": 0 }, "incentives": [ { "id": 44223, "type": 2, "description": "Spend 50 and get 5 off", "name": "Spend 50 and get 5 off", "discountedAmount": 5, "code": "", "uniqueCoupon": "", "headKey": "", "offerKey": "", "offerType": 2, "selected": true, "loyaltyTier": false } ], "customer": { "id": 0, "name": "", "email": "" }, "shippingAddress": { "id": 0, "title": "", "firstName": "", "lastName": "", "type": "Shipping", "locationType": 0, "contactPhone": "", "company": "", "street": "", "suburb": "", "city": "", "state": "", "postcode": "", "country": "AUS", "extraInformation": "" }, "billingAddress": { "id": 0, "title": "", "firstName": "", "lastName": "", "type": "Billing", "locationType": 0, "contactPhone": "", "company": "", "street": "", "suburb": "", "city": "", "state": "", "postcode": "", "country": "AUS", "extraInformation": "" }, "datePlaced": null, "status": 0, "websiteId": 1, "currency": "AUD", "subtotal": 119, "totalWithoutFreight": 114, "total": 114, "paymentMethod": 0, "promoCode": "", "freight": { "price": 0, "discount": 0 }, "shippingMethod": 0, "shippingMethodDesc": "", "pickupStore": null, "giftDetails": { "wrapping": false, "message": "" }, "giftCards": [], "attributes": { "authorityToLeave": null, "deliveryDate": null, "deliveryMethod": null, "deliveryLocation": null, "orderLoyaltyRewardDiscountRequested": null, "orderLoyaltyRewardDiscountRedeemed": null, "deliveryMethodDateSelectedUTC": null }, "collectionDetails": null, "eligibleForAfterpay": true, "creditCardUsed": null, "isPickup": false, "items": [ { "id": 1049039, "style": "60226975", "title": "Organically Grown Linen Shirt", "barcode": "9358065158268", "sameDayAvailable": false, "excludedFromRewards": false, "itemIncentiveDiscount": 0, "freeItem": false, "freeItemIncentiveId": 0, "lowStock": 2, "colour": { "id": 2513, "code": "8836", "colour": "Pink Salt" }, "size": { "id": 87, "size": "4" }, "price": { "unitPrice": 119, "unitDiscount": 0, "unitPreviousPrice": null, "lineDiscountedSubtotal": 119, "linePreviousSubtotal": null, "lineSubtotal": 119 }, "quantity": 1, "statusCode": -1, "url": "/organically-grown-linen-shirt-60226975", "productId": 77997, "productItemId": 513970, "productFK": "60226975", "productItemFK": "49818663", "image": "/ProductImages_Display/CRUPSELL/1/77997_513970_336074.jpg", "isDeleted": false, "isGiftWithPurchase": false, "isGiftRegistryItem": false, "isSoftDeleted": false, "isSpecialOffer": false, "personalisationInfo": null, "overlay": null } ], "error": [] } } } }) const rr = new Request(r)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
test 11
test 22
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
2 years ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Browser/OS:
Chrome 119 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
test 11
167471.0 Ops/sec
test 22
107875.5 Ops/sec
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
It appears you have provided a JSON object and a string, but they are not related to each other. The JSON object is a response from an API or a request, while the string seems to be a log message with benchmarking results. To answer your question, I need more context about what you're trying to accomplish. What is the connection between these two? Are you trying to parse the JSON object or use the benchmarking results in some way? If so, please provide more information or clarify your goal, and I'll do my best to assist you.
Related benchmarks:
Cloning
RFDC vs. Object Assign
Lodash cloneDeep vs JSON Clone vs freeze and destructure vs vanilla cloneDeep
Lodash cloneDeep vs structuredClone vs cloneObject (custom func)
Cloning b81d8fae-190a-4c8b-a9af-08bebc52bf2a
Comments
Confirm delete:
Do you really want to delete benchmark?