Very slow on android

244 views
Skip to first unread message

HC Haase

unread,
Feb 14, 2016, 9:38:59 AM2/14/16
to TiddlyWiki
Both in andtiddlywiki and FF it takes minimum 18 seconds to open my tiddlywiki. Can I do annything to speed it up or make it nobile friendly?

I have made it start on a simple tiddler and only show open tiddlers in the menu tab.

Mark S.

unread,
Feb 14, 2016, 3:04:16 PM2/14/16
to TiddlyWiki
How big is your TW? One of the weaknesses of TW is that is not an indexed database system. So once you've done everything reasonable like you alredy have, you either have to get a more powerful device or reduce the size of your data set.

One thing you could is to partition your data into separate TW's that have links to each other. So you might have one TW for work and the other for home, or split off contacts from the rest of your data.Or split off frequently referenced data from "archived" data. And, of course, you have imported images, consider moving them into external image files.

HTH
Mark

Pit.W.

unread,
Feb 14, 2016, 4:07:41 PM2/14/16
to tiddl...@googlegroups.com

*links to each other
*moving them into external image files

... some practical advice (ho-to) on the above would be welcome...,especially on how to link TWs to each other.

Pit.W
--
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/affd785d-0ded-4bb0-abd4-3df4f2afeb27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




Mark S.

unread,
Feb 14, 2016, 4:33:51 PM2/14/16
to TiddlyWiki, Pi...@eclipso.ch
An external link to a separate TW in the same directory as the current TW would look like:

   [ext[TW Testbed|TestBed515.htm]]

An image link to an external image in a subdirectory of the current directory would look like:

  [img[2014/Transit/2014-Subway-Schedule-Green-Line.jpg]]

However, I'm thinking lately that it might be better to go with an image macro system as outlined on Tobias Beer's site (http://tobibeer.github.io/tb5/#External%20Image%20Path)

The advantage here is that you can separate and sync images separately from the TW file. So, for instance, you might want your image files to reside on an SD card rather than taking up space in your main memory.

In terms of collecting information while on your android, it might be more efficient to save the images using some existing tool (evernote, ES file manager) to save the images and then later manipulate them on your desktop.

On your desktop  you can use the local snip mode of tiddlyclip (http://tiddlyclip.tiddlyspot.com/) . What you do is navigate to the file directory of your images in one tab, and then use the tiddlyclip local image feature to send  your image links into TW on another tab.

Tiddlyclip is configurable, so it might be possible to have it create Tobias'  macro instead of an image reference on the fly. I haven't tried that yet, but that would make it easier to have linked images created associated with image paths that can be changed based on current context.

These challenges on the Android are part of the reason I haven't embraced TW5 fully yet. I think the future of computing for most of us is going to be more about mobile devices and less about desktop machines.  That said, TW5 is just about the only supported open source information manager that works on all platforms out there.

HC Haase

unread,
Feb 19, 2016, 7:37:58 AM2/19/16
to TiddlyWiki, Pi...@eclipso.ch

Thanks for the reply’s.
Well it is a bit big, around 12mb. But I think I only have one pic I can remove so it's not going to do much. I have around 850 tiddlers and quite a lot of plug-ins.
I would not like to partition my data, since it would break the idea of one file with everything. But maybe that’s my best option.


Is thee a way to transclude a tiddler form another tiddlywiki, like when you load an external img? or would that just make it load it and make it slow again?



I certainly agree with you that mobile devices is going to be more central. And it a shame that TW don’t preform well there. But TW still have the advantage of being a single file, open and portable tool. I think that many of the note apps that exist have too much lock in effect for me to trust it all my precious notes.



HC

Mark S.

unread,
Feb 19, 2016, 3:35:09 PM2/19/16
to TiddlyWiki, Pi...@eclipso.ch
On the old TWC there was a plugin that would let you transclude other TW's.

12mb seems like a lot for only 850 tiddlers. I have a TW of a book with more than 1000 tiddler/chapters, and it's only 6mb.

Check out that image. Even a single image you've snapped on your phone can take a lot of space. It's stored internally as base 64 ascii, which inflates the size it even more.

HTH
Mark

HC Haase

unread,
Feb 22, 2016, 7:41:48 AM2/22/16
to TiddlyWiki, Pi...@eclipso.ch
On the old TWC there was a plugin that would let you transclude other TW's.
That could be nice to have in TW5 too.

I tried deleting the image, but it only went form 12 to 8.8 mb. I'm not quite sure what's going on.
well thanks for the advice.

HC Haase

unread,
Feb 25, 2016, 4:10:05 AM2/25/16
to TiddlyWiki
I found a workaround that helps, but require a bit more manual work.

I simply keep a clean (with no plugins) TW for mobile input and then later, on a pc export the tiddelers with my mobile input and import it in my main TW (and optionally back to get sync).

Using the clean TW cut the boot time in half.


Reply all
Reply to author
Forward
0 new messages