Comments (7)
This reminds me that some people on the tracking protection and privacy side were interested in the performance overhead of scripts by domain. This is sort of in that direction.
from profiler.
All of my profile's ResourceTable
s have empty icon columns. Does this need to be added in the Gecko Profiler or on the add-on? Or do we need to fetch those manually and shove them into the profile?
from profiler.
For JS from add-ons, we need help from the Gecko Profiler add-on to capture add-on icons. We also need it to capture the relevant add-on information to know what URLs belong to to what add-on.
For "webhosts", it's trickier. The old cleopatra would just do blindly assume <host>/favicon.ico
had a relevant favicon, if I recall correctly.
from profiler.
The old cleopatra would just do blindly assume /favicon.ico had a relevant favicon, if I recall correctly.
I've looked at some websites today, some of them have nothing at <hostname>/favicon.ico
but instead specifies the icon through a<link rel="shortcut icon">
element. Others have different icons.
So here are some examples FTR:
Examples without favicon:
Examples where there is a favicon:
- www.mozilla.org
- https://github.com
- https://www.google.com
- slack
- medium
- duckduckgo
- bugzilla
Examples were there is a different worst favicon than the shortcut icon:
- deezer
from profiler.
Seems like the easiest approach would be to do the naive thing by attempting to fetch the file, if it's found use it, and see if people complain when certain favicons don't show up.
from profiler.
Yeah that's my approach too.
from profiler.
So there are 6 PR with 6 different approaches. They come from combining these characteristics:
- icons in a separate fixed columns or next to the function name
- use
<img>
or div withbackground-image
. The former seems to hit a bug in Firefox that is difficult to reproduce with simpler testcases, where the image is always refreshed. - use redux or not
from profiler.
Related Issues (20)
- 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)
- An error occurred in Firefox Profiler
- UI crashes when moving the mouse to the end of the graph (RangeError: invalid digits value: NaN.)
- Add a way to make a marker field used for the tooltipLabel searchable without showing it twice in the tooltip
- Missing assembly code
- An error occurred in Firefox Profiler HOT 3
- An error occurred in Firefox Profiler HOT 1
- Various stack chart issues
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.