Re: [Bitcoin-development] performance testing for bitcoin

2012-10-04 Thread Ian Miers
Agreed, you need to consider DoS attacks. I have that in my mind under security and not performance. I'd imagine the test methodology would be completely different since you no longer are attempting to simulate real world traffic. Ian On Thu, Oct 4, 2012 at 5:55 AM, Joel Joonatan Kaartinen < jo

Re: [Bitcoin-development] performance testing for bitcoin

2012-10-04 Thread Joel Joonatan Kaartinen
For script evaluation benchmarking, I don't think just a good approximation of real-world traffic is enough. You really need to benchmark the worst case scenarios, otherwise you could be creating a DoS vulnerability. - Joel ke, 2012-10-03 kello 13:57 -0400, Ian Miers kirjoitti: > Script evaluatio

Re: [Bitcoin-development] performance testing for bitcoin

2012-10-03 Thread Ian Miers
Script evaluation performance was what I was primarily concerned with. I'm fooling around with adding some new instruction types. The tricky part is that to test how that effects performance, you need to be able to intersperse transactions with the new instructions with existing ones. For accurac

Re: [Bitcoin-development] performance testing for bitcoin

2012-10-03 Thread Jeff Garzik
On Wed, Oct 3, 2012 at 1:38 PM, Ian Miers wrote: > Whats the best way to get performance numbers for modifications to bitcoin ? > Profiling it while running on testnet might work, but that would take a > rather long time to get data. > Is there anyway to speed this up if we only needed to provide

Re: [Bitcoin-development] performance testing for bitcoin

2012-10-03 Thread Ian Miers
Whats the best way to get performance numbers for modifications to bitcoin ? Profiling it while running on testnet might work, but that would take a rather long time to get data. Is there anyway to speed this up if we only needed to provide relative performance between tests. (in a sense a fast p