[YANGTOOLS-1062] Assemble ASTSchemaSources in parallel Created: 07/Jan/20  Updated: 14/Jan/20  Resolved: 12/Jan/20

Status: Resolved
Project: yangtools
Component/s: maven plugin
Affects Version/s: None
Fix Version/s: 3.0.8, 4.0.5, 2.1.16

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When yang-maven-plugin populates YangParser with local modules it acquires ASTSchemaSource representation of each of them. This is needed to ascertain the module identity and also acts as an intermediate step to SchemaContext assembly.

If there is a large number of local models, or if they are large, this can take significant amount of time. Since this process is isolated to a particular file, we can make this parallel by leveraging the common pool – hence text-to-AST will be done in parallel, speeding up wall time.


Generated at Wed Feb 07 20:55:05 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.