Florian,

Add a Splash screen to startup if not already and consider the larger part 
of the load time could be the final render, depending on what is visible at 
startup. Minimise the tiddlers opened, hide the sidebar and more. Test a 
load with minimal opening and no features and unusual plugins active to see 
if this render time is a contributor. 

There are also performance indicators that can be activated to investigate 
this (Which I have not yet used.)

Regards
Tony

On Saturday, December 7, 2019 at 2:28:24 AM UTC+11, Florian Cauvin wrote:
>
> Thanks Arlen for the suggestions:
>
> The first is that evalSandboxed (in boot.js) runs every module in a new 
>> context. If you change it to all of them using one separate context which 
>> you create outside the function, it should speed things up some. This one 
>> may vary between node versions, but it's worth a shot.
>>
>
> I located the file and function call you're refering to but I'm not 
> familiar with Javascript, Node, or the internals of TiddlyWiki. Thus I 
> don't feel confident trying to modify that code. Hopefully, a TiddlyWiki 
> developer could look into this?
>  
>
>> The second is loading the hundreds of tiddlers that make up the core. 
>> There is a feature of the boot process that fixes this. Replace the 
>> contents of the core folder with this file (assuming your using 
>> Tiddlywiki5.1.21) 
>> https://github.com/Arlen22/TiddlyWiki5-production/blob/master/5-1-21/core/plugin.info.
>>  
>> That way it's just loading one file and doing a simple JSON.parse. 
>>
>  
> Alright, I replaced all content of 
> /usr/local/lib/node_modules/tiddlywiki/core with that file you linked to. 
> It seems to have shaved a few seconds off the startup time which remained 
> over 56 seconds, so while it seems to help a bit, there seems to be a 
> larger issue.
>

-- 
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/654d317b-af72-4e89-aa71-2ceabb26c17a%40googlegroups.com.

Reply via email to