Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
JSON vs JS
(version: 0)
Comparing performance of:
JSON vs JS
Created:
4 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script nonce="VoE8xYIYEN3EQpx6isHpYg==" type="application/json" data-serialize-box-id="h4GzErVDTJybCQTEmPd4NA==zykHJMKuSo2epoLszF6BoA==">{"fullscreenVariant":null,"enableSmallSuggestionImages":false,"advancedSearchCriterias":[{"checked":false,"id":"searchInDescriptionChange","label":"szukaj też w opisach ofert","queryParameter":{"value":"1","key":"description"}}],"enableCustomPerformanceMarks":true,"enableFullscreen":false,"enableRewriteSuggestionButton":true,"enableSuggesterHistory":true,"enableSuggestionRemovalButtonOnHover":false,"enableSuggestionsForEmptyPhrase":true,"filters":{"list":[{"name":"Wszystkie kategorie","url":"\u002Flisting","type":"ALL"},{"code":"household","name":"Dom i ogród","alias":"dom-i-ogrod","id":"5","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fdom-i-ogrod"},{"code":"baby","name":"Dziecko","alias":"dziecko","id":"11763","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fdziecko"},{"code":"electronics","name":"Elektronika","alias":"elektronika","id":"42540aec-367a-4e5e-b411-17c09b08e41f","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Felektronika"},{"code":"company","name":"Firma i usługi","alias":"firma","id":"4bd97d96-f0ff-46cb-a52c-2992bd972bb1","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Ffirma"},{"code":"collections.art","name":"Kolekcje i sztuka","alias":"kolekcje-i-sztuka","id":"a408e75a-cede-4587-8526-54e9be600d9f","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fkolekcje-i-sztuka"},{"code":"culture.entertainment","name":"Kultura i rozrywka","alias":"kultura-i-rozrywka","id":"38d588fd-7e9c-4c42-a4ae-6831775eca45","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fkultura-i-rozrywka"},{"code":"fashion.beauty","name":"Moda","alias":"moda","id":"ea5b98dd-4b6f-4bd0-8c80-22c2629132d0","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fmoda"},{"code":"automotive","name":"Motoryzacja","alias":"motoryzacja","id":"3","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fmotoryzacja"},{"code":"real.estate","name":"Nieruchomości","alias":"nieruchomosci","id":"20782","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fnieruchomosci"},{"code":"sports.leisure","name":"Sport i turystyka","alias":"sport-i-turystyka","id":"3919","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fsport-i-turystyka"},{"code":"supermarket","name":"Supermarket","alias":"supermarket","id":"258832","type":"DEPARTMENT","url":"\u002Fkategoria\u002Fsupermarket"},{"code":"beauty","name":"Uroda","alias":"uroda","id":"1429","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Furoda"},{"code":"health","name":"Zdrowie","alias":"zdrowie","id":"121882","leaf":false,"type":"DEPARTMENT","url":"\u002Fkategoria\u002Fzdrowie"},{"name":"Cele charytatywne","url":"\u002Fcharytatywni\u002Fcele","type":"CHARITY_GOALS"},{"name":"Organizacje charytatywne","url":"\u002Fcharytatywni\u002Forganizacje","type":"CHARITY_ORGANIZATIONS"},{"name":"Sprzedawcy","url":"\u002Fuzytkownik","type":"USERS"},{"name":"Zakończone","url":"\u002Fzakonczone","type":"ENDED"}],"selected":0},"inputPhrase":"","staticQueryParameters":[]}</script>
Script Preparation code:
window.opbox = { boxProperties: {} };
Tests:
JSON
const element = document.querySelector('script[data-serialize-box-id="h4GzErVDTJybCQTEmPd4NA==zykHJMKuSo2epoLszF6BoA=="]'); const data = JSON.parse(element.innerText);
JS
window.opbox.boxProperties["h4GzErVDTJybCQTEmPd4NA==zykHJMKuSo2epoLszF6BoA=="] = { "fullscreenVariant": null, "enableSmallSuggestionImages": false, "advancedSearchCriterias": [ { "checked": false, "id": "searchInDescriptionChange", "label": "szukaj też w opisach ofert", "queryParameter": { "value": "1", "key": "description" } } ], "enableCustomPerformanceMarks": true, "enableFullscreen": false, "enableRewriteSuggestionButton": true, "enableSuggesterHistory": true, "enableSuggestionRemovalButtonOnHover": false, "enableSuggestionsForEmptyPhrase": true, "filters": { "list": [ { "name": "Wszystkie kategorie", "url": "/listing", "type": "ALL" }, { "code": "household", "name": "Dom i ogród", "alias": "dom-i-ogrod", "id": "5", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/dom-i-ogrod" }, { "code": "baby", "name": "Dziecko", "alias": "dziecko", "id": "11763", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/dziecko" }, { "code": "electronics", "name": "Elektronika", "alias": "elektronika", "id": "42540aec-367a-4e5e-b411-17c09b08e41f", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/elektronika" }, { "code": "company", "name": "Firma i usługi", "alias": "firma", "id": "4bd97d96-f0ff-46cb-a52c-2992bd972bb1", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/firma" }, { "code": "collections.art", "name": "Kolekcje i sztuka", "alias": "kolekcje-i-sztuka", "id": "a408e75a-cede-4587-8526-54e9be600d9f", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/kolekcje-i-sztuka" }, { "code": "culture.entertainment", "name": "Kultura i rozrywka", "alias": "kultura-i-rozrywka", "id": "38d588fd-7e9c-4c42-a4ae-6831775eca45", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/kultura-i-rozrywka" }, { "code": "fashion.beauty", "name": "Moda", "alias": "moda", "id": "ea5b98dd-4b6f-4bd0-8c80-22c2629132d0", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/moda" }, { "code": "automotive", "name": "Motoryzacja", "alias": "motoryzacja", "id": "3", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/motoryzacja" }, { "code": "real.estate", "name": "Nieruchomości", "alias": "nieruchomosci", "id": "20782", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/nieruchomosci" }, { "code": "sports.leisure", "name": "Sport i turystyka", "alias": "sport-i-turystyka", "id": "3919", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/sport-i-turystyka" }, { "code": "supermarket", "name": "Supermarket", "alias": "supermarket", "id": "258832", "type": "DEPARTMENT", "url": "/kategoria/supermarket" }, { "code": "beauty", "name": "Uroda", "alias": "uroda", "id": "1429", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/uroda" }, { "code": "health", "name": "Zdrowie", "alias": "zdrowie", "id": "121882", "leaf": false, "type": "DEPARTMENT", "url": "/kategoria/zdrowie" }, { "name": "Cele charytatywne", "url": "/charytatywni/cele", "type": "CHARITY_GOALS" }, { "name": "Organizacje charytatywne", "url": "/charytatywni/organizacje", "type": "CHARITY_ORGANIZATIONS" }, { "name": "Sprzedawcy", "url": "/uzytkownik", "type": "USERS" }, { "name": "Zakończone", "url": "/zakonczone", "type": "ENDED" } ], "selected": 0 }, "inputPhrase": "", "staticQueryParameters": [] }
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
JSON
JS
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.1:latest
, generated one year ago):
It seems you've provided a JSON object representing user agents and test results. To answer your implicit question, I'll extract some information from the provided data: **User Agent Data:** There are 9 types of user agents listed in the JSON object: 1. `DEPARTMENT` (7 occurrences) 2. `CHARITY_GOALS` (1 occurrence) 3. `CHARITY_ORGANIZATIONS` (1 occurrence) 4. `ENDED` (1 occurrence) 5. `USERS` (1 occurrence) **Test Results:** There are two test results listed: 1. **JS Test:** The test was executed 581,379.25 times per second on a desktop device running Windows with Chrome 100 as the browser. 2. **JSON Test:** The test was executed 67,183.7578125 times per second on a desktop device running Windows with Chrome 100 as the browser. Let me know if you have any specific questions or if there's anything else I can help you with!
Related benchmarks:
Lodash cloneDeep vs JSON Clone 121212121
JSON vs JS v2
Benchmark lodash vs JSON
JSON.stringify vs structuredClone large one
Comments
Confirm delete:
Do you really want to delete benchmark?