Skip to content

[PORT] cache Antlr parse result #1955

@tomlm

Description

@tomlm

Port this change from botbuilder-dotnet/master branch:
microsoft/botbuilder-dotnet#3621

The import chain of LG file is like a graph, there may be various reference logic.
Antlr's parse takes a lot of time in it, If LG SDK can cache the results of Antlr parse(single call life cycle), the performance will be greatly improved.

After experiments, it can save more than half of time for complex lg call chain.

issue link: microsoft/BotFramework-Composer#2374

Changed projects

  • Microsoft.Bot.Builder.LanguageGeneration

Metadata

Metadata

Assignees

No one assigned

    Labels

    R9Release 9 - May 15th, 2020

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions