localstorage vs cache storage

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Local storage
window.localStorage.setItem("key", "value")
ready
Cache Storage
caches.open("sachin").then((cache) => cache.add("key", "value"))
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.