Open
Description
Parsing DBML syntax takes about 7-8 seconds in my computer using your provided test_schema.dbml or any simple DBML. This parsing time is slow, thus please try reduce it.
E.g. https://github.com/pyparsing/pyparsing/wiki/Performance-Tips proposed to Convert simple Combine() expressions to use Regex().
Below is Python code I used:
import time
from pathlib import Path
from pydbml import PyDBML
start = time.time()
parsed = PyDBML(Path("test_schema.dbml"))
end = time.time()
print("DBML parse time:", end - start)
Metadata
Metadata
Assignees
Labels
No labels