Skip to content

A Manifest V3 web extension for the purpose of benchmarking the chrome.storage.local and IndexedDB storage mechanisms within a service worker.

License

Notifications You must be signed in to change notification settings

stevenmclintock/manifest-v3-storage-benchmarking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking Manifest V3 Storage Mechanisms

This is a Manifest V3 web extension for the purpose of benchmarking the chrome.storage.local and IndexedDB storage mechanisms within a service worker.

Please install the unpacked extension in a Chromium browser.

The script will be executed automatically upon the initialization of the service worker and benchmarking data will be stored in the variable benchmarks using the following structure:

[
    {
        rowsInserted: number,
        storageOperation: 'get' | 'set',
        durationOfStorageApi: number,
        durationOfIndexedDB: number,
    }
]

I recommend executing console.table(benchmarks) in DevTools to view the benchmarking data in tabular form:

Benchmarks in DevTools

About

A Manifest V3 web extension for the purpose of benchmarking the chrome.storage.local and IndexedDB storage mechanisms within a service worker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published