(venv) willie@gagarin:~/projects/maidsafe/scratch-perf-test$ python3 speedtest-riddim.py error on scratchpad update - time to error: 27.15 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.11 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.12 seconds error on scratchpad update - time to error: 0.11 seconds error on scratchpad update - time to error: 0.12 seconds error on scratchpad update - time to error: 0.12 seconds error on scratchpad update - time to error: 0.13 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds error on scratchpad update - time to error: 0.10 seconds
60ms … that’s not possible through xor-routing … only if you do direct p2p with the node that holds the chunk (or just read from cache without doing a network read … I wonder which one of both it is…)
error on scratchpad update - time to error: 1.17 seconds
error on scratchpad update - time to error: 0.70 seconds
error on scratchpad update - time to error: 0.74 seconds
error on scratchpad update - time to error: 0.71 seconds
error on scratchpad update - time to error: 0.68 seconds
error on scratchpad update - time to error: 0.69 seconds
error on scratchpad update - time to error: 0.69 seconds
error on scratchpad update - time to error: 0.71 seconds
error on scratchpad update - time to error: 0.66 seconds
error on scratchpad update - time to error: 0.70 seconds
error on scratchpad update - time to error: 0.70 seconds
error on scratchpad update - time to error: 0.70 seconds
error on scratchpad update - time to error: 0.65 seconds
error on scratchpad update - time to error: 0.70 seconds
error on scratchpad update - time to error: 0.54 seconds
error on scratchpad update - time to error: 0.71 seconds
error on scratchpad update - time to error: 0.62 seconds
error on scratchpad update - time to error: 0.70 seconds
error on scratchpad update - time to error: 0.71 seconds
error on scratchpad update - time to error: 0.72 seconds
error on scratchpad update - time to error: 0.69 seconds
error on scratchpad update - time to error: 0.65 seconds
error on scratchpad update - time to error: 0.57 seconds
error on scratchpad update - time to error: 0.69 seconds
error on scratchpad update - time to error: 0.69 seconds
error on scratchpad update - time to error: 0.71 seconds
error on scratchpad update - time to error: 0.73 seconds
error on scratchpad update - time to error: 0.73 seconds
error on scratchpad update - time to error: 0.70 seconds
error on scratchpad update - time to error: 0.69 seconds
Scratchpad-Update time: 14.88 seconds
yes I ask you to use a previous version of the script (that doesn’t have the try/except stuff) so we can see the error message instead of the print statement that just informs the user there was an error
❯ ./speedtest.py
Traceback (most recent call last):
File "/tmp/./speedtest.py", line 40, in <module>
asyncio.run(main())
~~~~~~~~~~~^^^^^^^^
File "/usr/lib/python3.13/asyncio/runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/tmp/./speedtest.py", line 35, in main
await speedtest(500)
File "/tmp/./speedtest.py", line 16, in speedtest
await client_mainnet.scratchpad_update(testpad_privatekey, 0, randomdata)
RuntimeError: Failed to update scratchpad: Got multiple conflicting scratchpads with the latest version, the fork can be resolved by putting a new scratchpad with a higher counter