You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/05/13 10:01:00 UTC
[jira] [Commented] (WICKET-4216) Enhance
AjaxServerAndClientTimeFilter to use HTML5's Navigation Timing API
[ https://issues.apache.org/jira/browse/WICKET-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541559#comment-14541559 ]
Martin Grigorov commented on WICKET-4216:
-----------------------------------------
https://github.com/okor/justice
> Enhance AjaxServerAndClientTimeFilter to use HTML5's Navigation Timing API
> --------------------------------------------------------------------------
>
> Key: WICKET-4216
> URL: https://issues.apache.org/jira/browse/WICKET-4216
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.0.0-beta1
> Environment: All
> Reporter: Robert McGuinness
> Priority: Trivial
>
> in AjaxServerAndClientTimeFilter.java, instead of:
> map.put("clienttime", "' + (new Date().getTime() - clientTimeVariable)/1000 + 's");
> Wicket could use:
> map.put("clienttime", "' + (new Date().getTime() - performance.timing.navigationStart)/1000 + 's");
> which could output something like:
> Server parsetime: .01s, User-perceived page loading time: .02s
> https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)