Ian Miers [ARCHIVE] on Nostr: 📅 Original date posted:2012-10-03 📝 Original message:Whats the best way to get ...
📅 Original date posted:2012-10-03
📝 Original message: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).
At least in theory, one possibility would be to replay real
bitcoin transactions to a test-net-in-a-box network (of maybe a few nodes)
that has the real blockchain history loaded into it but then operates at a
far reduced hash difficulty in order facilitate running quickly.
Are there existing techniques/scripts for some kind of perf testing with
traffic that at least approximates real world traffic ?
The test infrastructure that ships with bitcoin does not appear to provide
this.
Thanks,
Ian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20121003/2ff02125/attachment.html>
Published at
2023-06-07 10:34:19Event JSON
{
"id": "0a45a8286ac2a807b9e04144d795183cb10c0f570ebaaf2fe4d9bd4210d26da1",
"pubkey": "0c0d95a857efbb8a4b475df4ba1485c5e7005e6076dcf71bb16ff60b7246d6ef",
"created_at": 1686134059,
"kind": 1,
"tags": [
[
"e",
"20fcce3ae9ee48e6d0e9f55986fa44b12cd16eb6aaa83e3763809bdb5d83842c",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2012-10-03\n📝 Original message:Whats the best way to get performance numbers for modifications to bitcoin\n? Profiling it while running on testnet might work, but that would take a\nrather long time to get data.\nIs there anyway to speed this up if we only needed to\nprovide relative performance between tests. (in a sense a fast performance\nregression test).\n\nAt least in theory, one possibility would be to replay real\nbitcoin transactions to a test-net-in-a-box network (of maybe a few nodes)\nthat has the real blockchain history loaded into it but then operates at a\nfar reduced hash difficulty in order facilitate running quickly.\n\nAre there existing techniques/scripts for some kind of perf testing with\ntraffic that at least approximates real world traffic ?\nThe test infrastructure that ships with bitcoin does not appear to provide\nthis.\n\nThanks,\nIan\n\n\u003e\n\u003e\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20121003/2ff02125/attachment.html\u003e",
"sig": "3fada70afa51ce4ff42685ed050a00bd13afa069d5da64ac3eaa5b7cf3c5614d1a85cc27190c00cd96080143f581dae9bc1fd285f9fb157146e473da914610a4"
}