Re: [tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-15 Thread Arlen Beiler
You definitely don't have to compile stuff. You just need to do a little
configuring of apps, but now that I discovered Dory, the need for that has
gone down. Sometime soon I will write an app to generate the configuraton
automatically.

If you want to contribute toward the cost of time, there's a link on the
TiddlyServer GitHub repo.

On Sat, Sep 15, 2018, 18:45 @TiddlyTweeter  wrote:

> I posted enthusiastically about this thread here:
> https://groups.google.com/d/msg/tiddlywiki/GUnOZYd6_oY/5CxNTf4cCQAJ
>
> *This is a very interesting thread because it seems to get to the heart of
> Android usage issues.*
>
> The one comment I want to make (as a NON-programmer) is in actual life I
> need a simple app I can download and get started. Looking at having to
> compile stuff on node is a total non-starter for me, and, I think, most
> potential users.
>
> Best wishes
> Josiah
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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/124d01ee-d081-4a9d-974a-15a5534e0a85%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/CAJ1vdST3gc-qaaT0FKbMQng-4Ufz_P7XoTV82o6q4yTxPxwDdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-15 Thread @TiddlyTweeter
I posted enthusiastically about this thread here: 
https://groups.google.com/d/msg/tiddlywiki/GUnOZYd6_oY/5CxNTf4cCQAJ

*This is a very interesting thread because it seems to get to the heart of 
Android usage issues.*

The one comment I want to make (as a NON-programmer) is in actual life I 
need a simple app I can download and get started. Looking at having to 
compile stuff on node is a total non-starter for me, and, I think, most 
potential users.

Best wishes
Josiah

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/124d01ee-d081-4a9d-974a-15a5534e0a85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-14 Thread Arlen Beiler
Issue created.

https://github.com/Jermolene/TiddlyWiki5/issues/3450

Arlen

On Sat, Sep 15, 2018, 10:24 Arlen Beiler  wrote:

> Wow, vm.runInNewContext is the culprit. I changed the code to use the
> Function factory and it loads in 2.5 seconds.
>
> I think I'll open an issue.
>
> On Fri, Sep 14, 2018, 12:01 Riz  wrote:
>
>>
>>
>> My input
>> 
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To post to this group, send email to tiddlywiki@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/b2919ac3-4172-4a22-b9da-4e44a52def00%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> On Fri, Sep 14, 2018, 12:01 Riz  wrote:
>
>>
>>
>> My input
>> 
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To post to this group, send email to tiddlywiki@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/b2919ac3-4172-4a22-b9da-4e44a52def00%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/CAJ1vdSS4UzpYyQ7c%2Bh-rFs3a07hY9X0-EE1Vvk2ow2%3DKv4AdEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-14 Thread Arlen Beiler
Wow, vm.runInNewContext is the culprit. I changed the code to use the
Function factory and it loads in 2.5 seconds.

I think I'll open an issue.

On Fri, Sep 14, 2018, 12:01 Riz  wrote:

>
>
> My input
> 
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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/b2919ac3-4172-4a22-b9da-4e44a52def00%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

On Fri, Sep 14, 2018, 12:01 Riz  wrote:

>
>
> My input
> 
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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/b2919ac3-4172-4a22-b9da-4e44a52def00%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/CAJ1vdSRS1sf17weozG7kr-vG9JhxGx%2BDAEhvZhq7Oj5WA%3DNvxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-13 Thread Riz


My input 


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/b2919ac3-4172-4a22-b9da-4e44a52def00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-12 Thread Arlen Beiler
Maybe we should add a feature where it saves a render of the startup
tiddlers which will display until the render tree is up and running.

I wonder if it is possible to show a progress indicator as well, but the
code we're talking about here is completely synchronous.

I also wonder what would happen if we compiled it all into one file using
something like webpack. I'm sure we could write our own because most
modules have the same environment.

On Wed, Sep 12, 2018, 22:29 @TiddlyTweeter  wrote:

> Mark S. wrote:
>>
>> TiddlyWiki in general is slow for me on my circa 2012 Samsung devices.
>> Takes 20 to 30 seconds to load a stand-alone TW file.
>>
>
> I don't mind waiting once in a while as I now know the bang for buck. But
> IF it were my first time testing it, as a possible future user, its a
> complete and utter turn off.
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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/f444f706-3ad7-4a5d-9c82-33a701a31a48%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/CAJ1vdSQdsm%3D6QnCnsA31wfTBhKVvnTxLG%3Dd2g2B%2BHf4Nt6r3zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-12 Thread @TiddlyTweeter
Mark S. wrote:
>
> TiddlyWiki in general is slow for me on my circa 2012 Samsung devices. 
> Takes 20 to 30 seconds to load a stand-alone TW file. 
>

I don't mind waiting once in a while as I now know the bang for buck. But 
IF it were my first time testing it, as a possible future user, its a 
complete and utter turn off. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/f444f706-3ad7-4a5d-9c82-33a701a31a48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-12 Thread 'Mark S.' via TiddlyWiki
TiddlyWiki in general is slow for me on my circa 2012 Samsung devices. 
Takes 20 to 30 seconds to load a stand-alone TW file. 

-- Mark

On Tuesday, September 11, 2018 at 8:58:35 PM UTC-7, Arlen Beiler wrote:
>
> I ran some tests this morning and discovered why it takes so long for 
> TiddlyWiki and TiddlyServer to load datafolders on Android with Dory and 
> Termux. Apparently there is something about the process of converting the 
> tiddlers into code that is very slow on android. TiddlyServer loads one 
> file containing all the core tiddlers and yet it takes 30 seconds to list 
> all the core tiddlers in a --prof dump file. 
>
> In other words, I ran a --prof on TiddlyServer loading a data folder, and 
> then searched for all strings starting with "$:/" and it gave me a list of 
> all the core tiddlers over a span of 30 seconds. 
>
> So this means that the filesystem is definitely not the bottle neck. I'm 
> investigating ways to improve performance. 
>
> Just thought I'd share that and see if anyone else has any input.
> Arlen
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/565a553b-7af4-4191-ad8b-4209c5697933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-11 Thread Arlen Beiler
After some more investigation, it seems like this is a known problem with 
v8 on ARM. 

On Wednesday, September 12, 2018 at 11:58:35 AM UTC+8, Arlen Beiler wrote:
>
> I ran some tests this morning and discovered why it takes so long for 
> TiddlyWiki and TiddlyServer to load datafolders on Android with Dory and 
> Termux. Apparently there is something about the process of converting the 
> tiddlers into code that is very slow on android. TiddlyServer loads one 
> file containing all the core tiddlers and yet it takes 30 seconds to list 
> all the core tiddlers in a --prof dump file. 
>
> In other words, I ran a --prof on TiddlyServer loading a data folder, and 
> then searched for all strings starting with "$:/" and it gave me a list of 
> all the core tiddlers over a span of 30 seconds. 
>
> So this means that the filesystem is definitely not the bottle neck. I'm 
> investigating ways to improve performance. 
>
> Just thought I'd share that and see if anyone else has any input.
> Arlen
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/4049f050-0b82-4f93-9a51-85fc32786fd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.