Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Local storage cahce2
(version: 0)
Comparing performance of:
cached vs no cache
Created:
7 years ago
by:
Guest
Jump to the latest result
Tests:
cached
"use strict"; (() => { //Set default values on local storage if it is unavailable const strg = localStorage; const storageControl = null//strg.getItem("storage-control"); if ( storageControl === null ) { console.log("Kera Desktop started with defaults."); strg.setItem("storage-control","stored"); const settings = { "locale": { "language": "en" }, "style": { "shell":"default", "ui":"default", "icon": "default", "animations": "default", "background": "theme/background/image", "bg_image": "/home/mutlu/Dropbox/Kera/theme/background/image/contents/4a.jpg", "bg_style":"centered", "color": { "startup":"black" } }, "font": { "general": "Hind", "startup": "NanumBarunGothic" }, "color": { //color palette from KDE "active": "#3daee9", "neutral": "#f67400", "positive": "#27ae60", "negative": "#da4453", "red": "#e74c3c", "orange": "#e67e22", "yellow": "#f1c40f", "green": "#2ecc71", "turquoise": "#1abc9c", "blue": "#3498db", "purple": "#9b59b6", "text": { "startup": "gray", "general": "#333333" } }, "panel": { "icon_size": 40 }, "power": { "profiles": { "performance": { "animations": "full" }, "balanced": { "animations": "normal" }, "animations": { "animations": "none" } }, "onac": { "screen-off": 600000, "sleep": 0 }, "onbat": { "screen-off": 120000, "sleep": 600000 } }, "a11y": { "screen-reader": false, "screen-keyboard": false, "screen-magnifier": false, "bounce-keys": false, "mouse-keys": false, "sticky-keys": false, "slow-keys": false, "high-constast": false, "auto-click": false, "switch-access": false, "voidce-control": false, "motion-sickness": false, "mono-audio": false, "captions": false, "motion-control": false, "braille": false } }; const apps = { "uitest": { "name":"UI Test", "keywords":"test, demo, ui, kera, coffee, notification", "genericname":"Test Application", "description":"User Interface test application", "category":"system", "icon":"apps/uitest/icon.svg", "run":"apps/uitest/uitest.html" } }; const panelapps = [ "calendar", "weather", "finance", "chat", "translate", "clipboard" ]; const startup = [ "settings-service" ]; strg.setItem("settings", JSON.stringify(settings)); strg.setItem("apps", JSON.stringify(apps)); strg.setItem("panelapps", JSON.stringify(panelapps)); strg.setItem("startup", JSON.stringify(panelapps)); } })()
no cache
"use strict"; (() => { //Set default values on local storage if it is unavailable const storageControl = null//strg.getItem("storage-control"); if ( storageControl === null ) { console.log("Kera Desktop started with defaults."); localStorage.setItem("storage-control","stored"); const settings = { "locale": { "language": "en" }, "style": { "shell":"default", "ui":"default", "icon": "default", "animations": "default", "background": "theme/background/image", "bg_image": "/home/mutlu/Dropbox/Kera/theme/background/image/contents/4a.jpg", "bg_style":"centered", "color": { "startup":"black" } }, "font": { "general": "Hind", "startup": "NanumBarunGothic" }, "color": { //color palette from KDE "active": "#3daee9", "neutral": "#f67400", "positive": "#27ae60", "negative": "#da4453", "red": "#e74c3c", "orange": "#e67e22", "yellow": "#f1c40f", "green": "#2ecc71", "turquoise": "#1abc9c", "blue": "#3498db", "purple": "#9b59b6", "text": { "startup": "gray", "general": "#333333" } }, "panel": { "icon_size": 40 }, "power": { "profiles": { "performance": { "animations": "full" }, "balanced": { "animations": "normal" }, "animations": { "animations": "none" } }, "onac": { "screen-off": 600000, "sleep": 0 }, "onbat": { "screen-off": 120000, "sleep": 600000 } }, "a11y": { "screen-reader": false, "screen-keyboard": false, "screen-magnifier": false, "bounce-keys": false, "mouse-keys": false, "sticky-keys": false, "slow-keys": false, "high-constast": false, "auto-click": false, "switch-access": false, "voidce-control": false, "motion-sickness": false, "mono-audio": false, "captions": false, "motion-control": false, "braille": false } }; const apps = { "uitest": { "name":"UI Test", "keywords":"test, demo, ui, kera, coffee, notification", "genericname":"Test Application", "description":"User Interface test application", "category":"system", "icon":"apps/uitest/icon.svg", "run":"apps/uitest/uitest.html" } }; const panelapps = [ "calendar", "weather", "finance", "chat", "translate", "clipboard" ]; const startup = [ "settings-service" ]; localStorage.setItem("settings", JSON.stringify(settings)); localStorage.setItem("apps", JSON.stringify(apps)); localStorage.setItem("panelapps", JSON.stringify(panelapps)); localStorage.setItem("startup", JSON.stringify(panelapps)); } })()
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
cached
no cache
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):
Based on the provided benchmark results, I'll analyze the data to answer your question. There are two benchmark results: **Cached Result** * Execution frequency per second (ExecutionsPerSecond): 6718.6552734375 * Test Name: "cached" **No Cache Result** * Execution frequency per second (ExecutionsPerSecond): 3032.442626953125 * Test Name: "no cache" Comparing the two results, it appears that the cached result is significantly faster than the no-cache result. This suggests that caching has a positive impact on the performance of the test. Without more context or information about what's being tested, it's difficult to provide a definitive answer. However, based solely on the benchmark data: * Caching improves the execution frequency by approximately 120% (from 3032.442626953125 to 6718.6552734375). * The test name "cached" implies that caching is enabled for this specific scenario. If you're asking whether caching should be enabled in general, I'd recommend considering the trade-offs between performance and memory usage, as well as any potential security implications of storing sensitive data (e.g., cache contents).
Related benchmarks:
Local storage cahce
Local storage cahce1
aaaabbbnmmbhjhg
aaaabbbnmmbhjhgsdf
Comments
Confirm delete:
Do you really want to delete benchmark?