Skip to content

Performance regression with project build in da663656 ... #590

Closed
@robertknight

Description

@robertknight

Pressing F6 to build my project went from about 5 seconds to several minutes.

Adding logging to the build() function in projectService.ts shows that calls to emitFile() are taking ~1500-3000ms per file and my project has ~170 TS source files.

Via git bisect I've narrowed it down to either c797b2d or da66365 (the former is a fix needed to actually build the project, so I can't test between these two without source changes).

commit c797b2de7e693fa65f6bea241c6e3df013d06fd8
Author: Basarat Syed <[email protected]>
Date:   Thu Sep 3 10:15:10 2015 +1000

    fix(typescript) latest version of typescript expects `package.json` to be passed in in the initial file set

commit da66365677b489c73cdfb716c83f6933fcba3b97
Author: Basarat Syed <[email protected]>
Date:   Thu Sep 3 09:08:59 2015 +1000

    chore(ntypescript) update to latest

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions