Open Bug 1126093 Opened 9 years ago Updated 2 years ago

Toggle performance analysis view without reloading if analysis has already been done

Categories

(DevTools :: Netmonitor, defect)

defect

Tracking

(Not tracked)

People

(Reporter: alberts, Unassigned)

References

Details

When performing a performance analysis from the network panel, the page reloads. I would actually suspect the analysis already been done when clicking the "toggle performance analysis" icon on the lower right hand corner - similar to Bug 862341 regarding the network request panel.

When clicking on the "Back" button within the performance analysis tool it simply switches to the network request panel as expected. But when clicking the button again, it performs another refresh. Is that a requirement? I suspected that I could toggle between both views without refreshing the page all the time.
It probably makes sense to reuse results if they are already available, as opposed to doing a reload.  Victor, what do you think?
Flags: needinfo?(vporof)
I wanted to say: "I expected that I could toggle between both views without refreshing the page all the time."
(In reply to Brian Grinstead [:bgrins] from comment #1)
> It probably makes sense to reuse results if they are already available, as
> opposed to doing a reload.  Victor, what do you think?

No way to guarantee all requests were loaded with cache enabled or disabled (can't remember which).

(In reply to Albert Scheiner [:alberts] from comment #2)
> I wanted to say: "I expected that I could toggle between both views without
> refreshing the page all the time."

That makes sense. We should prevent performing analysis again if it was already done.
Flags: needinfo?(vporof)
Summary: toggle performance analysis without reloading → Toggle performance analysis view without reloading if analysis has already been done
Blocks: 1037489
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.