GithubHelp home page GithubHelp logo

Comments (5)

brendangregg avatar brendangregg commented on August 26, 2024

It would be great to have an "Enhance" button that switched to a palette like this, based on count:

  • 0: white
  • 1-2: shades of blue (light->dark).
  • 3-max: a red scale (pink->red?)

The aim is to highlight single-threaded activity, which will either have a count of 1 (eg, 49 Hertz sampling on a 50 row heatmap) or 2 (99 Hertz sampling on a 50 row heatmap). Hence making 1 & 2 blue, and the rest shades of red.

Here is an example. This is application startup, which includes many single-threaded stages. Since they have low counts in the columns, they are almost white in the default profile.

screen shot 2018-04-04 at 11 46 08 am

Imagine an "Enhance" button that then switched to the low-count highlighting palette:

screen shot 2018-04-04 at 11 50 19 am

That looks ok (the blue goes beyond a 1-2 count in this mock up, which it shouldn't). I'd resist adding more colors to this (think weather radar maps) since it can become visually ugly. Keep it simple. Blue, then a red scale.

This should be easy to do. See the colorScale() function in the heat map.

from flamescope.

ceeaspb avatar ceeaspb commented on August 26, 2024

We also get feint colors; I wanted to explore the single color.

screen shot 2018-04-09 at 18 26 05

screen shot 2018-04-09 at 18 26 49

screen shot 2018-04-09 at 18 30 23

from flamescope.

spiermar avatar spiermar commented on August 26, 2024

@brendangregg assuming this is closed.

from flamescope.

brendangregg avatar brendangregg commented on August 26, 2024

@ceeaspb that's a pretty interesting profile. How does it look with the new "Enhance Colors" button? Maybe so interesting it deserves a blog post. :)

from flamescope.

ceeaspb avatar ceeaspb commented on August 26, 2024

@brendangregg sorry combination of holiday and been busy - I wasn't sure at first but yes it looks great with the enhanced palette! And yes I need to work on my blog writing skills :)
The handful of really intense cpu activity pixels was perf itself, which I should probably ask about on perf-users.

from flamescope.

Related Issues (20)

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.