Skip to content

add seed data generator#239

Open
theAnuragMishra wants to merge 1 commit intohoytech:masterfrom
theAnuragMishra:seed-data
Open

add seed data generator#239
theAnuragMishra wants to merge 1 commit intohoytech:masterfrom
theAnuragMishra:seed-data

Conversation

@theAnuragMishra
Copy link
Copy Markdown
Contributor

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.

@Thunder-Blaze
Copy link
Copy Markdown
Contributor

I think we could use Cpanel::JSON::XS while keeping JSON::PP as fallback in case someone wants to generate high amount of seed data to test

https://stackoverflow.com/questions/14591444/which-perl-module-would-you-recommend-for-json-manipulation

@theAnuragMishra
Copy link
Copy Markdown
Contributor Author

Is complicating really worth it... I didn't feel it was slow generating 100k events.

@Thunder-Blaze
Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants