In migrating towards the TS7 APIs for building VS Code, Dirk Bäumer (@dbaeumer) found a potential bottleneck in AST encoding/decoding - a significant amount of time is actually taken up on the server side.
We should look into the following:
- Batching AST requests (client side)
- Asynchrononous responses for AST encoding (async client side)
- Possibly streaming responses? (async(?) client side)
- Parallel AST encoding (server side)
In migrating towards the TS7 APIs for building VS Code, Dirk Bäumer (@dbaeumer) found a potential bottleneck in AST encoding/decoding - a significant amount of time is actually taken up on the server side.
We should look into the following: