Skip to main content
    Country/region select      Terms of use
     Home      Products      Services & solutions      Support & downloads      My account     

developerWorks  >  Lotus  >  Forums & community  >  Best Practice Makes Perfect

Best Practice Makes Perfect

A collaboration with Domino developers about how to do it and how to get it right in Domino

Thanks to Jamie Magee of MartinScott Consulting for pointing out this technique for figuring out what causes delays when opening views and documents. He presented it during the "Speed Geeking" session at Lotusphere 2007.

By adding three lines to your Notes.ini and restarting the client, you can get lots of useful information about what your Notes client is doing as you open documents and views, click action buttons, or whatever. Find out where all the time is used up during the 15 seconds it takes to open your document. The lines in the notes.ini are:

Debug_Outfile=[filepath for debug output]

The tricky part is finding the relevant part of the debug output, for which some little added code in the Notes client might be helpful -- for instance, a toolbar button to "start timing" and "stop timing" might note the size of the debug file before and after, and display just the bytes between those positions. I'm looking at adding something like this to the developer toolkit (which I'm still working on, as I have time).

Then of course, the output may be a little cryptic for developers who aren't familiar with Notes internals, so it might take a little experience to know that READ_ENTRIES is reading data from a view, for instance. But with a little work, this can get to be a very useful output.

Remember, too, that your time in analyzing performance issues is well spent in examining the designs of your forms and views for common performance-killer mistakes which have been documented here and elsewhere. Even if you determine that 90% of the delay is spent in @DbLookups, you still have to figure out which lookups they are and know what the better way is.

Andre Guirard | 24 October 2007 10:46:22 AM ET | Plymouth, MN, USA | Comments (1)

Search this blog 


    About IBM Privacy Contact