diff --git a/lib/WebGUI/Asset/Shortcut.pm b/lib/WebGUI/Asset/Shortcut.pm index 3929d1a6c..8bb0449ad 100644 --- a/lib/WebGUI/Asset/Shortcut.pm +++ b/lib/WebGUI/Asset/Shortcut.pm @@ -942,7 +942,10 @@ sub view { # Make sure the www_view method won't be skipped b/c the asset is cached. $shortcut->purgeCache(); - $content = $shortcut->view; + my $t = ($self->session->log->canShowPerformanceIndicators()) ? [Time::HiRes::gettimeofday()] : undef; + $content = $shortcut->view; + $content .= "Shortcut:" . Time::HiRes::tv_interval($t) + if $t; # Make sure the overrides are not cached by the original asset. $shortcut->purgeCache();