<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/11979" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2006-06-12T08:32:26-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/11979</id>

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-06-12T08:32:26-04:00</updated>

		<published>2006-06-12T08:32:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63926#p63926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63926#p63926"/>
		<title type="html"><![CDATA[How can I check how long it takes to execute a proc?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63926#p63926"><![CDATA[
[time] in eggdrop is different than Tcl's [time] command. You can do tests in tclsh, for example:<blockquote class="uncited"><div>% proc bla str {<br>puts $str<br>} <br>% time {bla "hey hi!"}<br>hey hi!<br>78 microseconds per iteration<br>% time {bla "hey hi!"} 10<br>hey hi!<br>hey hi!<br>hey hi!<br>hey hi!<br>hey hi!<br>hey hi!<br>hey hi!<br>hey hi!<br>hey hi!<br>hey hi!<br>37.8 microseconds per iteration<br>%</div></blockquote>Edit: It seems that the [time] command works normally on eggdrop1.6.18.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jun 12, 2006 8:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Danko]]></name></author>
		<updated>2006-06-12T06:56:19-04:00</updated>

		<published>2006-06-12T06:56:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63925#p63925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63925#p63925"/>
		<title type="html"><![CDATA[How can I check how long it takes to execute a proc?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63925#p63925"><![CDATA[
hm.. could you also give a short example of how to use it in a proc, since I'm quite lost?<br><div class="codebox"><p>Code: </p><pre><code>proc myproc {nick host hand channel arg} {  set temp [lindex [split $arg] 0]  putquick "privmsg $channel :$temp [time?!]"} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7471">Danko</a> — Mon Jun 12, 2006 6:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-06-09T22:30:15-04:00</updated>

		<published>2006-06-09T22:30:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63869#p63869</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63869#p63869"/>
		<title type="html"><![CDATA[How can I check how long it takes to execute a proc?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63869#p63869"><![CDATA[
<a href="http://www.tcl.tk/man/tcl8.4/TclCmd/time.htm" class="postlink">time</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Jun 09, 2006 10:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Danko]]></name></author>
		<updated>2006-06-09T06:28:30-04:00</updated>

		<published>2006-06-09T06:28:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63852#p63852</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63852#p63852"/>
		<title type="html"><![CDATA[How can I check how long it takes to execute a proc?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63852#p63852"><![CDATA[
How can I check how long it takes to execute a proc?<br><br>aka "Search took x.xxx ms" or something..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7471">Danko</a> — Fri Jun 09, 2006 6:28 am</p><hr />
]]></content>
	</entry>
	</feed>
