Skip to content

oddgen "Run test" generator is slow #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PhilippSalvisberg opened this issue Nov 17, 2018 · 0 comments
Closed

oddgen "Run test" generator is slow #51

PhilippSalvisberg opened this issue Nov 17, 2018 · 0 comments
Assignees
Milestone

Comments

@PhilippSalvisberg
Copy link
Member

The node tree is loaded eagerly, this means all nodes are loaded in one go. Oddgen is not aware of the load strategy and therefore asks the generator for every selected parent node for its child nodes recursively. This makes the generator sluggish.

A simple solution is to cache the nodes on first read. The cache will be automatically refreshed when refresh is pressed in oddgen's Generator window (old generators are discarded and new ones are created).

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

No branches or pull requests

1 participant