test script to measure perf on querying sbot. pull from the user stream, filter by top level posts, and then join with replies and votes. (just to get enough to render the post)
optional: disable related
to use links to get a count of the replies & votes, instead of the relatedMessages
, which is recursive.
call like this:
node profile.js @hxGxqPrplLjRG2vtjQL87abX4QKqeLgCwQpS730nNwE=.ed25519
output will be the posts, and the number of messages returned, scanned, and the elapsed time of the query (not including node startup time)