An initial test setup#239
Conversation
|
I think we could use |
|
Is complicating really worth it... I didn't feel it was slow generating 100k events. |
I don't think it's that complicated, and as I said it'll be better in general for the users if they want to generate larger dataset (1-10M) not 100K |
|
I agree, there's no need to optimise for performance here. Since this will only be used in the test suite (right?) can we please keep it all contained in the |
2850a40 to
29b0e53
Compare
29b0e53 to
397e496
Compare
| } | ||
| } elsif ($cmd eq 'scan-limit') { | ||
| while (1) { | ||
| for (1.100) { |
| jb55 | ||
| damus | ||
| chat | ||
| nosuchtopic |
There was a problem hiding this comment.
nosuchtopic is there to test for topics that for sure won't have matches, maybe we can continue to push something similar on too?
397e496 to
003fc51
Compare
This pr adds a pseudo-random events generator perl script for the purposes of dev and testing.
Usage:
from the repo root, run
./scripts/generate-seed-data.sh.For options see
./scripts/generate-seed-data.sh --help.