Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(495)

Issue 2560041: Common container: facilitate timing for gadget navigation (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 4 months ago by mhermanto
Modified:
15 years, 4 months ago
Reviewers:
johnfargo, dev-remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

- timing information can be broadcast'ed to containers for analysis / custom reporting. - Shindig will only (to start) synchronously broadcast metadata response time, mrt. - at Google, we additionally broadcast in-gadget-render times, page render times (prt), dom load (dl) and ol (onload). This is done by an asychronous hook to our custom timing feature. &mid= is in render URL to uniquely identify gadget on page. - will add tests if impl/design of this look sound.

Patch Set 1 : Update patch #

Patch Set 2 : Update patch #

Total comments: 1

Patch Set 3 : Update patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -15 lines) Patch
features/pom.xml View 2 1 chunk +6 lines, -0 lines 0 comments Download
features/src/main/javascript/features/container/constant.js View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
features/src/main/javascript/features/container/container.js View 1 2 3 chunks +22 lines, -2 lines 0 comments Download
features/src/main/javascript/features/container/gadget_holder.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
features/src/main/javascript/features/container/gadget_site.js View 1 2 4 chunks +42 lines, -11 lines 0 comments Download
features/src/main/javascript/features/container/util.js View 1 2 2 chunks +11 lines, -1 line 0 comments Download
features/src/test/javascript/features/alltests.js View 2 2 chunks +11 lines, -0 lines 0 comments Download
features/src/test/javascript/features/container/container_test.js View 1 chunk +46 lines, -0 lines 0 comments Download
features/src/test/javascript/features/container/gadget_holder_test.js View 1 chunk +45 lines, -0 lines 0 comments Download
features/src/test/javascript/features/container/gadget_site_test.js View 2 1 chunk +137 lines, -0 lines 0 comments Download
features/src/test/javascript/features/container/service_test.js View 1 chunk +44 lines, -0 lines 0 comments Download
features/src/test/javascript/features/container/util_test.js View 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 9
mhermanto
15 years, 4 months ago (2010-10-19 07:46:58 UTC) #1
johnfargo
We optionally could choose to list (ie. in some kind of "timing.consts" feature) the various ...
15 years, 4 months ago (2010-10-19 23:57:59 UTC) #2
johnfargo
Naming nit: I'd prefer to call the callback "timingCallback" rather than "navigateCallback," since the latter ...
15 years, 4 months ago (2010-10-20 00:01:38 UTC) #3
mhermanto
On Tue, Oct 19, 2010 at 5:01 PM, John Hjelmstad <johnfargo@gmail.com> wrote: > Naming nit: ...
15 years, 4 months ago (2010-10-21 04:39:14 UTC) #4
mhermanto
On Tue, Oct 19, 2010 at 4:57 PM, <johnfargo@gmail.com> wrote: > We optionally could choose ...
15 years, 4 months ago (2010-10-21 04:39:36 UTC) #5
mhermanto
On 2010/10/21 04:39:36, mhermanto wrote: > On Tue, Oct 19, 2010 at 4:57 PM, <mailto:johnfargo@gmail.com> ...
15 years, 4 months ago (2010-11-05 01:30:19 UTC) #6
mhermanto
On 2010/11/05 01:30:19, mhermanto wrote: > On 2010/10/21 04:39:36, mhermanto wrote: > > On Tue, ...
15 years, 4 months ago (2010-11-05 01:30:34 UTC) #7
johnfargo
LGTM Only comment is FMI. http://codereview.appspot.com/2560041/diff/31001/features/src/test/javascript/features/container/gadget_site_test.js File features/src/test/javascript/features/container/gadget_site_test.js (right): http://codereview.appspot.com/2560041/diff/31001/features/src/test/javascript/features/container/gadget_site_test.js#newcode63 features/src/test/javascript/features/container/gadget_site_test.js:63: this.assertEquals(1, site.getId()); are these ...
15 years, 4 months ago (2010-11-05 20:31:30 UTC) #8
mhermanto
15 years, 4 months ago (2010-11-05 20:33:11 UTC) #9
On Fri, Nov 5, 2010 at 1:31 PM, <johnfargo@gmail.com> wrote:

> LGTM
>
> Only comment is FMI.
>
>
>
>
http://codereview.appspot.com/2560041/diff/31001/features/src/test/javascript...
> File features/src/test/javascript/features/container/gadget_site_test.js
> (right):
>
>
>
http://codereview.appspot.com/2560041/diff/31001/features/src/test/javascript...
> features/src/test/javascript/features/container/gadget_site_test.js:63:
> this.assertEquals(1, site.getId());
> are these asserts strict requirements or is it just a requirement that
> site.getId() != site2.getId()?


You're right, with !=.

http://codereview.appspot.com/2560041/
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b