Skip to content

Instantly share code, notes, and snippets.

@Netherdrake
Created August 30, 2017 00:58
Show Gist options
  • Save Netherdrake/3ceee3a4b742786f454a61bec54c3f0f to your computer and use it in GitHub Desktop.
Save Netherdrake/3ceee3a4b742786f454a61bec54c3f0f to your computer and use it in GitHub Desktop.
node-benchmark.txt
In [14]: s.set_node("https://gtg.steem.house:8090/")
In [15]: s.hostname
Out[15]: 'gtg.steem.house'
In [16]: %timeit -n 1 -r 3 s.steemd.get_blocks_range(10_000_000, 10_000_100)
850 ms ± 91.7 ms per loop (mean ± std. dev. of 3 runs, 1 loop each)
In [17]: s.set_node("https://rpc.steemliberator.com/")
In [18]: %timeit -n 1 -r 3 s.steemd.get_blocks_range(10_000_000, 10_000_100)
2.76 s ± 1.6 s per loop (mean ± std. dev. of 3 runs, 1 loop each)
In [19]: s.set_node("https://steemd.privex.io")
In [20]: %timeit -n 1 -r 3 s.steemd.get_blocks_range(10_000_000, 10_000_100)
1min 41s ± 3.22 s per loop (mean ± std. dev. of 3 runs, 1 loop each)
In [21]: s.set_node("https://steemd.steemit.com")
In [22]: %timeit -n 1 -r 3 s.steemd.get_blocks_range(10_000_000, 10_000_100)
2.31 s ± 501 ms per loop (mean ± std. dev. of 3 runs, 1 loop each)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment