Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enhance performance tracking and output #34

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Conversation

czy88840616
Copy link
Member

  • 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.

- 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.
- 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.
@czy88840616 czy88840616 merged commit 6567afc into main Dec 2, 2024
5 checks passed
@czy88840616 czy88840616 deleted the perf_more branch December 2, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant