Added to TW-Scripts

On Saturday, March 16, 2019 at 8:01:52 PM UTC+3:30, Jeremy Ruston wrote:
>
> Hi Mohammad
>
> Is there any code, macro, widget to calculate the elapsed time for any 
> action in Tiddlywiki?
>
> Is there a simple timer macro to see the elapsed time when another macro 
> performs a task?
>
>
> The core has built-in instrumentation for the refresh cycle. Find 
> “Performance Instrumentation” on the “Settings” tab of control panel. 
> You’ll need to reload the wiki before it takes effect.
>
> With performance instrumentation switched on, you’ll see additional timing 
> information in the browser developer console each time a refresh cycle is 
> triggered. For example:
>
> performance: mainRender: 327.83ms 
> performance: +filter: 49.70ms 
> performance: styleRefresh: 9.14ms 
> performance: +filter: 2.46ms 
> performance: mainRefresh: 68.10ms 
> performance: +filter: 37.69ms 
>
>
> The information above should be interpreted as follows:
>
> “Initial rendering of the main page took 327ms (of which 50ms was filter 
> evaluation). Refreshing the page stylesheet took 9ms (of which 2ms was 
> filter evaluation). Refreshing the main page took 68ms (of which 38ms was 
> filter evaluation)"
>
> * mainRender is the time taken for the initial display of the page template
> * styleRefresh is the time taken to refresh the page stylesheet
> * mainRender is the time taken to refresh the main page template
> * in each case, +filter denotes the time taken up with filter evaluation.
>
> As an example, try switching between the sidebar tabs to compare how long 
> they take to render.
>
> Best wishes
>
> Jeremy
>
>
>
>
> --Mohammad
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com <javascript:>.
> To post to this group, send email to tiddl...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/2456b5b8-8cfd-43d5-b6c4-28d76f649117%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/2456b5b8-8cfd-43d5-b6c4-28d76f649117%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6490de9f-2e8b-4791-ad9d-3338f6d05722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to