Comments (2)
The goal is to survive a browser restart without losing your state, even if you haven't shared the profile publicly.
After sharing, should we delete the local data after changing the URL ?
Wait for symbolication to complete or no?
Actually, same question for public sharing :)
How to generate the ID?
Use a UUID ?
from profiler.
The goal is to survive a browser restart without losing your state, even if you haven't shared the profile publicly.
After sharing, should we delete the local data after changing the URL ?
I'd say yes.
Wait for symbolication to complete or no?
Actually, same question for public sharing :)
I'd say let's put it into the local database even during symbolication, and regularly update it until symbolication is done.
We can rate-limit the update based on time, and maybe even additionally use requestIdleCallback
.
How to generate the ID?
Use a UUID ?
Or a sha1 of a UUID? :)
Either way sounds good as long as we don't suddenly start putting dashes or curly braces into the URL. And the ID should be independent of symbolication because we want the following scenario to work:
- Collect the profile
- Apply some kind of filter
- Wait for symbolication to finish
- Click back to clear the filter
- Restart the browser
If symbolication changed the URL, then the URL that you'd go back to would be invalid, and on restart we wouldn't be able to load the right profile for it.
from profiler.
Related Issues (20)
- Consider making the stack chart always non-inverted
- Lots of markers cause the profiler to lock up HOT 2
- Showing all tracks of a profile with several hundred tracks janks the UI for more than 20 seconds HOT 1
- Attempting to draw a tooltip for a flat marker track (where all samples have the same value) causes a "Error: No samples for marker CPU" HOT 1
- `Bulk symbolication only supports a single thread` in active tab view
- In the active tab view, make the code that looks for the name of resource tracks fallible HOT 1
- "Error: No samples for marker CPU" when moving the mouse over a track in this marker-only profile HOT 2
- The logic to choose a format for a date in the list of uploaded profiles isn't always great HOT 3
- Incorrect rendering in stack chart HOT 1
- Some marker tooltips show urls as links that are not properly wrapped HOT 2
- An error occurred in Firefox Profiler
- Add an option in profiler, so that user could choose only save profile in local HOT 8
- Could not download the profile. Fenix: TypeError: NetworkError when attempting to fetch resource HOT 2
- Reimplement the marker chart by using several canvas elements instead of just one HOT 1
- An error occurred in Firefox Profiler
- Not working on webextension HOT 4
- Marker table toolbar layout is messed up in narrow windows
- Allow collapsing "recursion" of a method across different classes (different overrides when recursing on a virtual method) HOT 1
- Profiler stuck processing stuff for 4min+ while examining a profile 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 profiler.