Closed Bug 1166126 Opened 10 years ago Closed 10 years ago

Frame parsing issues with giant URLs

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

41 Branch
defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: jsantell, Unassigned)

References

Details

Attachments

(2 files)

Hopefully removing the queries from the URLs cleans this up a bit in bug 1049865, but I think we'll need to do some more magic so these giant strings never appear anywhere.
Depends on: 1049865
Yap, profiler only contains 512 characters for the location, which means when we parse, we're going to get an ugly response either way
Example of what gets rendered.
(In reply to Jordan Santell [:jsantell] [@jsantell] from comment #2) > Yap, profiler only contains 512 characters for the location, which means > when we parse, we're going to get an ugly response either way oh god
Can we just not bake in those strings in the profile json? AFAIK, we have those strings separate in the first place, but weld them together at some point, then breaking them apart in the frontend. This is terrible.
Probably a question for Mr. Shu-yu Guo
Flags: needinfo?(shu)
Do you have a raw JSON I could look at?
Attachment #8607322 - Flags: review?(mstange)
Flags: needinfo?(shu)
Comment on attachment 8607322 [details] [diff] [review] Increase the size of the tag buffer in the profiler. Review of attachment 8607322 [details] [diff] [review]: ----------------------------------------------------------------- Are we still using dynamic tags for JS frame URLs? I thought we "symbolicated" JS frame when we save the profile? Or did that all just happen in my head?
Attachment #8607322 - Flags: review?(mstange) → review+
(In reply to Markus Stange [:mstange] from comment #9) > Comment on attachment 8607322 [details] [diff] [review] > Increase the size of the tag buffer in the profiler. > > Review of attachment 8607322 [details] [diff] [review]: > ----------------------------------------------------------------- > > Are we still using dynamic tags for JS frame URLs? I thought we > "symbolicated" JS frame when we save the profile? Or did that all just > happen in my head? For JIT frames, since we save the instruction pointers for those and "symbolicate" them at streaming time. Interpreter frames (which is what's hitting this limit) is still using the pseudo stack, unfortunately.
Oh, I see. That is unfortunate.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Profiler patch landed, but unsure if anything else needs to be done on the client, reopening
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
This looks good -- parsing giant URLs. Closing.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: