-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance performance tracking and output (#34)
* feat: enhance performance tracking and output - Added performance measurement for TSC compilation, post-processing, and application startup phases. - Introduced a new method `renderPerfStats` in `ConsoleOutput` to display performance statistics. - Updated performance tracking in the `run` function to capture and log durations for various stages. - Minor code cleanup and comments for clarity. This update improves the observability of the build process and helps identify performance bottlenecks. * feat: conditionally render performance stats based on init flag - Added a check for the '--perf-init' argument to determine if performance statistics should be displayed. - Updated the `run` function to conditionally call `renderPerfStats` for both initial and restart performance statistics based on the new flag. - This enhancement improves the flexibility of performance tracking during the build process.
- Loading branch information
1 parent
3979bf2
commit 6567afc
Showing
3 changed files
with
101 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters