GithubHelp home page GithubHelp logo

devtools-preprocessor's Introduction

devtools-preprocessor

##DevTools API for preprocessor was deprecated and removed.

This DevTools Extension provide two tools based on script preprocessor API that you can use to trace JS execution and to measuring hits count.

  • Profiler tool implements instrumentation profiler. Tool replaces all functions in script and injects code that captures timing information for each function. It is a useful tool to trace code execution and a rough estimate of time costs. Profiler generates source map for each processed source that allows you to navigate to original source code and, for example, set some breakpoints.
  • Hits Counter tool measures the number of executions of each instruction. The tool can be useful when searching for unused code, or for measuring code coverage.

Extension uses next third party:

Build and install instructions

Install last release:

  • download *.crx for last release here
  • open chrome://extensions tab
  • drag and drop crx file to tab

Screenshots

Profiler

Hits Counter

devtools-preprocessor's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

devtools-preprocessor's Issues

live variable

Later, when chrome devtools API shall gain the method, that will allow me to receive selection in code editor, it will be interesting to try to implement "live variable" tool.

Not able to see anything under Profiler or Hit counts

Hi,

I am not able to see anything under Profiler or Hit counts. I am using latest Chrome version.
Basically I want to find out JS code coverage so thought to try devtools-preprocessor.I am having few FitNesse UI test cases and by executing these in browser I want to find out JS code coverage.I am not sure whether this is possible with devtools-preprocessor or not but wanted to just give it a try.

Please let me know what all steps I need to perform once I install devtools-preprocessor extension.
If there are any other tools/extensions you know please let me know.
Help is deeply appreciated.

1

Decrease crx size

Now crx archive with extension contains all polymer components and some debug files. 3.94 Mb isn't awesome size for simple extension.

Use IndexedDB

I can use IndexedDB instead window.top.* variables. It allows to overcome magic number in profile lengths problem.

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.