Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Improve WordTsar startup speed
DMcCunney
Newbie
Posts: 8
Permalink
Post Improve WordTsar startup speed
on: 2013-07-03 07:03
Quote

WordTsar 0.45 Alpha
WinXP Home SP3

I'm not sure this is precisely a bug, but it is a concern. On the system I'm using at the moment, WordTsar is slow to start, taking about 25 seconds to invoke. (It's an Acer Aspire 1 with a 1.6ghz Atom CPU, 1,5GB RAM, and a SATA drive.)

MSWord comes up in half that time. LibreOffice Writer is slower than WordTsar, but I could probably speed it up if I enabled the option to preload some runtime code on system boot, and Writer is bigger and more complex in any case.

I don't know what load speed is on Linux yet, because of a missing library dependency.
______
Dennis

Guest
Advanced
Posts: 50
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-03 07:31
Quote

What are the specs of your system?

Also, the Alpha release contains some debug code, so speed overall is affected.

On my 4 core 2.8 GHz virtual machine, it takes about 8 seconds, which is still a bit of time.

Gerald

ps: I have an Acer Aspire 1 as well, and I'll start using it do some tests.

DMcCunney
Newbie
Posts: 8
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-04 09:03
Quote

The specs are in my original note - 1.6ghx dual-core Atom CPU, 1,5GB RAM, SATA drive, WinXP Home SP3. What else can I tell you?

Debug code will affect speed, but 25 seconds to invoke seems a bit much. I'll be curious to see what results you see on your Aspire 1. I inherited mine: it had been bought by the late husband of a friend. She didn't need it and thought I'd be a good home for it. I spent a fair bit of time tuning to reduce Windows' footprint and optimize what I could, but it's hardly a speed demon.

When I resolve the library dependency for Linux, an even lower end system will be a test bed - a Fujitsu p2110 with an 867mhz Transmeta CPU, 256MB RAM, and an IDE4 HD. It's another pass along that came with WinXP SP2, and got Linux installed to provide something more or less usable. I had to install Ubuntu from the Minimal CD to get a command line environment, then pick and choose GUI bits. Xubuntu was dead slow. Installed on an Ext4 file system with Lxde as the desktop, it's sort of usable. The big roadblock is the IDE4 HD, but that's a BIOS limitation I'm stuck with. But I didn't expect much, and it's mostly a toy I'm using to see what performance I can wring out of it without spending money.
________
Dennis

Guest
Advanced
Posts: 50
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-04 09:13
Quote

Oops, sorry. Missed the specs, or forgot I read them. I may need to make some minimum system requirements based of your machines. 🙂

I'll be testing on my Aspire later today, and hopefully an old Pentium M.

Gerald

Guest
Advanced
Posts: 50
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-10 10:46
Quote

Startup speed for 0.47 under Windows should be a tad better, but it's still not great. Under Linux and OSX, startup speed is extremely quick for me (1-2 seconds), while under Windows, I average just over 10 seconds, sometimes hitting close to 17 seconds. I'm not sure what is causing the issue yet.

DMcCunney
Newbie
Posts: 8
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-12 20:54
Quote

Yeah, the Windows startup speed is weird. I invoked it and watched in Task Manager. Memory usage is low enough - 5 -8 MB - but the CPU periodically pegs till it finally comes up. If I had to make a guess, it's instantiating libraries.

I'll look next in Process Explorer and see if I can drill down a bit into what it's doing on startup.

I'd test under Windows on the old Fujitsu, but that runs Win2K SP4, and WordTsar won't run at all. I'll see what the latest alpha that removes the library dependency does under Ubuntu on that box.
_______
Dennis

Guest
Advanced
Posts: 50
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-16 16:31
Quote

I may have figured out what the speed issue is.

Do you have a lot of fonts on your Windows system? Currently, WordTsar builds a font list for every editor window opened. On a normal startup, there are 5 editors opened (the help screens are non-editable editors). I removed the font build step, and my startup was much quicker.

If you would like to test, I can do a special build for you that skips building the font list. Otherwise, you'll need to wait until I can optimize the code.

DMcCunney
Newbie
Posts: 8
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-17 11:19
Quote

I have 567 fonts under Windows. I've had more in the past. (I'm a designer among other things, and collect fonts.)

The same issue bit Mozilla: Windows library code was enumerating fonts on startup, and impacting Firefox load speed. IIRC, it bit Chrome, too. Mozilla had an open ticket with MS about it. (I'd have to poke around in Bugzilla to see what they wound up doing.)

I'll test a build without font enumeration. The question is whether WordTsar should enumerate fonts on startup at all, or simply defer that until an operation that uses fonts requires it.
________
Dennis

Guest
Advanced
Posts: 50
Permalink
Post Re: Improve WordTsar startup speed
on: 2013-07-17 11:34
Quote

Definitely fonts. I'll see what I can do.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.039 seconds.

Comments are closed.