Giter Club home page Giter Club logo

js-tda's Issues

Add ability to handle multiple thread dump files

I originally wrote JS-TDA to accommodate them, but took it out as I didn't see a need to do so. Still, might be handy rather than forcing people to open a new tab. You can drop a log with multiple dumps in it, which will (hopefully) display properly in the meantime.

Thoughts:

  • Add a DIV under the dumps with a drag/drop area, a la 'no dumps' UI
  • Maybe just add a plus button/DIV with a "append logs" or somesuch
  • Should probably fingerprint each dump with a combination of file + time occurred to prevent collisions

Add a summary/advice tab

In addition to the summary of things like thread counts, sleeping threads etc., TDA shows a bunch of advice on the "dump node", the tree node corresponding to the highest level of the dump. This includes suggestions like:

  • N% of your threads are sleeping, this might be resource contention or lots of waiting threads
  • Warnings about monitors without locking threads

It would be worth seeing how hard this is to add

Add tl;dr summary to README

That points to the GitHub pages hosted version... No need to make people suffer through a saga to use the tool.

Loading a log with multiple dumps causes thread indexes to be too high

If you have two dumps, each with 230 threads in them (just happened to do this today), you'll get both dumps listed in the UI and can switch between them. This works fine, and seems to do what you'd expect, except that the "thread index" counter is shared between both of the dumps.

When you click on the first dump you see threads 0-229, but when you click the second dump you see threads 230-459. This is a little confusing, especially since there's nothing that works cross-dump (IE: you can't click something in Dump 0 that goes to Dump 1).

This is hopefully a simple counter issue, and would involve resetting the counter between parsing dumps.

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.