Notes performance tuning

by Volker Weber

Problem:

You notice an increase in the time it takes to open a form containing several subforms, when some of these subforms load script libraries.

Workaround:

It was found that adding the LotusScript "Print" statement to the 'Initialize' event of each of the subforms resulted in a return to normal performance levels.

More >

Comments

That's actually old wisdom.
If there is a lot of lotusscript in forms and subforms you need something in the initialize event.
runfaster = true
would also do!
I realized if the globals in the form doesn't contain LS but only the form level than the speed problem doesn't occur.

:-) stw

The correct workaround is to simply add some comment in EVERY form and Subform you load - so probably best to ALL of them. There is no correlation between big code in a (sub)form, small code or no code in it - simply some code has to be there and a comment is all you need. For myself I decided to add the line
' do not remove this comment
into every form or Subform into the Globals Options section.

Michael Gollmick, 2007-10-27 13:40

Adding useless code all over the show makes it run faster? You guys kidding? When I was younger, we used to optimize and remove code to make software perform better...

Oh, I get it; it is a joke. IBM just wants to sell more metal. :-)

That stuff is only needed if you have code in your main forms global section in the first place. If you only have code in the forms part -- but not in globals it has no effect.
I guess it is a question of the runtime looking for the LS object in the subform and being very fast if one is there and being slow when not found. But I agree with Jan --- it's weird.

Nope it is not the print Statement that fixes this. It is the compile that comes after you saved the subform.
And if you do a recompile all lotus script at any time later again this ugly beast will raise its head again.

One brilliant guy working for pavone found out what happened and why.

Thomas Schulte, 2007-10-29 13:05

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Recent comments

Ingo Martinz on Meeeeeeeeeeep at 22:32
Axel Koerv on Meeeeeeeeeeep at 21:57
Roland Dressler on Outlook to Notes converter: from PST to NSF at 11:50
Karl Heindel on Outlook to Notes converter: from PST to NSF at 10:30
Jerry Preissler on LibreOffice vs Apache OpenOffice at 13:47
Mariano Kamp on How to commit at 09:41
Bernd Vellguth on Outlook to Notes converter: from PST to NSF at 02:05
Thilo Hamberger on Outlook to Notes converter: from PST to NSF at 16:40
Jens Bruntt on Free PlayBook for your Android app submission at 11:47
Karl Heindel on Outlook to Notes converter: from PST to NSF at 20:26
Roland Dressler on Outlook to Notes converter: from PST to NSF at 15:12
Stephan H. Wissel on heise online: IBM plant Stellenabbau in Deutschland at 08:38
Jan Lauer on heise online: IBM plant Stellenabbau in Deutschland at 04:13
Juergen Heinrich on Balance at 03:29
Jörg Hermann on Girls On Longboards at 02:42
Stephan H. Wissel on heise online: IBM plant Stellenabbau in Deutschland at 23:21
Joerg Michael on heise online: IBM plant Stellenabbau in Deutschland at 21:01
Ben Poole on Outlook to Notes converter: from PST to NSF at 19:46
David Hablewitz on BlackBerry Business Cloud Services with Microsoft Office 365 at 16:44
Patrick Picard on RIM tries to be social. Falls flat on face. at 16:00
Volker Weber on Outlook to Notes converter: from PST to NSF at 10:29
Richard Hogan on Outlook to Notes converter: from PST to NSF at 10:26
Joachim Haydecker on Girls On Longboards at 08:26
Karl Heindel on Outlook to Notes converter: from PST to NSF at 07:50
Keith Brooks on Outlook to Notes converter: from PST to NSF at 04:21

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Wishlist
Frequently asked questions

Local time is 04:11

visitors.gif
93 visitors online

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Mobile tag for this page

© 1992-2012 Volker Weber.
All Rights Reserved.

Impressum