Skip to content

Commit

Permalink
fix: add bullet point for time spent loading root plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Nov 8, 2023
1 parent 2f03e22 commit 2227623
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/performance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ export class Performance {
oclifDebug('Oclif Time: %sms', Performance.oclifPerf['oclif.runMs'].toFixed(4))
oclifDebug('Init Time: %sms', Performance.oclifPerf['oclif.initMs'].toFixed(4))
oclifDebug('Config Load Time: %sms', Performance.oclifPerf['oclif.configLoadMs'].toFixed(4))
oclifDebug(
' • Root Plugin Load Time: %sms',
Performance.getResult(OCLIF_MARKER_OWNER, 'plugin.load#root')?.duration.toFixed(4) ?? 0,
)
oclifDebug(
' • Plugins Load Time: %sms',
Performance.getResult(OCLIF_MARKER_OWNER, 'config.loadAllPlugins')?.duration.toFixed(4) ?? 0,
Expand Down

0 comments on commit 2227623

Please sign in to comment.