|
|
Chromium Code Reviews|
Created:
8 years, 4 months ago by Mark P Modified:
8 years, 3 months ago CC:
chromium-reviews Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionAdds a PageLoad user that gets recorded on every page load, exactly at the same time as the pageload count histogram is updated.
For background: this is what most people think the LoadURL user action does. It does not. LoadURL only gets recorded only on omnibox-mediated events. LoadURL is in fact useless because there are already omnibox event logs which cover the same space.
BUG=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154077
Patch Set 1 #Patch Set 2 : Rename new LoadURL -> PageLoad #Patch Set 3 : rebase #
Total comments: 4
Patch Set 4 : Restore LoadURL. grrr. #Patch Set 5 : rebased #Messages
Total messages: 22 (0 generated)
Assigning to Ilya for preliminary comments on the code while I'm still awaiting feedback whether this is the right thing to do. --mark
LGTM, thanks :)
Note the new description and effect. I'm still holding off on checking this in until I get more comments. --mark
Requesting OWNERS review: sky - chrome/browser/ui/ review jar - chrome/browser/metrics/ review thanks, mark
LGTM
http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... File chrome/browser/ui/browser_commands.cc (left): http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... chrome/browser/ui/browser_commands.cc:344: content::RecordAction(UserMetricsAction("LoadURL")); Do you have any interest in seeing how these numbers compare to the new metric? By leaving this deprecated (perhaps with a comment, and TODO() ...remove) you get to see what the difference is "during real usage." WDYT? Perf wise, this would not IMO have any impact (re: cost of the extra metric).
http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... File chrome/browser/ui/browser_commands.cc (left): http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... chrome/browser/ui/browser_commands.cc:344: content::RecordAction(UserMetricsAction("LoadURL")); On 2012/08/27 21:40:59, jar wrote: > Do you have any interest in seeing how these numbers compare to the new metric? Good question. I don't see a good reason to compare the next numbers with the old. I know the new will generally be bigger, but how much so will vary substantially by country. At the moment, I don't see anything useful that could come of this. Push back if you want. (I don't feel that strongly about removing LoadURL, so if you feel strongly that I should keep it (in intended-to-be-ignored form) then tell me.) > By leaving this deprecated (perhaps with a comment, and TODO() ...remove) you > get to see what the difference is "during real usage." > > WDYT? > > Perf wise, this would not IMO have any impact (re: cost of the extra metric).
+cc Ian F. IMO, you should leave both intact for now. Ian may comment... and if his opinion differs, I'd go with his throughts. ...and then... LGTM. http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... File chrome/browser/ui/browser_commands.cc (left): http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... chrome/browser/ui/browser_commands.cc:344: content::RecordAction(UserMetricsAction("LoadURL")); I'm wary that it would instantly "break" the current "counts" dashboard that was historically resurrected (and maintained) by Ian F. IMO, unless you have a concurrent patch to fix those dashboards, you should leave 'em both in... then migrate the dashboards (maybe use both, and have two columns???), and then remove the old. On 2012/08/27 21:58:46, Mark P wrote: > On 2012/08/27 21:40:59, jar wrote: > > Do you have any interest in seeing how these numbers compare to the new > metric? > > Good question. I don't see a good reason to compare the next numbers with the > old. I know the new will generally be bigger, but how much so will vary > substantially by country. At the moment, I don't see anything useful that could > come of this. Push back if you want. (I don't feel that strongly about > removing LoadURL, so if you feel strongly that I should keep it (in > intended-to-be-ignored form) then tell me.) > > > By leaving this deprecated (perhaps with a comment, and TODO() ...remove) you > > get to see what the difference is "during real usage." > > > > WDYT? > > > > Perf wise, this would not IMO have any impact (re: cost of the extra metric).
ptal http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... File chrome/browser/ui/browser_commands.cc (left): http://codereview.chromium.org/10882022/diff/6001/chrome/browser/ui/browser_c... chrome/browser/ui/browser_commands.cc:344: content::RecordAction(UserMetricsAction("LoadURL")); On 2012/08/27 22:11:34, jar wrote: > I'm wary that it would instantly "break" the current "counts" dashboard that was > historically resurrected (and maintained) by Ian F. > > IMO, unless you have a concurrent patch to fix those dashboards, you should > leave 'em both in... then migrate the dashboards (maybe use both, and have two > columns???), and then remove the old. > > On 2012/08/27 21:58:46, Mark P wrote: > > On 2012/08/27 21:40:59, jar wrote: > > > Do you have any interest in seeing how these numbers compare to the new > > metric? > > > > Good question. I don't see a good reason to compare the next numbers with the > > old. I know the new will generally be bigger, but how much so will vary > > substantially by country. At the moment, I don't see anything useful that > could > > come of this. Push back if you want. (I don't feel that strongly about > > removing LoadURL, so if you feel strongly that I should keep it (in > > intended-to-be-ignored form) then tell me.) > > > > > By leaving this deprecated (perhaps with a comment, and TODO() ...remove) > you > > > get to see what the difference is "during real usage." > > > > > > WDYT? > > > > > > Perf wise, this would not IMO have any impact (re: cost of the extra > metric). > Okay. Restored LoadURL recording. I'll remove in way down the line after the dashboard migrates.
lgtm
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10882022/11001
Try job failure for 10882022-11001 (retry) on win for step "compile" (clobber build). It's a second try, previously, step "compile" failed. http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10882022/11001
Try job failure for 10882022-11001 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, previously, step "interactive_ui_tests" failed. http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10882022/11001
Try job failure for 10882022-11001 (retry) on win for step "compile" (clobber build). It's a second try, previously, step "compile" failed. http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10882022/11001
Try job failure for 10882022-11001 (retry) on win for step "compile" (clobber build). It's a second try, previously, step "compile" failed. http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10882022/15006
Try job failure for 10882022-15006 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, previously, step "interactive_ui_tests" failed. http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/10882022/15006
Change committed as 154077 |
