dominoExperts.com - Powered by Domino 8.5.2 Domino Accelerator Pack
- Reduce the number of HTTP requests
Lotus Triple Search DominoExperts + Blogs + R8 forum
dominoExperts.com -> Script vault

 Agent Profiling


Tomas NielsenPost date: 2007-10-21 10:42

This has been around for some time but I have never used it or heard of others using it.

It is really easy and gives some helpful hints of where and what takes time in your code.

In your agent, simply check the Profile check box (security tab):

The run the agent and turn to the agent in the designer, right click and choose:

 

The resulting report will look like this: 

resizeImage Profile

2007-10-21 10:31:13 CEDT
Elapsed time: 361 msec
Methods profiled: 10
Total measured time: 0 msec

 

Method

Operation

Calls

Time

Document

GetItemValue

 

4

0

Document

HasItem

 

2

0

Document

Save

 

1

0

Document

ReplaceItemValue

 

1

0

Document

GetAttachment

 

1

0

Session

UserName

Get

1

0

EmbeddedObject

ExtractFile

 

1

0

AgentContext

CurrentDatabase

Get

1

0

AgentContext

DocumentContext

Get

1

0

Session

AgentContext

Get

1

0


profile1.PNG
profile2.PNG
Bryan KuhnPost date: 2007-11-09 17:43

Nice post, I've never used it myself either, will come in handy.

Thanks




RSS feed
Subscribe to Forum

Share this page

Top posters
Tomas Nielsen212
Joacim Boive27
Fredrik Stöckel27
Danne14
Niklas Waller13
Kenneth Haggman11
Bryan Kuhn10
Daniel Lehtihet9
Jonas Israelsson8
dm997