Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1TJSz0-0004qI-Sj for bitcoin-development@lists.sourceforge.net; Wed, 03 Oct 2012 17:43:42 +0000 X-ACL-Warn: Received: from mail-qa0-f47.google.com ([209.85.216.47]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1TJSyz-0001vZ-V5 for bitcoin-development@lists.sourceforge.net; Wed, 03 Oct 2012 17:43:42 +0000 Received: by mail-qa0-f47.google.com with SMTP id i29so2068010qaf.13 for ; Wed, 03 Oct 2012 10:43:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=go26ErBvTWVy0UkZiukLgkCkm8UH41k4Ephj0tBbUFM=; b=PM3cCzmKeLorA3g7FW8LsbSoDFLdZ5EdHbs6/1i3o3tfHAYecfbQBBnWySVS8904Nr z1IgpShrPS0tmKnnY+oVAFgbfB/5NtKtZ3fteh45FURVnibgwbDRgO+7XcCmp32MYKGV kVsgJSwXlQVC6VmEFetx2135FFblhCoqdeeVsfcNA9JDX9CTY3W3fjG3U4/dmKrWMmEO zU2+wPMqnCoF1nC70j+Do7+4ztQtioIb+CEAGKcPD9CfKORowt9DyWEw4DO0sKqH+3L5 QuGj17uSVI69fL/ZGI/K/D2AaobpotG2P45coqw+eJQByTPtbPRIJ9VGXP2F4On6Deb+ Zk9Q== MIME-Version: 1.0 Received: by 10.49.96.162 with SMTP id dt2mr13412661qeb.48.1349286216449; Wed, 03 Oct 2012 10:43:36 -0700 (PDT) Received: by 10.49.97.6 with HTTP; Wed, 3 Oct 2012 10:43:36 -0700 (PDT) X-Originating-IP: [2001:4830:1603:2:21c:c0ff:fe79:c8c2] In-Reply-To: References: Date: Wed, 3 Oct 2012 13:43:36 -0400 Message-ID: From: Jeff Garzik To: Ian Miers Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQk5rj6JOUYKI/R2XxQc/+laCSap3FDIa5heyjLEha9nOAOERYWdSrRRK9HQUBLihbZokjzV X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1TJSyz-0001vZ-V5 Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] performance testing for bitcoin X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 17:43:42 -0000 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 relative > performance between tests. (in a sense a fast performance regression test). You have to be specific about what you're measuring, because "performance" is vague. You can measure many aspects of blockchain performance by importing blocks via -loadblock=FILE. Other performance measurements like "how fast does a block relay through the network" cannot be as easily measured. -- Jeff Garzik exMULTI, Inc. jgarzik@exmulti.com