Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Speed of Executing a NeoOffice Basic Sub on Different Pages
Speed of Executing a NeoOffice Basic Sub on Different Pages
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 12, 2008 9:54 am    Post subject:

billycar wrote:
For timing purposes, I'm running a PCI Graphics Yikes! G4 overclocked to 450MHz. 1GB RAM. I experienced "instant" reply on the complete spreedsheet, pages 2 and 3, where page 1 was delayed.


I think you may need to realize that no matter how you cut it, a G4 450 MHz is just going to be slow. The G4 chip is not only two full generations behind the current Intel chips, but your particular chip was one the very low end of that chip's processor speeds.

While NeoOffice may run on that chip, but it will run slow. I suspect that this is one of the reasons that Apple will not allow Mac OS X 10.5 too be installed on that old of a chip.

Patrick
Back to top
billycar
Sentinel


Joined: Nov 02, 2007
Posts: 26
Location: Central Piedmont VA / USA

PostPosted: Fri Dec 12, 2008 9:59 am    Post subject:

In my original spreadsheet, I moved Page 1 to the last page, and it maintained it's sluggish response, after closing and opening NeoOffice, to refresh memory , etc ...

Page 2 and 3, now in position 1 and 2, maintained their "instant" response.

I would upload the original spreadsheet, but I'm considering publishing it as an aid to practicing jazz, and haven't completed it yet. Want to keep it private until then ...

Rolling Eyes

_________________
Bill Connelly, Musician and Painter
artsite:http://mysite.verizon.net/moonstoneartstudio/
myspace.com:http://www.myspace.com/moonstoneartstudio
Back to top
billycar
Sentinel


Joined: Nov 02, 2007
Posts: 26
Location: Central Piedmont VA / USA

PostPosted: Fri Dec 12, 2008 10:01 am    Post subject:

About the 450MHz speed ... I agree it is slow ... but my Quicksliver Dual 1GHz G4 appears to be doing the same thing ... relatively speaking ...

Want to clear up why it is instant on some pages, and 6x slower on the other.

_________________
Bill Connelly, Musician and Painter
artsite:http://mysite.verizon.net/moonstoneartstudio/
myspace.com:http://www.myspace.com/moonstoneartstudio
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Fri Dec 12, 2008 10:04 am    Post subject:

Thank you for providing a sample document. On my 1.8 Ghz G5 there is no noticeable difference in calculation speed on the first page versus the second and third page. All update immediately.

I think the difference is due to the G4. I found that when I replaced my G4 with a G5 that things such as patch loading was a lot faster.

--fran
Back to top
billycar
Sentinel


Joined: Nov 02, 2007
Posts: 26
Location: Central Piedmont VA / USA

PostPosted: Fri Dec 12, 2008 11:00 am    Post subject:

I had to remove the file previously linked here ... I solved the problem later in this thread ...

Thanks for all your attention to this issue ...

Note: Another issue solved herein was how to pass an ods file to another Forum reader. It can be solved by creating a zip file of the ods file. Then, at least on a Mac, when you use Stuffit Expander, choose Preference > File Mapping > MIME, and it will create a file and a folder. If you then open the ods file in NeoOffice, it will take it from there.

_________________
Bill Connelly, Musician and Painter
artsite:http://mysite.verizon.net/moonstoneartstudio/
myspace.com:http://www.myspace.com/moonstoneartstudio


Last edited by billycar on Sun Dec 14, 2008 10:33 am; edited 2 times in total
Back to top
billycar
Sentinel


Joined: Nov 02, 2007
Posts: 26
Location: Central Piedmont VA / USA

PostPosted: Sat Dec 13, 2008 1:46 pm    Post subject:

I believe I figured out part of the issue.

When defining a range for the number of cells to be summed in a column, I used an arbitrary large number for the last cell, being told that NeoOffice would select the last existing cell to sum to. This would allow me to add rows and not have to fix all the formulae for summing the daily totals as my spreadsheet grows, sometimes daily. (NeoOffice does adjust the formula if I delete / add rows up to and between the min and max specified ranges).

After going back and changing the last cell to be summed to, to be the actual cell number in my spreadsheet for that page, all pages exhibit "instant" retrieval and insertion of current time. (This might also appear to be happening on your Quad Core Intel Monster machines, without changing the range ...).

The formula was (page 1):
=60*HOUR(SUM(J4:J202)) + MINUTE(SUM(J4:J202))

and now is (page 1):
=60*HOUR(SUM(J4:J55)) + MINUTE(SUM(J4:J55))

This varied slightly from page to page, but the magnitude of the ranges was similar. Other maximums now(then) are Page 2: 45(195) and Page 3: 75(210).


The overall speedup occurred in the Master copy, after using the Time retrieve function the first time on that page ...

In the copy being used already for this week's recording of times, the same behavior continued, even though I changed the ranges (???).

So ... partially solved.

To optimize things, any hints on how to create a Function or Sub that would allow me to calculate the total Days Minutes would be appreciated:

From

DAILYMIN = 60*HOUR(SUM(J4:J55)) + MINUTE(SUM(J4:J55))

To using a 2 step process:

RANGESUM = SUM(Arg1,Arg2)
DAILYMIN = 60*HOUR(RANGESUM) + MINUTE(RANGESUM)

So that I could use the user created function

=DAILYMIN(J4,J55)

to fill the corresponding cell.

(I'm questioning my method of computing the Daily Total Minutes as I type: the cells being summed are the task time differences (Q4 = IF(I4>H4; I4-H4;"")) formatted in HH:MM of 2 times ... Start (H4) and Stop (I4) Times, both in HH:MM:SS AM/PM Text format. This doesn't seem to be working if H4 & I4 span midnight).

I'm including all of this in the discussion here, since I'm converting between time formats as times are retrieved and calculations are performed ... all time consuming I am assuming.

Comments welcomed.

_________________
Bill Connelly, Musician and Painter
artsite:http://mysite.verizon.net/moonstoneartstudio/
myspace.com:http://www.myspace.com/moonstoneartstudio
Back to top
billycar
Sentinel


Joined: Nov 02, 2007
Posts: 26
Location: Central Piedmont VA / USA

PostPosted: Sat Dec 13, 2008 5:54 pm    Post subject:

billycar wrote:
Guess I'm talking to myself again ... ('Wink')

Want to clear up why it is instant on some pages, and 6x slower on the other.



The problem is "Page Break View" versus "Normal".

When View > Normal is selected, response is Instant (all pages)

When View > Page Break View is selected, much delay is introduced.

This is repeatable, and occurs with my Master copy as well as my Copy that is being used at present for this weeks rehearsals (and other previous copies).

Maybe a bug of some sort?

So much for what is normal ... Wink Wink

_________________
Bill Connelly, Musician and Painter
artsite:http://mysite.verizon.net/moonstoneartstudio/
myspace.com:http://www.myspace.com/moonstoneartstudio
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.