I am currently trying to build a test set for an algorithm Problem that I have.
My goal is to build a team building app. Let us think we have a pool of 10.000 Persons each Person can like other Persons and also dislike.
For my test set I am generating 10.000 People with 50-100 relationships for likes and dislikes each per person.
I saw when I am creating my test set that there is not really a way to bulk create relationships for faster imports and test set generations (I know that my test set is large but I think it is not really huge).
The ways I have tried so far: each relationship as one single query (slow), using transactions and bulk multiple persons into one transaction.
Are there other ways to do this?
you can take a look at my code here: https://gist.github.com/phumberdroz/7ab207f852235f97007d7e3a19e7f7e5#file-test-js-L52-L82