Alright, a little more information. I just did a different test with backlinks. On most of my tiddlers, I have a tab that lists all of the backlinks to that tiddler. When I click on that, I see a similar delay. Looking at the performance instrumentation, I see the following:
mainRefresh: 3381.10ms "filter: [all[current]backlinks[]!search:description[Newspapers]limit[1]]" takes 3316.5ms However, this long time only happens the very first time I click this particular backlinks tab for any tiddler. Any other tiddler after that, I can open that tab in a fairly fast time. Although, I need to experiment a bit further, I think this is the same thing that is happening with Relink. It's the first time a backlinks filter is run that takes forever. Any time after that, it seems reasonably fast (unless the TW is reloaded then it starts all over again). So my question is now becoming what is it about the first time the filter for backlinks is run that takes so long? Is it the size of my TW or something else? On Sunday, June 6, 2021 at 4:00:57 PM UTC-7 History Buff wrote: > So I decided to enable performance instrumentation to get a feel for what > was going on. When I did this and started changing a tiddler title the > mainrefresh was only 364 ms. But when I exectuted $tw.perf.log(); to see > what the filter performance was, the first filter listed which was "filter: > [title<fromTitle>backlinks[]limit[1]]" and the timing was 3085.2 ms. That's > definitely noticeable and was about 85% of the total time. > > I also noticed that if I just sit there and wait several seconds, the > delay in switching tiddlers and editing fields goes way down. > > On Sunday, June 6, 2021 at 2:53:59 PM UTC-7 History Buff wrote: > >> One further question that I just thought of. I have several iFrames >> linked to Wikipedia pages within the TW. Would that happen to have any >> performance issues with Relink or Tiddlywiki in general? >> >> On Sunday, June 6, 2021 at 2:13:48 PM UTC-7 History Buff wrote: >> >>> Not silly questions at all. I'm using 5.1.23 for Tiddlywiki and 2.0.0 of >>> Relink. >>> >>> I hadn't tried disabling or deleting before you asked. I did try both >>> methods and changed the name of a tiddler. While there was still some delay >>> while Tiddlywiki determines which other tiddlers, the performance was >>> greatly improved. It took maybe a few tenths of a second for TW to find all >>> the affected tiddlers. >>> >>> On Sunday, June 6, 2021 at 1:54:33 PM UTC-7 [email protected] wrote: >>> >>>> Silly questions: what version of TiddlyWiki and what version of Relink? >>>> >>>> Also, if you disable Relink, do you notice a significant difference in >>>> performance changing a tiddler's title, compared to doing same title >>>> change >>>> to same tiddler with Relink enabled ? >>>> >>>> On Sunday, June 6, 2021 at 5:46:21 PM UTC-3 History Buff wrote: >>>> >>>>> One more thing to add. I've also noticed that while I'm editing the >>>>> tiddler than I'm changing the name of, performance is generally sluggish >>>>> throughout. This is especially true if I switch tiddlers before saving or >>>>> try to add or edit a field. It's not until I save the tiddler that >>>>> performance goes back to normal. >>>>> >>>>> On Sunday, June 6, 2021 at 11:26:40 AM UTC-7 History Buff wrote: >>>>> >>>>>> All, >>>>>> >>>>>> I apologize if this has been addressed before. I did some searching >>>>>> and didn't really find anything. >>>>>> >>>>>> I have a rather large wiki with 3370 tidders, uses 244 tags and is >>>>>> nearly 11 MB in size. I've noticed a huge slowness when I rename a >>>>>> tiddler. >>>>>> It takes 1-2 seconds for relink to finish finding all of the tiddlers >>>>>> that >>>>>> are going to be affected. I'm not exactly sure when this started since I >>>>>> don't rename tiddlers very often, but it seemed to just suddenly start >>>>>> being an issue and not something that just got slower over time >>>>>> (appearances can be deceiving so I could be wrong). >>>>>> >>>>>> I've played with the configuration options a bit, but haven't found >>>>>> anything that really makes a difference. (I must admit that I don't >>>>>> claim >>>>>> to understand the many options fully.) >>>>>> >>>>>> Since I don't rename tiddlers terribly often, it's more of an >>>>>> annoyance than a real issue. >>>>>> >>>>>> Is this just a side effect of my wiki being large? Are there some >>>>>> options that would affect performance more than others? >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9b53e986-f9ab-4313-9a13-21366926eebcn%40googlegroups.com.

