Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
LocalStorage Write with JSON.stringify v2
(version: 0)
Comparing performance of:
Control vs localStorage vs JSON.stringify vs Both
Created:
3 years ago
by:
Guest
Jump to the latest result
Tests:
Control
var FOO = 'bar';
localStorage
localStorage.setItem('foo', 'bar');
JSON.stringify
var FOO = JSON.stringify({ "online_players_list": [ "taserverbot" ], "online_servers_list": [ { "locked": true, "map": "Dangerous Crossing", "mode": "goty", "name": "AU Pugs", "players": [], "type": "CTF" }, { "locked": false, "map": "Bella Omega NS", "mode": "goty", "name": "AU Capping Practice", "players": [], "type": "CTF" }, { "locked": false, "map": "Arx Novena", "mode": "goty", "name": "AU Arena", "players": [], "type": "CTF" }, { "locked": true, "map": "Arx Novena", "mode": "goty", "name": "AU Testing", "players": [], "type": "CTF" }, { "locked": false, "map": "Outskirts", "mode": "ootb", "name": "NA TDM West", "players": [], "type": "TDM" }, { "locked": false, "map": "Nightabatic", "mode": "ootb", "name": "bunny rabbit", "players": [], "type": "Rabbit" }, { "locked": false, "map": "Walled In", "mode": "ootb", "name": "Honor Arena", "players": [], "type": "Arena" }, { "locked": false, "map": "Undercroft", "mode": "ootb", "name": "Instagib", "players": [], "type": "Arena" }, { "locked": false, "map": "Katabatic", "mode": "goty", "name": "NA Capping Practice", "players": [], "type": "CTF" }, { "locked": false, "map": "Katabatic", "mode": "ootb", "name": "frog testing", "players": [], "type": "CTF" }, { "locked": true, "map": "Walled In", "mode": "ootb", "name": "solly's sandbox", "players": [], "type": "Arena" }, { "locked": false, "map": "Walled In", "mode": "ootb", "name": "Mixer-style Arena", "players": [], "type": "Arena" }, { "locked": true, "map": "Dangerous Crossing", "mode": "ootb", "name": "NA Mixer", "players": [], "type": "CTF" }, { "locked": false, "map": "Tartarus", "mode": "ootb", "name": "G26's EU pub server 1", "players": [], "type": "CTF" }, { "locked": false, "map": "Permafrost", "mode": "goty", "name": "G26's EU pub server 2", "players": [], "type": "CTF" } ] });
Both
localStorage.setItem('foo', JSON.stringify({ "online_players_list": [ "taserverbot" ], "online_servers_list": [ { "locked": true, "map": "Dangerous Crossing", "mode": "goty", "name": "AU Pugs", "players": [], "type": "CTF" }, { "locked": false, "map": "Bella Omega NS", "mode": "goty", "name": "AU Capping Practice", "players": [], "type": "CTF" }, { "locked": false, "map": "Arx Novena", "mode": "goty", "name": "AU Arena", "players": [], "type": "CTF" }, { "locked": true, "map": "Arx Novena", "mode": "goty", "name": "AU Testing", "players": [], "type": "CTF" }, { "locked": false, "map": "Outskirts", "mode": "ootb", "name": "NA TDM West", "players": [], "type": "TDM" }, { "locked": false, "map": "Nightabatic", "mode": "ootb", "name": "bunny rabbit", "players": [], "type": "Rabbit" }, { "locked": false, "map": "Walled In", "mode": "ootb", "name": "Honor Arena", "players": [], "type": "Arena" }, { "locked": false, "map": "Undercroft", "mode": "ootb", "name": "Instagib", "players": [], "type": "Arena" }, { "locked": false, "map": "Katabatic", "mode": "goty", "name": "NA Capping Practice", "players": [], "type": "CTF" }, { "locked": false, "map": "Katabatic", "mode": "ootb", "name": "frog testing", "players": [], "type": "CTF" }, { "locked": true, "map": "Walled In", "mode": "ootb", "name": "solly's sandbox", "players": [], "type": "Arena" }, { "locked": false, "map": "Walled In", "mode": "ootb", "name": "Mixer-style Arena", "players": [], "type": "Arena" }, { "locked": true, "map": "Dangerous Crossing", "mode": "ootb", "name": "NA Mixer", "players": [], "type": "CTF" }, { "locked": false, "map": "Tartarus", "mode": "ootb", "name": "G26's EU pub server 1", "players": [], "type": "CTF" }, { "locked": false, "map": "Permafrost", "mode": "goty", "name": "G26's EU pub server 2", "players": [], "type": "CTF" } ] }));
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
Control
localStorage
JSON.stringify
Both
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):
It seems like you want me to answer a question based on the provided data, but there is no clear question asked. However, I'll try to infer what's being asked. You're providing two JSON objects that seem to be related to game servers (specifically, Team Fortress 2) and benchmarking results. The first object appears to be a list of available game servers, while the second object contains benchmarking results for different tests. Given this context, I'll take a guess: Are you asking me to find any commonalities or differences between the two sets of data? Specifically, are there any game servers or test names that appear in both lists? Please clarify if I'm on the right track or provide more context if needed!
Related benchmarks:
localstorage and jsonparse
LocalStorage Write with JSON.stringify
aaaabbbnmmbhjhg
aaaabbbnmmbhjhgsdf
Comments
Confirm delete:
Do you really want to delete benchmark?