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

Cut down on parsing time for large projects #1039

Open
joshcarp opened this issue Sep 1, 2020 · 0 comments
Open

Cut down on parsing time for large projects #1039

joshcarp opened this issue Sep 1, 2020 · 0 comments

Comments

@joshcarp
Copy link
Contributor

joshcarp commented Sep 1, 2020

Purpose

Currently parsing times of large projects can be upwards of 20 seconds, which is unacceptable with tools like sysl-catalog which has a live-reloading feature. Parsing times need to be cut down eventually

Suggested approaches

Allow ability to import sysl json files

A majority of sysl in a lot of projects is generated from imports (swagger/openapi or protos with sysl-catalog).
Instead of generating sysl source code, they could generate sysl json. This would use the protobuf json library to output json representation of the sysl proto objects instead of sysl source code.

import index.json ~pb # sysl json NOT openapi
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