-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: stub requests done when instantiating AuthInfo
`AuthInfo.determineIfDevHub` and `AuthInfo.getNamespacePrefix` do some requests when creating a new AuthInfo instance, if we don't stub these methods the requests are done and jsforce keeps retrying requests until mocha times out.
- Loading branch information
1 parent
0f0d32f
commit fb71b45
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fb71b45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logger Benchmarks - ubuntu-latest
Child logger creation
477583
ops/sec (±0.57%
)476995
ops/sec (±1.51%
)1.00
Logging a string on root logger
785501
ops/sec (±8.96%
)801359
ops/sec (±10.07%
)1.02
Logging an object on root logger
620688
ops/sec (±5.62%
)630787
ops/sec (±6.26%
)1.02
Logging an object with a message on root logger
6827
ops/sec (±212.85%
)9098
ops/sec (±204.35%
)1.33
Logging an object with a redacted prop on root logger
465103
ops/sec (±5.73%
)455560
ops/sec (±13.25%
)0.98
Logging a nested 3-level object on root logger
397394
ops/sec (±6.94%
)368030
ops/sec (±8.14%
)0.93
This comment was automatically generated by workflow using github-action-benchmark.
fb71b45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logger Benchmarks - windows-latest
Child logger creation
342843
ops/sec (±0.50%
)339458
ops/sec (±0.28%
)0.99
Logging a string on root logger
837027
ops/sec (±8.72%
)781227
ops/sec (±10.49%
)0.93
Logging an object on root logger
655434
ops/sec (±7.25%
)572291
ops/sec (±6.79%
)0.87
Logging an object with a message on root logger
3522
ops/sec (±223.79%
)10076
ops/sec (±198.64%
)2.86
Logging an object with a redacted prop on root logger
471568
ops/sec (±8.55%
)420809
ops/sec (±8.99%
)0.89
Logging a nested 3-level object on root logger
340636
ops/sec (±6.43%
)317858
ops/sec (±5.10%
)0.93
This comment was automatically generated by workflow using github-action-benchmark.
fb71b45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Logger Benchmarks - windows-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.Logging an object with a message on root logger
3522
ops/sec (±223.79%
)10076
ops/sec (±198.64%
)2.86
This comment was automatically generated by workflow using github-action-benchmark.