Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com)
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi
Tinderbox Users >> Agent, Actions, Rules & Automation >> So, what does Agent Update Time mean?
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi?num=1213738153

Message started by Loryn on Jun 17th, 2008, 5:29pm

Title: So, what does Agent Update Time mean?
Post by Loryn on Jun 17th, 2008, 5:29pm

I'm curious how Agent Update Time is calculated.

I have a corpus of 657 comments. 241 agents query against it. The agent action then performs three collect_if statements on the agent's child-aliases and calculates an overall score. The Agent Update Time was listed as 23033.

I'd already fiddled with agent priority, switched off automatic updating, etc., and still wanted better performance. To achieve better performance, I wrapped a guard statement around the agent action: I told it to do the collect_ifs and recompute the score iff the number of children being returned by the query changed or the overall corpus size changed.

This gave very happy results. Snappy updates again! :-)

But when I reran Agent Update Time---mostly to admire the fruits of my labors---it still shows the value of 23033. So, what does this value mean? Does it always cache the value of the greatest execution time?

Title: Re: So, what does Agent Update Time mean?
Post by Mark Bernstein on Jun 18th, 2008, 8:37am

Agent Update Time is the longest time Tinderbox has required to update agents in this session.  

Title: Re: So, what does Agent Update Time mean?
Post by Mark Anderson on Jun 18th, 2008, 9:04am

'Session' - as in since opening the TBX? IOW, in the original scenario above, the OP would need to close & re-open the TBX to see the apparent decrease in update cycle time reflected in the Hypertext Status view?

Title: Re: So, what does Agent Update Time mean?
Post by Mark Bernstein on Jun 18th, 2008, 7:47pm

Yes; I believe agent update time is based on the longest update time while the document is open.  (The reason for this is that the first update is often the most difficult, since Tinderbox needs to make so many new aliases.  Subsequent updates can sometimes be clever and so take less time)

Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com) » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.