"Export All" hangs browser in 5.3.0

I’ve recently upgraded my TW from 5.2.7 to 5.3.0 having no errors. The only issue that I’ve come across is with “Export All”, which hangs the browser regardless of which export option I choose.
Running on MacOS 13.4.1 and experience the same under Safari, Firefox, and Chrome.

1 Like

Ouch. … I can confirm it with FF on Windows.
@jeremyruston

1 Like

Using the export button in the page controls, in my key wiki, On Chrome I did not see a problem.

  • Exporting tiddlywiki.com from FF and Chrome, I got variouse time out issues but it seemed to work in the long run, once I found the save dialogues open behind the browser.
1 Like

After reading your reply, I tried exporting again and checking for a “save dialogues open behind the browser”, but on multiple attempts it never appeared. How many tiddlers do you have? I’ve got 6414 (that I’ve created). Under TW v5.2.7, the Export All to JSON it literally takes 1 second. Under v5.3.0 it hangs all three browsers (Firefox, Safari and Chrome).

Oh, I’m running on M2 Max Apple Silicon, by the way.

1 Like

I think the point is the misbehavior is easy to reproduce at tiddlywiki.com:

  1. Go to tiddlywiki.com
  2. Click on the tools sidebar tab
  3. Click the export all button and choose json (I didn’t try the others)
  4. The browser is hung

By using git bisect, I was able to reproduce the behavior in this commit, but one commit earlier and it works fine:

Even with this clue it might be tricky to figure out what is going wrong. I’ll open an issue on github.

Edit: opened issue: [BUG] Export all on tiddlywiki.com 5.3.0 hangs the browser · Issue #7592 · Jermolene/TiddlyWiki5 · GitHub

1 Like

Some of my observations, maybe it will help.

I have tried exporting different number of tiddlers from tiddlywiki.com using [all[tiddlers]!is[system]first[n]] with different numbers. A slowdown (taking a couple seconds instead of instant) was noticeable around 100, with numbers like 150 taking over a minute (I didn’t wait further). However, exporting 109 icons using filter [all[shadows]regexp[^\$:/core/images/]] is instant.

On my own largest wiki (800 [all[tiddlers]!is[system]]) “export all” takes only 2–3 seconds, but it is still noticeably slower than in an older backup of the same wiki on older TW version, where it was instant. This wiki doesn’t use many macros or transclusions in the user tiddlers, certainly a lot less than tiddlywiki.com.

My conclusion is that exporting in 5.3.0 is slower than in older versions, and dependent on the contents of the exported tiddlers, not just their number.

2 Likes

My tests were on tiddlywiki.com a large wiki. My gut feeling is its a performance issue which is manifesting as a problem, not nessasarily a failure, although it may as well be.

1 Like