yunabe / tslab

Interactive JavaScript and TypeScript programming with Jupyter
Apache License 2.0
733 stars 45 forks source link

Improve the latency of the initial code execution #24

Closed yunabe closed 4 years ago

yunabe commented 4 years ago

Since https://github.com/yunabe/tslab/commit/d56e5c1fc4f8ad6a7921c7854fccf4ceef40f97f, it takes about 3 secs for the initial code execution

It seems like builder.emit(undefined, ... is slow for the initial code execution.