Agreed, you need to consider DoS attacks.  I have that in my mind under security and not performance. I&#39;d imagine the test methodology would be completely different since you no longer are attempting to simulate real world traffic.<div>

<br></div><div><br><div>Ian<br><br><div class="gmail_quote">On Thu, Oct 4, 2012 at 5:55 AM, Joel Joonatan Kaartinen <span dir="ltr">&lt;<a href="mailto:joel.kaartinen@gmail.com" target="_blank">joel.kaartinen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For script evaluation benchmarking, I don&#39;t think just a good<br>
approximation of real-world traffic is enough. You really need to<br>
benchmark the worst case scenarios, otherwise you could be creating a<br>
DoS vulnerability.<br>
<br>
- Joel<br>
<br>
ke, 2012-10-03 kello 13:57 -0400, Ian Miers kirjoitti:<br>
<div><div class="h5">&gt; Script evaluation performance was what I was primarily concerned<br>
&gt; with.  I&#39;m fooling around with adding some new instruction types.<br>
&gt; The tricky part is that to test how that effects performance, you need<br>
&gt; to be able to intersperse transactions with the new instructions with<br>
&gt; existing ones.  For accuracy, you&#39;d like your simulated traffic to at<br>
&gt; least approximate the real world traffic.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Also, is there any bench-marking / instrumentation in bitcoind ?<br>
&gt;<br>
&gt;<br>
&gt; Ian<br>
&gt; On Wed, Oct 3, 2012 at 1:43 PM, Jeff Garzik &lt;<a href="mailto:jgarzik@exmulti.com">jgarzik@exmulti.com</a>&gt;<br>
&gt; wrote:<br>
&gt;         On Wed, Oct 3, 2012 at 1:38 PM, Ian Miers &lt;<a href="mailto:imiers1@jhu.edu">imiers1@jhu.edu</a>&gt;<br>
&gt;         wrote:<br>
&gt;         &gt; Whats the best way to get performance numbers for<br>
&gt;         modifications to bitcoin ?<br>
&gt;         &gt; Profiling it while running on testnet might work, but that<br>
&gt;         would take a<br>
&gt;         &gt; rather long time to get data.<br>
&gt;         &gt; Is there anyway to speed this up  if we only needed to<br>
&gt;         provide  relative<br>
&gt;         &gt; performance between tests. (in a sense a fast performance<br>
&gt;         regression test).<br>
&gt;<br>
&gt;<br>
&gt;         You have to be specific about what you&#39;re measuring, because<br>
&gt;         &quot;performance&quot; is vague.<br>
&gt;<br>
&gt;         You can measure many aspects of blockchain performance by<br>
&gt;         importing<br>
&gt;         blocks via -loadblock=FILE.<br>
&gt;<br>
&gt;         Other performance measurements like &quot;how fast does a block<br>
&gt;         relay<br>
&gt;         through the network&quot; cannot be as easily measured.<br>
&gt;<br>
&gt;         --<br>
&gt;         Jeff Garzik<br>
&gt;         exMULTI, Inc.<br>
&gt;         <a href="mailto:jgarzik@exmulti.com">jgarzik@exmulti.com</a><br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------------<br>
&gt; Don&#39;t let slow site performance ruin your business. Deploy New Relic APM<br>
&gt; Deploy New Relic app performance management and know exactly<br>
&gt; what is happening inside your Ruby, Python, PHP, Java, and .NET app<br>
&gt; Try New Relic at no cost today and get our sweet Data Nerd shirt too!<br>
&gt; <a href="http://p.sf.net/sfu/newrelic-dev2dev" target="_blank">http://p.sf.net/sfu/newrelic-dev2dev</a><br>
&gt; _______________________________________________ Bitcoin-development mailing list <a href="mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/bitcoin-development" target="_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-development</a><br>


<br>
<br>
</blockquote></div><br></div></div>