<?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/20937" />

	<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>2021-05-10T12:27:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-05-10T12:27:21-04:00</updated>

		<published>2021-05-10T12:27:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109882#p109882</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109882#p109882"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109882#p109882"><![CDATA[
Thanks CrazyCat <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Mon May 10, 2021 12:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-05-10T02:51:44-04:00</updated>

		<published>2021-05-10T02:51:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109881#p109881</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109881#p109881"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109881#p109881"><![CDATA[
You can't.<br>"Proc speed" means nothing, it can only be compared to another one.<br><br>But you can use <strong class="text-strong">time</strong> with a greater number of iteration (I usually use 1000), it will give you an average speed which is more relevant<br><br><strong class="text-strong">Edit</strong>: you can find short infos on <a href="https://wiki.tcl-lang.org/page/How+to+Measure+Performance" class="postlink">https://wiki.tcl-lang.org/page/How+to+M ... erformance</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon May 10, 2021 2:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-05-08T16:07:15-04:00</updated>

		<published>2021-05-08T16:07:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109876#p109876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109876#p109876"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109876#p109876"><![CDATA[
Okay, so what would be an alternative way to test proc speed and not rely on CPU ? would need exact 0.00seconds to compare different procs <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>thanks in advanced<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Sat May 08, 2021 4:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-05-08T04:15:47-04:00</updated>

		<published>2021-05-08T04:15:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109871#p109871</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109871#p109871"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109871#p109871"><![CDATA[
Just because the cpu could be used for other / different things and not 100% of the cpu (nor the same percentage) is dedicated to tclsh.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sat May 08, 2021 4:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-05-08T01:50:28-04:00</updated>

		<published>2021-05-08T01:50:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109870#p109870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109870#p109870"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109870#p109870"><![CDATA[
Just curious why the "time" command yields different milliseconds each time<div class="codebox"><p>Code: </p><pre><code>125 microseconds per iteration% time {puts "hello"} 1hello121 microseconds per iteration% time {puts "hello"} 1hello126 microseconds per iteration% time {puts "hello"} 1hello126 microseconds per iteration% time {puts "hello"} 1hello126 microseconds per iteration% time {puts "hello"} 1hello123 microseconds per iteration% time {puts "hello"} 1hello92 microseconds per iteration%</code></pre></div>^^ on tclsh  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Sat May 08, 2021 1:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2021-03-13T07:10:25-04:00</updated>

		<published>2021-03-13T07:10:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109549#p109549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109549#p109549"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109549#p109549"><![CDATA[
The <em class="text-italics">clock clicks</em> should yield the same results.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Mar 13, 2021 7:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-03-12T15:21:28-04:00</updated>

		<published>2021-03-12T15:21:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109546#p109546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109546#p109546"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109546#p109546"><![CDATA[
Just thought i'd post my finished working proc speed test code  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <div class="codebox"><p>Code: </p><pre><code>bind PUB - "!speed" do:testproc proc:name {nick host hand chan text} {putserv "PRIVMSG $chan :foo"}proc do:test {nick host hand chan text} {set foo [ time {proc:name $nick $host $hand $chan $text} 1]set aoo [lindex [split $foo] 0]set qoo "[expr {$aoo / 1000.00}]ms"puthelp "PRIVMSG $chan :Proc Name : $tproc"puthelp "PRIVMSG $chan :Proc Speed: $qoo"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Fri Mar 12, 2021 3:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-03-10T17:03:33-04:00</updated>

		<published>2021-03-10T17:03:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109525#p109525</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109525#p109525"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109525#p109525"><![CDATA[
thanks willyw, appreciate it  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Wed Mar 10, 2021 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2021-03-10T14:37:06-04:00</updated>

		<published>2021-03-10T14:37:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109524#p109524</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109524#p109524"/>
		<title type="html"><![CDATA[Re: Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109524#p109524"><![CDATA[
Check out:<br><br><a href="http://www.tcl.tk/man/tcl8.6/TclCmd/time.htm" class="postlink">http://www.tcl.tk/man/tcl8.6/TclCmd/time.htm</a><br><br>You'll find it interesting.<br><br>After that,  you might like to visit:<br><br><a href="https://www.tcl.tk/man/tcl8.5/tutorial/Tcl39.html" class="postlink">https://www.tcl.tk/man/tcl8.5/tutorial/Tcl39.html</a><br><br>too.<br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Mar 10, 2021 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-03-10T14:11:37-04:00</updated>

		<published>2021-03-10T14:11:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109522#p109522</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109522#p109522"/>
		<title type="html"><![CDATA[Best way to test Proc speed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109522#p109522"><![CDATA[
So is this a good/best way to test the proc speed?<div class="codebox"><p>Code: </p><pre><code>bind PUB - "!test" speed:testproc speed:test {nick host hand chan text} {set start [clock clicks]putquick "MODE $chan +o $nick"set end [clock clicks]puthelp "PRIVMSG $chan : Timespan: [expr ($end-$start)/1000.0]ms"}</code></pre></div>(Found this code from <a href="http://forum.egghelp.org/viewtopic.php?t=20784" class="postlink">http://forum.egghelp.org/viewtopic.php?t=20784</a> | thanks to caesar)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Wed Mar 10, 2021 2:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
