Measure startup performance of TiddlyWiki on NodeJS

75 views
Skip to first unread message

Arlen Beiler

unread,
Jan 29, 2016, 1:31:47 PM1/29/16
to TiddlyWiki
Is there a way to measure the startup performance of TiddlyWiki on NodeJS?
Thanks,
-Arlen

Mat

unread,
Jan 29, 2016, 3:00:16 PM1/29/16
to TiddlyWiki
I don't know, but just making sure you know of the built in Performance Instrumentation

<:-)

Arlen Beiler

unread,
Jan 29, 2016, 3:14:03 PM1/29/16
to TiddlyWiki
Yes, thank you. That doesn't seem to measure startup, though.

On Fri, Jan 29, 2016 at 3:00 PM, Mat <matia...@gmail.com> wrote:
I don't know, but just making sure you know of the built in Performance Instrumentation

<:-)

--
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.
To post to this group, send email to tiddl...@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/4ff20273-dd6b-45db-9394-4ecffd897a49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Felix Küppers

unread,
Jan 29, 2016, 3:33:20 PM1/29/16
to tiddl...@googlegroups.com
Hi Arlen,

a hacky solution: you could do the following: Add a tiddler with javascript code wrapped inside a script tag that calls "console.time('test')" in a tiddler tagged with "$:/tags/RawMarkup". Also add a startup module tiddler that executes after the river has loaded and calls "console.timeEnd('test')". This will measure the time that it takes to load from beginning to the end.

Probably somebody knows a better and less hacky solution.

-Felix

Felix Küppers

unread,
Jan 29, 2016, 3:57:30 PM1/29/16
to tiddl...@googlegroups.com
Ehm, alternatively, since the code executes synchronously, you could also simply add the timestart timeend around the code in https://github.com/Jermolene/TiddlyWiki5/blob/master/tiddlywiki.js
Reply all
Reply to author
Forward
0 new messages