Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Statistics #67

Closed
2 of 6 tasks
stoically opened this issue Feb 26, 2018 · 1 comment
Closed
2 of 6 tasks

More Statistics #67

stoically opened this issue Feb 26, 2018 · 1 comment
Milestone

Comments

@stoically
Copy link
Owner

stoically commented Feb 26, 2018

It would be nice to collect some more statistics

  • localStorage and sessionStorage using the Storage API in a contentscript
  • indexedDB in a contentscript No API available to query for all indexedDB databases
  • Requests with webRequest API that have a content-length header
  • Using webRequest filterResponseData to manually count the size if no content-length header is available Needs a blocking request handler that only finishes when filter function is done, too much overhead for just statistic purposes
  • With the Performance API in a contentscript (CORS related entries don't have a size)
  • Currently cookies are counted onChanged, which introduces unnecessary overhead and isn't accurate. Instead just use cookies.getAll with the Temporary Containers storeId before deleting it, that way there's no calling of cookies.onChanged all the time and we get the actual cookie count (even taking cookie cleaners into account)
@stoically stoically changed the title Refactor Cookie Statistics Refactor Statistics Feb 26, 2018
@stoically stoically changed the title Refactor Statistics More Statistics Feb 26, 2018
@stoically stoically added this to the v1.0 milestone Feb 26, 2018
stoically added a commit that referenced this issue Mar 27, 2018
stoically added a commit that referenced this issue Mar 29, 2018
@stoically
Copy link
Owner Author

Keeping statistics like they are. The mentioned way to collect more statistics would just introduce massive overhead with no actual gain, despite more numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant