Skip to content

perf(startup): add timing instrumentation to startup phases#239

Merged
linkai0924 merged 1 commit intoepic/ai-nativefrom
feat/logging-startup
Mar 27, 2026
Merged

perf(startup): add timing instrumentation to startup phases#239
linkai0924 merged 1 commit intoepic/ai-nativefrom
feat/logging-startup

Conversation

@linkai0924
Copy link
Copy Markdown
Collaborator

Wrap config loading, instance bootstrap, model data fetching, skill scanning, and TUI bootstrap with Log.Default.time() timers to measure and log startup phase durations.

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Wrap config loading, instance bootstrap, model data fetching, skill scanning, and TUI bootstrap with Log.Default.time() timers to measure and log startup phase durations.

Signed-off-by: 林凯90331 <90331@sangfor.com>

Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
@linkai0924 linkai0924 merged commit 4e0713f into epic/ai-native Mar 27, 2026
@linkai0924 linkai0924 deleted the feat/logging-startup branch March 27, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant