<html>
<body>
<font size=3>Not Seaside-specific, but probably the easiest thing to do
is load the &quot;AT Profiling UI&quot; parcel and do something
like<br><br>
MultiTimeProfiler startProfiling.<br><br>
before you start, and <br><br>
MultiTimeProfiler stopProfiling<br><br>
at the end.<br><br>
You can also do a profile that just takes the time for a particular
process inside a block, but for web-type applications having it take into
account all processes is often useful.<br><br>
For Glorp-specific profiling, see the GlorpAnalysis package and the
GlorpQueryPerformanceAnalyzer in particular. This doesn't have a nice UI,
but will give you the ability to look at the time taken by queries, and
aggregating particular types of queries.<br><br>
At 09:14 AM 11/25/2008, Richard E. Flower wrote:<br>
<blockquote type=cite class=cite cite="">One more question for
you...<br><br>
In my current app, I use Glorp for my database storage needs... So
far&nbsp; <br>
so good.. However, I see a few places in my code<br>
where things seem to take longer than I'd expect and frankly I'm
not&nbsp; <br>
really sure what is consuming the time.&nbsp; For instance,<br>
my login page which does a database query to populate a select box&nbsp;
<br>
frequently takes a bit over a second to render on a<br>
1.67Ghz Powerbook (ppc).<br><br>
In older versions of Seaside I recall seeing a way to get a list of&nbsp;
<br>
how long various things took to render in a tree layout<br>
but can't find that anymore -- just an overall list of how long the&nbsp;
<br>
page took to render. If I want to profile code whats the<br>
best way to do that under VW/Seaside and will it include
non-Seaside&nbsp; <br>
items such as Glorp calls,etc?<br><br>
Thanks!<br><br>
-- Rick<br>
_______________________________________________<br>
seaside mailing list<br>
seaside@lists.squeakfoundation.org<br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" eudora="autourl">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</font></blockquote></body>
<br>
<div>--</div>
<div>Alan Knight [|], Engineering Manager, Cincom Smalltalk</div>
<div>knight@acm.org</div>
<div>aknight@cincom.com</div>
<div><a href="http://www.cincom.com/smalltalk" EUDORA=AUTOURL>
http://www.cincom.com/smalltalk</a></div>
</html>