Coder Social home page Coder Social logo

gabrielcsapo / broccoli-inspector Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 1.0 13.61 MB

๐Ÿ” inspect what's really happening in your broccoli pipeline

License: Apache License 2.0

JavaScript 63.70% HTML 0.90% TypeScript 0.40% Handlebars 28.96% SCSS 6.04% Shell 0.01%
broccoli debug middleware

broccoli-inspector's People

Contributors

chriskrycho avatar gabrielcsapo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

chriskrycho

broccoli-inspector's Issues

[feature] process management info

Motivation

Be able to get the current process and be able to chart out memory and cpu usage over time. Useful to understand the impacts of a build on the current machine.

var process = require('process');
if (process.pid) {
   console.log('This process is your pid ' + process.pid);
}
// This process is your pid 70044

[feature] be able to introspect on node

Being able to stop on a node in a debugging session should be as easy as clicking on the node and saying, "Connect Debugger". This should simply set up a chrome debugging session when that node begins. This will require work in broccoli to be able to pause on a node or something that will allow us to stop the build without cancelling it.

[bug] should require broccoli@3, if not should show an error page?

Tried broccoli-inspector 0.2.1 in a project using broccoli 2.3.0 and the ember serve errored out:

  - stack: TypeError: Cannot read property 'entries' of undefined
    at nodeWrappersById (/my/project/node_modules/broccoli-inspector/lib/middleware.js:92:23)
    at module.exports (/my/project/node_modules/broccoli-inspector/lib/middleware.js:15:34)
    at module.exports (/my/project/server/index.js:25:47)

[feature] be able to search plugins list by fuzzy search

We should be able search by id, inputFiles, outputFiles anything that the graphql endpoint exposes without having to specify what attribute the value you are looking for is coming from.

Screen Shot 2020-04-16 at 11 14 48 AM

Given this examples we should be able to search assets/broccoli-inspector.css and it should resolve to the plugins that use this file in any aspect.

[enhancement] update build chart

Update build chart that shows plugins and how much time they take as a scatterplot, it will be easier to grok and as a bar chart right now it doesn't show the breakdown well at all.

[feature] galanceable dashboard

When first opening up broccoli, it would be great to see glanceable information to identify where to investigate time to speed up build.

  1. Total time (of the build itself)
  2. Slowest running node
  3. Total FS timing information

[feature] be able to diff builds

Between two different builds there should be an interface that takes a current build and allows the engineer to get the results between the two.

This could show the following;

  • Avg time increase between specific plugins or plugin groups
  • Differences in input and output files
  • Automatically show outlying data either positive or negative.

[feature] Add hover/tooltip on plugin row

image

Results in the Plugins view render as fixed-height rows inside a fixed-width panel, resulting in truncation when the labels are long. This makes it hard to visually distinguish the rows without clicking them one at a time to load the full label (and other data) into the main panel.

Can we either allow the results panel to be resized wider, or add a tooltip there on each row?

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.