Comments (5)
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.
Imagine an "Enhance" button that then switched to the low-count highlighting palette:
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.
We also get feint colors; I wanted to explore the single color.
from flamescope.
@brendangregg assuming this is closed.
from flamescope.
@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.
@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)
- Use npm or yarn (not both) HOT 1
- add an upload endpoint HOT 2
- more caching in parsed events
- Adding eBPF profiler support HOT 1
- Python 3.8 doesn't work with Werkzeug 0.15.3 in current requirements.txt HOT 2
- Can I ask where is the pip package? HOT 1
- ImportError: cannot import name 'Feature' from 'setuptools' HOT 4
- perf flamegraphs: no tooltips HOT 5
- Heatmap offsets memory cache not being populated
- Missing samples in what flamescope displays HOT 2
- missing button icons
- sluggish interaction with d3 plugins HOT 1
- No pre-built client bundle in the master branch HOT 4
- Add y-axis label markers to help people understand the visualisation HOT 2
- HTTP ERROR 404 HOT 1
- Nothing at this URL HOT 10
- UnicodeDecodeError exception is raised when an unreadable file is in profile dir
- Is it possible to add a new record player or delete function on the web? HOT 1
- How do you use these two functions? (Open as Netflix Profile/Open as Chrome CPU Profile) HOT 1
- Idle regexp eats up softirq frames HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flamescope.