yep - results here are mixed - almost as if it forgot how to do it and then learned as it went alongā¦
(venv) willie@gagarin:~/projects/maidsafe/scratch-perf-test$ time python3 ./speedtest.py
Scratchpad-Update time: 88.54 seconds
population time: 3.89 seconds
iterations: 1 - content: b'\xdeC\xd8\xd6\xb1$\xafn\x17)'...
Scratchpad-Update time: 31.30 seconds
population time: 3.25 seconds
iterations: 1 - content: b'\x19Q\xfc\xc9K\xba\x1a%H!'...
Scratchpad-Update time: 15.26 seconds
population time: 0.53 seconds
iterations: 1 - content: b'\xab%\xcb\xd1\xcf(\x1d\x12\x10\xd0'...
Scratchpad-Update time: 3.27 seconds
population time: 0.52 seconds
iterations: 1 - content: b'\x18\xad\xb4\xb0(*\xfc\x8eOf'...
Scratchpad-Update time: 4.46 seconds
population time: 0.32 seconds
iterations: 1 - content: b'}q$\xa6\x13\xb3l\xf1\xe4\xe0'...
Scratchpad-Update time: 5.82 seconds
population time: 0.33 seconds
iterations: 1 - content: b'\x8b\xa8\xd9Z\x0b}n=\x04Y'...
Scratchpad-Update time: 4.45 seconds
population time: 0.28 seconds
iterations: 1 - content: b'\xbc\x04\x89\xd1\xc0R~=:]'...
Scratchpad-Update time: 3.40 seconds
population time: 0.28 seconds
iterations: 1 - content: b'\xf6\xf8\xa1\x8b\xbcHQ\xfc\x160'...
Scratchpad-Update time: 3.93 seconds
population time: 0.28 seconds
iterations: 1 - content: b'\x1ai\xac\x1f\xaeT\xa60P\x10'...
Scratchpad-Update time: 1.84 seconds
population time: 0.28 seconds
iterations: 1 - content: b'P\xdb\xfa\xaf\xcbmN\xbc\x11/'...
real 2m53.269s
user 0m3.313s
sys 0m1.544s
and then when I tried another run
(venv) willie@gagarin:~/projects/maidsafe/scratch-perf-test$ time python3 ./speedtest.py
Traceback (most recent call last):
File "/home/willie/projects/maidsafe/scratch-perf-test/./speedtest.py", line 40, in <module>
asyncio.run(main())
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/willie/projects/maidsafe/scratch-perf-test/./speedtest.py", line 35, in main
await speedtest(500)
File "/home/willie/projects/maidsafe/scratch-perf-test/./speedtest.py", line 15, in speedtest
await client_mainnet.scratchpad_update(testpad_privatekey, 0, randomdata)
RuntimeError: Failed to update scratchpad: Failed to put scratchpad: A network error occurred for NetworkAddress::ScratchpadAddress(8e2d0725e1ef3847b21f1e8c2e37c28797717fbff4139d1fff74ff17162fc9f9473f96149c21f3b8f47d38847de3fbd7): Put verification failed: Peers have conflicting entries for this record: {PeerId("12D3KooWMFva5yQQrBxWVWGjgu5r6aMbWYsDVpyGsr86S9BDmUrD"): Record { key: Key(b"d\xab\xb0\xb8\xf2\x18Q\xd36\xb2`\x90&\xda\xab\xe5\x06\x05\xe7\xabA\xa8\xf6\xc2^\x17%1\x80e\xaa?"), value: [145, 3, 149, 220, 0, 48, 204, 142, 45, 7, 37, 204, 225, 204, 239, 56, 71, 204, 178, 31, 30, 204, 140, 46, 55, 204, 194, 204, 135, 204, 151, 113, 127, 204, 191, 204, 244, 19, 204, 157, 31, 204, 255, 116, 204, 255, 23, 22, 47, 204, 201, 204, 249, 71, 63, 204, 150, 20, 204, 156, 33, 204, 243, 204, 184, 204, 244, 125, 56, 204, 132, 125, 204, 227, 204, 251, 204, 215, 0, 196, 194, 166, 157, 123, 80, 126, 183, 118, 153, 150, 84, 22, 127, 31, 203, 193, 62, 204, 50, 216, 85, 168, 255, 201, 180, 236, 1, 66, 16, 252, 38, 0, 211, 54, 200, 252, 254, 89, 27, 18, 139, 23, 64, 118, 165, 164, 162, 2, 101, 133, 151, 7, 83, 21, 134, 231, 133, 170, 64, 185, 118, 107, 120, 193, 43, 26, 131, 218, 23, 110, 227, 14, 140, 49, 208, 219, 164, 116, 103, 234, 56, 44, 138, 207, 93, 229, 79, 211, 234, 126, 88, 175, 230, 127, 175, 247, 121, 18, 202, 45, 244, 70, 99, 77, 100, 69, 126, 232, 15, 239, 214, 100, 169, 26, 231, 30, 186, 7, 77, 73, 4, 201, 155, 86, 110, 137, 76, 123, 82, 68, 217, 187, 227, 34, 227, 199, 88, 152, 184, 88, 234, 95, 95, 173, 172, 57, 89, 240, 155, 40, 209, 141, 193, 201, 178, 19, 246, 148, 92, 228, 89, 42, 182, 169, 24, 44, 108, 140, 6, 63, 210, 169, 255, 112, 105, 94, 192, 218, 53, 169, 65, 118, 163, 246, 129, 121, 251, 206, 253, 45, 111, 76, 20, 32, 22, 45, 220, 0, 96, 204, 144, 204, 138, 204, 237, 88, 204, 169, 122, 204, 187, 204, 153, 204, 169, 204, 188, 69, 37, 14, 32, 112, 204, 209, 204, 164, 62, 204, 153, 95, 97, 204, 143, 7, 118, 204, 149, 204, 226, 30, 9, 110, 204, 208, 105, 204, 182, 204, 201, 127, 204, 232, 79, 107, 204, 225, 204, 221, 204, 232, 204, 214, 63, 28, 204, 224, 204, 216, 204, 202, 72, 106, 9, 204, 160, 47, 17, 204, 210, 204, 254, 88, 104, 204, 153, 204, 164, 204, 229, 72, 204, 168, 127, 204, 207, 204, 148, 34, 111, 106, 109, 119, 204, 243, 204, 174, 10, 204, 141, 32, 61, 114, 204, 167, 57, 49, 28, 204, 165, 95, 204, 185, 204, 248, 2, 5, 204, 229, 56, 204, 137, 99, 98, 66, 60, 5, 54, 204, 230], publisher: None, expires: None }, PeerId("12D3KooWPV6kpbp2SY8N2JQdUmyeVBCNCnMYqpiFbWkre6PpCrFy"): Record { key: Key(b"d\xab\xb0\xb8\xf2\x18Q\xd36\xb2`\x90&\xda\xab\xe5\x06\x05\xe7\xabA\xa8\xf6\xc2^\x17%1\x80e\xaa?"), value: [145, 3, 149, 220, 0, 48, 204, 142, 45, 7, 37, 204, 225, 204, 239, 56, 71, 204, 178, 31, 30, 204, 140, 46, 55, 204, 194, 204, 135, 204, 151, 113, 127, 204, 191, 204, 244, 19, 204, 157, 31, 204, 255, 116, 204, 255, 23, 22, 47, 204, 201, 204, 249, 71, 63, 204, 150, 20, 204, 156, 33, 204, 243, 204, 184, 204, 244, 125, 56, 204, 132, 125, 204, 227, 204, 251, 204, 215, 0, 197, 2, 132, 181, 62, 152, 98, 246, 4, 40, 0, 51, 184, 102, 166, 88, 44, 62, 78, 236, 147, 127, 181, 107, 66, 224, 69, 110, 175, 116, 101, 178, 82, 61, 109, 154, 164, 42, 244, 130, 173, 15, 104, 207, 53, 78, 169, 76, 166, 97, 138, 141, 151, 209, 63, 136, 93, 130, 168, 176, 180, 143, 241, 75, 102, 76, 110, 58, 38, 127, 132, 146, 25, 38, 182, 212, 239, 232, 18, 49, 149, 196, 10, 96, 74, 47, 203, 219, 7, 198, 16, 171, 11, 56, 191, 215, 35, 37, 34, 10, 106, 11, 86, 15, 116, 91, 96, 38, 63, 81, 157, 183, 30, 64, 75, 142, 70, 30, 68, 40, 96, 217, 39, 128, 158, 204, 124, 147, 11, 20, 160, 47, 7, 195, 146, 232, 97, 200, 22, 57, 104, 68, 23, 56, 168, 184, 66, 166, 118, 229, 236, 202, 250, 20, 45, 73, 189, 101, 133, 121, 253, 179, 67, 222, 37, 53, 79, 47, 152, 245, 86, 180, 68, 163, 101, 162, 111, 162, 23, 211, 138, 169, 64, 217, 106, 250, 145, 40, 32, 187, 165, 146, 244, 38, 129, 86, 34, 17, 255, 182, 135, 224, 205, 240, 144, 84, 39, 140, 5, 243, 221, 170, 168, 16, 93, 61, 242, 27, 191, 112, 214, 71, 5, 218, 3, 105, 0, 84, 229, 189, 104, 154, 166, 99, 161, 192, 152, 237, 81, 86, 129, 50, 46, 44, 226, 89, 195, 147, 189, 217, 134, 172, 23, 182, 62, 180, 115, 245, 197, 113, 123, 56, 176, 148, 199, 1, 211, 190, 101, 234, 171, 38, 202, 4, 253, 178, 64, 117, 4, 213, 96, 37, 224, 155, 255, 15, 237, 239, 192, 24, 115, 203, 135, 181, 217, 191, 195, 248, 211, 200, 70, 230, 41, 91, 219, 54, 245, 183, 144, 68, 53, 71, 101, 161, 230, 102, 103, 90, 69, 212, 153, 2, 77, 14, 254, 210, 223, 118, 236, 49, 52, 162, 129, 175, 209, 50, 18, 226, 62, 193, 65, 30, 69, 214, 167, 202, 118, 92, 118, 47, 171, 137, 249, 165, 104, 165, 21, 240, 242, 126, 217, 5, 47, 81, 252, 152, 56, 140, 172, 128, 226, 58, 106, 200, 39, 9, 14, 85, 57, 185, 19, 230, 95, 141, 69, 24, 255, 71, 163, 153, 56, 209, 83, 230, 219, 211, 193, 105, 239, 209, 33, 59, 199, 53, 173, 224, 176, 219, 47, 169, 196, 131, 80, 105, 164, 82, 95, 165, 217, 181, 43, 199, 54, 147, 63, 156, 157, 40, 99, 18, 56, 124, 93, 164, 179, 206, 103, 70, 137, 143, 35, 233, 113, 81, 238, 66, 18, 102, 83, 129, 27, 230, 83, 2, 58, 199, 48, 248, 213, 5, 15, 252, 153, 102, 112, 206, 140, 69, 31, 37, 190, 243, 239, 164, 39, 133, 217, 95, 4, 112, 106, 78, 117, 95, 58, 190, 213, 22, 106, 143, 10, 27, 66, 221, 235, 8, 26, 35, 59, 60, 5, 3, 159, 137, 171, 74, 125, 249, 85, 50, 62, 61, 91, 202, 68, 17, 198, 105, 251, 184, 241, 214, 183, 184, 202, 59, 21, 70, 48, 247, 69, 109, 169, 23, 146, 254, 2, 31, 129, 131, 130, 117, 144, 70, 68, 1, 102, 246, 109, 24, 86, 253, 245, 169, 88, 113, 105, 166, 99, 202, 6, 107, 100, 122, 172, 108, 126, 250, 12, 163, 118, 163, 78, 238, 164, 39, 225, 190, 48, 28, 76, 50, 89, 242, 189, 188, 128, 185, 125, 241, 203, 32, 158, 254, 37, 172, 252, 163, 135, 252, 91, 88, 217, 107, 18, 23, 160, 244, 50, 235, 239, 122, 138, 166, 88, 158, 82, 30, 115, 214, 231, 252, 246, 10, 26, 35, 177, 177, 120, 241, 205, 231, 184, 155, 133, 98, 218, 215, 8, 53, 158, 32, 98, 202, 34, 223, 194, 205, 1, 106, 220, 0, 96, 204, 146, 74, 204, 181, 204, 230, 204, 223, 204, 234, 204, 160, 111, 39, 1, 86, 204, 170, 35, 99, 204, 182, 37, 204, 139, 119, 204, 204, 54, 204, 158, 16, 204, 151, 22, 75, 204, 135, 55, 204, 147, 30, 204, 254, 204, 197, 125, 72, 204, 215, 80, 204, 228, 204, 215, 54, 83, 49, 118, 87, 204, 241, 111, 67, 204, 165, 204, 149, 52, 24, 204, 224, 6, 204, 182, 204, 188, 51, 204, 220, 204, 219, 127, 204, 180, 204, 152, 204, 185, 113, 25, 15, 204, 204, 204, 137, 204, 151, 204, 219, 204, 208, 31, 13, 54, 68, 204, 208, 204, 157, 204, 142, 36, 204, 138, 204, 229, 204, 244, 100, 204, 194, 31, 54, 124, 98, 67, 77, 204, 146, 48, 53, 91, 5, 204, 158, 204, 223, 15, 99], publisher: None, expires: None }}
real 0m40.130s
user 0m1.035s
sys 0m0.544s