Skip to content
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

Add .bonnie.cache.json #14

Closed
arctic-hen7 opened this issue Jul 2, 2021 · 1 comment
Closed

Add .bonnie.cache.json #14

arctic-hen7 opened this issue Jul 2, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@arctic-hen7
Copy link
Owner

This would be implemented later in future, but I propose a system whereby very large Bonnie config files that don't change often can have the entire Bonnie parsing system run on them and the output cached into a file like .bonnie.cache.json. We could then read directly from this file, making future command runs much faster. We could also store the bonnie.toml file's hash, allowing us to update if it changes. Right now, this isn't an issue, but if and when ordered domain execution is finalised, processing speed could become a significant issue for configurations with complex control flows.

@arctic-hen7 arctic-hen7 self-assigned this Jul 2, 2021
@arctic-hen7
Copy link
Owner Author

For complex control flows, regular expression parsing slows configuration parsing down significantly (around 100ms for full execution of the testing file), so this feature is now being implemented.

@arctic-hen7 arctic-hen7 added the enhancement New feature or request label Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant