Comments (5)
Also, having the ability "un-drop" a specific function would be very useful.
For example, you may want to drop samples in GC, find the heaviest JS function (by JS self-time), focus that function, and un-drop GC.
from profiler.
Proposed UI:
from profiler.
I've noticed some additional cases where reordering the drop transform with the rest of the transform stack doesn't preserve the result.
Case 1: Focus + Drop with recursion
If you have two samples:
A -> B -> C
A -> B -> A
Focus on B, Drop A. Now only the A->B->C sample remains.
Unfocus B. Now all samples are gone! This is somewhat unexpected.
Case 2: Drop + Collapse
If you have two samples
A -> B -> C
A -> B -> D
Drop C. Then collapse B. There should be only one sample remaining, but with the proposed implementation (dropping at the end, after all transforms are applied), both samples would remain!
I'm not yet sure what to do about this.
from profiler.
I feel like creating a drop Set
and merge Set
preserves the non-commutative nature of transforms. This way if you do 10 drops in a row, it would all be in a single set on the transform stack, e.g.
{ type: "drop", funcIndex: Set<IndexIntoFuncTable> }
from profiler.
The UI you propose could be done inline in the existing bar. I'm wondering if you could also make it overflow: auto so that even if you have 100 entries, you could still navigate it. Or maybe it's worth not putting it in a bar and just have some UI similar to your 51 dropped functions
that opens a modal or dropdown.
from profiler.
Related Issues (20)
- Profiling sources of JS garbage no longer works? HOT 4
- Loading this profile is too slow HOT 1
- Document power profiling
- There is a gap between the JavaScript radio button and its label HOT 1
- An error occurred in Firefox Profiler
- An error occurred in Firefox Profiler HOT 1
- Misleading URL in "Collapse resource" context menu item HOT 2
- An error occurred in Firefox Profiler
- An error occurred in Firefox Profiler HOT 2
- An error occurred in Firefox Profiler HOT 1
- new HOT 1
- 5
- Automatically open zip files with a single profile
- An error occurred in Firefox Profiler HOT 1
- Don't show "Lookup function name on Searchfox" in Single tab view
- Using Profiler without internet
- "RangeError: invalid digits value: NaN." when loading a profile HOT 2
- In the documentation, make the link to matrix more obvious
- CPU tooltip is incorrect in this profile (shouldn't take idle category into account)
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 profiler.