Skip to content

Conversation

@mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Sep 27, 2023

requires oclif/core#797 which merges into oclif/core#767, the bump oclif/core to v3 in this plugin.

@W-14182563@

let nonOclifPerf: Record<string, number> | undefined;
try {
oclifPerf = {
'oclif.runMs': Performance.highlights.runTime,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this logic moved to oclif/core in the PR

'oclif.postrunHookMs': Performance.highlights.hookRunTimes.postrun?.total,
};
oclifPerf = Performance.oclifPerf;
nonOclifPerf = Object.fromEntries(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're converting the nested map/array into a non-nested object by concatenating the owner/mark.name

@WillieRuemmele WillieRuemmele merged commit fbcd819 into main Nov 2, 2023
@WillieRuemmele WillieRuemmele deleted the sm/non-oclif-perf branch November 2, 2023 19:56
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.

3 participants