Giter Club home page Giter Club logo

chromeio's Introduction

chromeio

Script to analyze File I/O for the Chrome web browser. This script is mostly platform agnostic. However, it is currently designed to read output produced by Process Monitor, so at present this is a Windows only tool.

Prerequisites

  1. Install Process Monitor.
  2. Install Python.

Gathering File I/O

  1. Start Process Monitor. You will be presented with a "Process Monitor Filter" dialog. In order to only filter Chrome events you will want to add a filter rule: "Process Name + contains + chrome".
  2. Press the OK button to begin capturing I/O events.
  3. Uncheck File→Capture Events to cease the capture process.

Analyzing I/O

Once you have a capture to analyze you will need to export the log as a CSV file.

  1. Make sure "Time of Day" is the first column.
  2. File → Save (CSV).

Now that you have the CSV file you are ready to run this tool.

python chromeio <path/to/Logfile.CSV>

Here is an example report:

python chromeio.py path/to/Logfile.CSV

Categories:
===========
Cache                  : 56359128 (53.7 MB) (55.4%)
Temp                   : 17829990 (17.0 MB) (17.5%)
IndexedDB              : 15484215 (14.8 MB) (15.2%)
Cookies                : 4760784 (4.5 MB) (4.7%)
Other                  : 3425280 (3.3 MB) (3.4%)
Sync Data              : 2260232 (2.2 MB) (2.2%)
Extensions             : 565680 (552.4 KB) (0.6%)
Sqlite temp            : 543372 (530.6 KB) (0.5%)
Local storage          : 246784 (241.0 KB) (0.2%)
GCM Store              : 97904 (95.6 KB) (0.1%)
Filesystem             : 68006 (66.4 KB) (0.1%)
Safe Browsing          : 25712 (25.1 KB) (0.0%)
GPU Cache              : 6512 (6.4 KB) (0.0%)
Media Cache            : 5920 (5.8 KB) (0.0%)
Session storage        : 2448 (2.4 KB) (0.0%)
Bookmarks              : 0 (0) (0.0%)
CRX Install            : 0 (0) (0.0%)
Favicons               : 0 (0) (0.0%)
Font Cache             : 0 (0) (0.0%)
Index Journal          : 0 (0) (0.0%)
JumpList Icons         : 0 (0) (0.0%)
Local State            : 0 (0) (0.0%)
PNACL                  : 0 (0) (0.0%)
Preferences            : 0 (0) (0.0%)
Shortcuts              : 0 (0) (0.0%)
Sync Extension Settings: 0 (0) (0.0%)
Total                  : 101681967 (97.0 MB)

Over 0:16:47, Chrome is
  reading 35815.1 Bps (2.9 GB/day)
  writing 100975.1 Bps (8.1 GB/day)

IndexedDB:
==========
Default-https_docs.google.com_0.indexeddb.leveldb           : 15484215 (14.8 MB) (15.2%)

chromeio's People

Contributors

cmumford avatar randomascii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.