Skip to content

Commit

Permalink
chore: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Feb 12, 2024
1 parent dddc9a2 commit 394c000
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 388 deletions.
3 changes: 2 additions & 1 deletion examples/examples/apiExplorer/apiExplorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export async function run() {

// Only change the options if they are urls
const opts = Object.values(response);
if ((opts[0] as string).match(/^\//)) {
const first = opts[0];
if (typeof first === 'string' && first.match(/^\//)) {
options = opts;
}
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"Salesforce CLI"
],
"dependencies": {
"@salesforce/core": "^3",
"@salesforce/core": "^6",
"chalk": "^4",
"inquirer": "^8",
"lodash": "^4.17.21",
Expand Down
Loading

2 comments on commit 394c000

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

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

Logger Benchmarks - ubuntu-latest

Benchmark suite Current: 394c000 Previous: 5bf0b71 Ratio
Child logger creation 464176 ops/sec (±2.50%) 479538 ops/sec (±0.93%) 1.03
Logging a string on root logger 735785 ops/sec (±8.21%) 766207 ops/sec (±9.95%) 1.04
Logging an object on root logger 572668 ops/sec (±7.82%) 597857 ops/sec (±7.32%) 1.04
Logging an object with a message on root logger 11799 ops/sec (±199.37%) 9833 ops/sec (±202.32%) 0.83
Logging an object with a redacted prop on root logger 415130 ops/sec (±12.34%) 399693 ops/sec (±14.00%) 0.96
Logging a nested 3-level object on root logger 336519 ops/sec (±12.62%) 349195 ops/sec (±7.97%) 1.04

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

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

Logger Benchmarks - windows-latest

Benchmark suite Current: 394c000 Previous: 5bf0b71 Ratio
Child logger creation 334125 ops/sec (±0.43%) 333661 ops/sec (±3.09%) 1.00
Logging a string on root logger 788667 ops/sec (±12.43%) 819464 ops/sec (±6.78%) 1.04
Logging an object on root logger 584617 ops/sec (±5.52%) 624816 ops/sec (±6.90%) 1.07
Logging an object with a message on root logger 8510 ops/sec (±201.52%) 5305 ops/sec (±212.61%) 0.62
Logging an object with a redacted prop on root logger 425153 ops/sec (±14.19%) 482615 ops/sec (±5.93%) 1.14
Logging a nested 3-level object on root logger 327583 ops/sec (±5.25%) 338463 ops/sec (±5.82%) 1.03

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.