Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
test clone
(version: 0)
Comparing performance of:
jquery vs jquery extend without true
Created:
8 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
Script Preparation code:
var obj = { "_id": "59410a69ed89dfb204edacd4", "index": 0, "guid": "2e3c410a-5d64-495e-a90d-d6eb40602758", "isActive": true, "balance": "$3,096.24", "picture": "http://placehold.it/32x32", "age": 27, "eyeColor": "brown", "name": "Cheri Pugh", "gender": "female", "company": "FIBRODYNE", "email": "cheripugh@fibrodyne.com", "phone": "+1 (957) 517-2082", "address": "325 Baycliff Terrace, Starks, Maine, 2432", "about": "Irure duis sint dolore eu ut excepteur in ex. Est ad adipisicing Lorem et ipsum veniam. Eiusmod nulla occaecat cupidatat incididunt velit ipsum in amet. Velit sint magna enim sunt adipisicing fugiat excepteur. Tempor sint ea sunt ad velit sint est.\r\n", "registered": "2014-01-10T03:21:20 -00:00", "latitude": -59.992464, "longitude": -73.382317, "tags": [ "consequat", "amet", "sunt", "reprehenderit", "eiusmod", "id", "sit" ], "friends": [ { "id": 0, "name": "Sanders Brewer" }, { "id": 1, "name": "Olive Frederick" }, { "id": 2, "name": "Lorie Petersen" } ], "greeting": "Hello, Cheri Pugh! You have 4 unread messages.", "favoriteFruit": "banana", "val1": { "_id": "59410a690aa42688b9228bd5", "index": 0, "guid": "5db5e52d-e6b7-4b43-93ed-bfb8c10625fa", "isActive": false, "balance": "$2,900.59", "picture": "http://placehold.it/32x32", "age": 32, "eyeColor": "green", "name": "Wagner Hansen", "gender": "male", "company": "HOUSEDOWN", "email": "wagnerhansen@housedown.com", "phone": "+1 (834) 403-3316", "address": "429 Canda Avenue, Bellfountain, Palau, 7768", "about": "Cupidatat occaecat ea magna exercitation cillum sint id et quis occaecat cillum proident est. Exercitation id ut quis consectetur. Cupidatat sit fugiat deserunt incididunt occaecat magna fugiat quis ut aliqua proident labore dolor. Aliqua elit labore irure fugiat nulla incididunt adipisicing tempor cupidatat exercitation irure sit. Aliqua culpa exercitation qui quis exercitation culpa.\r\n", "registered": "2014-11-09T04:13:38 -00:00", "latitude": 83.819142, "longitude": 167.162294, "tags": [ "do", "pariatur", "laboris", "mollit", "nostrud", "ea", "irure" ], "friends": [ { "id": 0, "name": "Jean Byrd" }, { "id": 1, "name": "Linda Delgado" }, { "id": 2, "name": "Cecilia Sandoval" } ], "greeting": "Hello, Wagner Hansen! You have 10 unread messages.", "favoriteFruit": "apple", "val2": { "_id": "59410a691c135fa187975eda", "index": 0, "guid": "d05d3f21-f928-4fc1-967b-e5657e704e08", "isActive": false, "balance": "$3,753.21", "picture": "http://placehold.it/32x32", "age": 23, "eyeColor": "brown", "name": "Sonya Haney", "gender": "female", "company": "TERRAGEN", "email": "sonyahaney@terragen.com", "phone": "+1 (842) 500-3463", "address": "974 Haring Street, Stonybrook, Federated States Of Micronesia, 4524", "about": "Anim commodo eu enim veniam cupidatat in veniam laborum eiusmod proident anim. In eu velit amet ex velit in Lorem ut. Nulla aliqua ea in duis nulla quis ipsum aliqua deserunt labore nostrud incididunt ad non.\r\n", "registered": "2014-06-21T01:33:39 -01:00", "latitude": -85.970087, "longitude": 91.211632, "tags": [ "labore", "id", "mollit", "velit", "nostrud", "laborum", "culpa" ], "friends": [ { "id": 0, "name": "Janette Francis" }, { "id": 1, "name": "Bentley York" }, { "id": 2, "name": "Farley Riggs" } ], "greeting": "Hello, Sonya Haney! You have 6 unread messages.", "favoriteFruit": "apple", "val3": { "_id": "59410a69186e3281852dbfdd", "index": 0, "guid": "30296840-2bf0-441c-9466-6603bb0caed8", "isActive": false, "balance": "$2,922.27", "picture": "http://placehold.it/32x32", "age": 32, "eyeColor": "brown", "name": "Anne Lucas", "gender": "female", "company": "PHORMULA", "email": "annelucas@phormula.com", "phone": "+1 (938) 521-2497", "address": "742 Powell Street, Maxville, Oklahoma, 374", "about": "Labore ipsum minim do eu duis do et exercitation mollit pariatur fugiat veniam adipisicing laboris. Minim ex ipsum do occaecat cupidatat. Cupidatat elit enim do in magna aliqua veniam voluptate culpa. Minim adipisicing ad veniam ad ut irure amet reprehenderit ut. Aute cillum et cupidatat amet officia reprehenderit deserunt incididunt quis. Qui mollit enim culpa occaecat ad culpa sint.\r\n", "registered": "2014-01-24T01:23:58 -00:00", "latitude": 53.698847, "longitude": -151.641957, "tags": [ "occaecat", "ex", "irure", "est", "reprehenderit", "voluptate", "irure" ], "friends": [ { "id": 0, "name": "Cindy Herman" }, { "id": 1, "name": "Deloris Levine" }, { "id": 2, "name": "Morin Gilmore" } ], "greeting": "Hello, Anne Lucas! You have 6 unread messages.", "favoriteFruit": "apple", "val4": { "_id": "59410a696696b21525765351", "index": 0, "guid": "293309cc-b493-4d20-badb-9777f2837fee", "isActive": false, "balance": "$2,479.75", "picture": "http://placehold.it/32x32", "age": 35, "eyeColor": "blue", "name": "Sylvia Wolf", "gender": "female", "company": "TURNLING", "email": "sylviawolf@turnling.com", "phone": "+1 (807) 573-2711", "address": "262 Doscher Street, Belvoir, New Mexico, 1224", "about": "Labore aute labore voluptate velit pariatur. Aliquip sit pariatur non culpa et. Laboris tempor ex in fugiat esse sunt sit velit. Quis aliqua reprehenderit et adipisicing.\r\n", "registered": "2015-04-06T11:39:50 -01:00", "latitude": -30.740069, "longitude": 93.754243, "tags": [ "reprehenderit", "laboris", "tempor", "ut", "consectetur", "nostrud", "ipsum" ], "friends": [ { "id": 0, "name": "Guerra Murray" }, { "id": 1, "name": "Elva Macdonald" }, { "id": 2, "name": "Iva Garner" } ], "greeting": "Hello, Sylvia Wolf! You have 2 unread messages.", "favoriteFruit": "strawberry", "val5": { "_id": "59410a69ec197aa38478d04f", "index": 0, "guid": "047fcd68-daf6-4bcb-bcef-5c12398ca335", "isActive": false, "balance": "$3,172.51", "picture": "http://placehold.it/32x32", "age": 25, "eyeColor": "green", "name": "Della Blanchard", "gender": "female", "company": "MAGNAFONE", "email": "dellablanchard@magnafone.com", "phone": "+1 (916) 568-2730", "address": "245 Cleveland Street, Williamson, Alabama, 4486", "about": "Eiusmod ut voluptate et excepteur duis proident. Ipsum id nostrud sit nulla duis do esse id adipisicing ullamco dolor laboris velit. Ex voluptate nulla sint anim et eiusmod irure occaecat consectetur tempor consequat. Nostrud duis reprehenderit eu nulla et incididunt cillum aliquip nostrud eiusmod. Qui veniam ea ad aliqua. Anim cupidatat sit duis fugiat excepteur tempor incididunt cupidatat exercitation esse.\r\n", "registered": "2015-09-12T04:16:41 -01:00", "latitude": -60.194351, "longitude": -45.356317, "tags": [ "occaecat", "laboris", "deserunt", "ad", "magna", "amet", "Lorem" ], "friends": [ { "id": 0, "name": "Buck Nixon" }, { "id": 1, "name": "Amie Morales" }, { "id": 2, "name": "Gilliam Marks" } ], "greeting": "Hello, Della Blanchard! You have 9 unread messages.", "favoriteFruit": "strawberry", "val6": { "_id": "59410a69d575e8ee061d9a27", "index": 0, "guid": "bb8b6117-0795-4751-bdb3-1f6397b4a54f", "isActive": false, "balance": "$2,501.76", "picture": "http://placehold.it/32x32", "age": 38, "eyeColor": "blue", "name": "Brewer Tucker", "gender": "male", "company": "WRAPTURE", "email": "brewertucker@wrapture.com", "phone": "+1 (973) 584-3934", "address": "253 Louisa Street, Collins, Georgia, 343", "about": "Aute ipsum aute occaecat fugiat quis ad cillum duis esse ullamco et elit. In qui ipsum occaecat quis officia cupidatat culpa. Minim culpa ut laboris irure amet.\r\n", "registered": "2015-03-14T03:45:47 -00:00", "latitude": -33.704102, "longitude": 143.712982, "tags": [ "incididunt", "velit", "aliquip", "magna", "adipisicing", "proident", "adipisicing" ], "friends": [ { "id": 0, "name": "Perez Lynn" }, { "id": 1, "name": "Campbell Nieves" }, { "id": 2, "name": "Amalia Dyer" } ], "greeting": "Hello, Brewer Tucker! You have 7 unread messages.", "favoriteFruit": "banana", "val7": { "_id": "59410a692ac10519dcec3b50", "index": 0, "guid": "3a4ab894-7a38-4f7e-8c2d-e3cef321498a", "isActive": true, "balance": "$1,857.36", "picture": "http://placehold.it/32x32", "age": 40, "eyeColor": "blue", "name": "Lawson Nichols", "gender": "male", "company": "PAWNAGRA", "email": "lawsonnichols@pawnagra.com", "phone": "+1 (948) 463-2391", "address": "995 Dare Court, Shepardsville, New Hampshire, 1743", "about": "Labore id eu adipisicing occaecat labore voluptate commodo. Deserunt incididunt amet commodo nisi exercitation. Eu veniam elit magna non velit ea aliqua quis esse incididunt occaecat id. Sunt cupidatat laborum ex enim ad id. Nisi irure veniam fugiat proident ea ad pariatur. Ex nostrud amet labore magna quis.\r\n", "registered": "2015-12-29T02:13:40 -00:00", "latitude": -7.045269, "longitude": -166.484982, "tags": [ "fugiat", "consequat", "excepteur", "nulla", "commodo", "nulla", "cillum" ], "friends": [ { "id": 0, "name": "Webb Vasquez" }, { "id": 1, "name": "Alana Joseph" }, { "id": 2, "name": "Lottie Webster" } ], "greeting": "Hello, Lawson Nichols! You have 7 unread messages.", "favoriteFruit": "banana", "val8": { "_id": "59410a695a5368c2cbb2bf4f", "index": 0, "guid": "19680114-e090-4934-bb55-88df4edd35ba", "isActive": false, "balance": "$1,477.07", "picture": "http://placehold.it/32x32", "age": 35, "eyeColor": "blue", "name": "Le Camacho", "gender": "male", "company": "COMTOUR", "email": "lecamacho@comtour.com", "phone": "+1 (826) 407-2402", "address": "372 Corbin Place, Brooktrails, Mississippi, 2674", "about": "Pariatur anim magna do officia voluptate est exercitation laborum est enim. Sit culpa cillum commodo velit do qui ut esse culpa. Incididunt pariatur laboris reprehenderit elit ea ipsum adipisicing sit labore deserunt. Sit occaecat commodo nulla ut nostrud ut pariatur irure sunt deserunt magna. Eiusmod proident culpa enim laborum culpa reprehenderit magna in ad labore consectetur duis ea. Ipsum ex enim reprehenderit incididunt commodo ipsum exercitation reprehenderit deserunt irure qui incididunt commodo. Amet nulla elit tempor voluptate commodo deserunt ullamco exercitation nisi exercitation deserunt aute ea.\r\n", "registered": "2014-03-23T02:32:28 -00:00", "latitude": -23.087031, "longitude": 178.966969, "tags": [ "occaecat", "esse", "eu", "aute", "consequat", "cupidatat", "nostrud" ], "friends": [ { "id": 0, "name": "Ramirez Workman" }, { "id": 1, "name": "Lynnette Bryant" }, { "id": 2, "name": "Hill Vaughn" } ], "greeting": "Hello, Le Camacho! You have 9 unread messages.", "favoriteFruit": "apple" } } } } } } } } }
Tests:
jquery
var newObj = $.extend(true, {}, obj);
jquery extend without true
var newObj = $.extend({}, obj);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
jquery
jquery extend without true
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
I'll do my best to help. To solve this problem, I'll need to analyze the provided data and identify any patterns or insights that can be gleaned from it. Since there's no clear question or prompt, I'll make some assumptions: 1. The first section appears to be a JSON object representing user information. 2. The second section seems to contain benchmark results for JavaScript functions related to jQuery. 3. The third section is an HTML preparation code snippet. Assuming the main goal is to extract insights from these sections, here's my approach: **Section 1: User Information** * No specific analysis or extraction can be performed without more context (e.g., identifying the user, extracting relevant data). **Section 2: Benchmark Results** * I'll focus on the "ExecutionsPerSecond" metric for each test case. * For the first test case ("jquery extend without true"), the result is 238253.875 executions per second. * For the second test case ("jquery"), the result is 13596.365234375 executions per second. **Section 3: HTML Preparation Code** * This code snippet appears to be a source for jQuery library, which might be related to the benchmark results. With these observations in mind, my response will focus on providing insights from the benchmark results: Based on the latest benchmark result, it seems that the "jquery extend without true" test case outperforms the "jquery" test case in terms of executions per second. This suggests that using the `$.extend(true, obj)` method may provide a performance advantage over the simpler `$.extend(obj)` approach when working with large objects or complex data structures. Please note that this is an analysis based on the provided data and might not be relevant to your specific use case. If you have any further questions or context, feel free to provide them!
Related benchmarks:
Lodash cloneDeep vs JSON Clone (Large Object 2)
Lodash cloneDeep vs JSON Clone Large object
Lodash(v4.17.21) cloneDeep vs JSON Clone Larger object
structuredClone vs clone (with 1000 rows of somewhat real data)
Comments
Confirm delete:
Do you really want to delete benchmark?