Giter VIP home page Giter VIP logo

closure-tracker's Introduction

Closure Tracker

Closure Tracker is a google chrome plugin which provides real-time graphs and information about Javascript events that are being fired. It is meant for use with the Google Closure Javascript library.

Installation Notes

One click install

Closure Tracker on App Store

Development

First clone the repository

git clone git://github.com/Jigarsolanki/closure-tracker.git

You will have to have npm installed as well as node. You have to run the node application to serve the JS files for development. Go to the folder you cloned Closure Tracker to and type

npm install
node app.js

After that install the plugin for chrome by going to

  • Settings > Extensions
  • Enable 'Developer Mode'
  • Load unpacked extension
  • Browse to where you cloned the repository and select the chrome-extension-development folder

The tracker will now be enabled for any site you visit from 127.0.0.1 or localhost

Usage

  • To open or close the tracker press 'alt + shift + t' or click on the Tracker button.
  • Press the reset button to clear the logger and total event graph
  • Add items to the input box above the logger to exclude events you don't care about

Description

Closure Tracker

Events Per Second Gauge

This is a measure of events that are firing RIGHT NOW. It provides an idea of just how many events got fired in a very short timespan (seconds). The idea is similar to a steam engine hitting a tipping point in how much energy it is expending at that exact moment

Registered Event Listeners Realtime Linegraph

This graph is continuously updated with the current count of event listeners on the page. Anytime listeners increase or decrease it will be reflected here.

Total Events Fired

The barchart here shows all event types that have been fired and the count of how many times they have been fired.

Event Logger

The event logger stores the last 200 events that have been fired and the name of the event. An input box is present allowing one to exclude events by typing in an event name they don't want to see in the logger anymore.

Clicking on an event in the logger will output the entire event to the google chrome console (we attempted to do this in the toolbar but this proved to be a simpler and faster solution)

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.