Query: A timer for render?

54 views
Skip to first unread message

@TiddlyTweeter

unread,
Mar 5, 2018, 7:38:59 AM3/5/18
to TiddlyWiki
I'm wondering if there is simple way in a (single) Tiddler so you can measure (roughly) how long it takes to render. This, in my case, would aid tests a lot (I'm working at lot with both huge tiddlers and complex processing).

One thought I had was to have a starting macro that simply saved the current time to a State Tiddler Time-A.

And a final macro that saved the current (end) time to State Tiddler Time-B.

Then you could use a lightweight math tool like Thomas Elmiger's RPN to calculate elapsed time between A & B?

Workable?

Anyone done something like this already?

Best wishes
Josiah








PMario

unread,
Mar 5, 2018, 8:53:20 AM3/5/18
to TiddlyWiki
Hi,

There is a ControlPanel: Setting

See: Enable Performance Instrumentation If you check the setting -> save -> reload
F12 will show you some basic performance infos.

-m

@TiddlyTweeter

unread,
Mar 5, 2018, 12:37:06 PM3/5/18
to TiddlyWiki
Ciao PMario

I looked at it. I can see its good for recording overall load performance. But its not giving me (or I don't know where to find it!) timing when I change one thing (like open a Tiddler) which is what I need most.

Best wishes
Josiah
Reply all
Reply to author
Forward
0 new messages