-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix error when trying to get class stream for Mockito mocks #6183
Merged
nikita-tkachenko-datadog
merged 4 commits into
master
from
nikita-tkachenko/repo-index-mockito-mocks
Nov 13, 2023
Merged
Fix error when trying to get class stream for Mockito mocks #6183
nikita-tkachenko-datadog
merged 4 commits into
master
from
nikita-tkachenko/repo-index-mockito-mocks
Nov 13, 2023
Conversation
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
nikita-tkachenko-datadog
added
type: bug
comp: ci visibility
Continuous Integration Visibility
labels
Nov 9, 2023
BenchmarksStartupParameters
See matching parameters
SummaryFound 1 performance improvements and 1 performance regressions! Performance is the same for 52 cases.
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.24.0-SNAPSHOT~81e8ea8016, baseline=1.24.0-SNAPSHOT~0232a96f5b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.05 s) : 0, 1050123
Total [baseline] (8.838 s) : 0, 8837876
Agent [candidate] (1.038 s) : 0, 1037657
Total [candidate] (8.837 s) : 0, 8836744
section iast
Agent [baseline] (1.158 s) : 0, 1158256
Total [baseline] (9.365 s) : 0, 9365265
Agent [candidate] (1.156 s) : 0, 1155755
Total [candidate] (9.332 s) : 0, 9331865
section iast_TELEMETRY_OFF
Agent [baseline] (1.146 s) : 0, 1145600
Total [baseline] (9.329 s) : 0, 9329237
Agent [candidate] (1.157 s) : 0, 1157307
Total [candidate] (9.371 s) : 0, 9371104
gantt
title insecure-bank - break down per module: candidate=1.24.0-SNAPSHOT~81e8ea8016, baseline=1.24.0-SNAPSHOT~0232a96f5b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (656.296 ms) : 0, 656296
BytebuddyAgent [candidate] (646.952 ms) : 0, 646952
GlobalTracer [baseline] (297.166 ms) : 0, 297166
GlobalTracer [candidate] (295.129 ms) : 0, 295129
AppSec [baseline] (49.402 ms) : 0, 49402
AppSec [candidate] (48.896 ms) : 0, 48896
Remote Config [baseline] (700.994 µs) : 0, 701
Remote Config [candidate] (696.511 µs) : 0, 697
Telemetry [baseline] (11.542 ms) : 0, 11542
Telemetry [candidate] (11.399 ms) : 0, 11399
section iast
BytebuddyAgent [baseline] (769.662 ms) : 0, 769662
BytebuddyAgent [candidate] (768.344 ms) : 0, 768344
GlobalTracer [baseline] (275.635 ms) : 0, 275635
GlobalTracer [candidate] (275.693 ms) : 0, 275693
AppSec [baseline] (46.801 ms) : 0, 46801
AppSec [candidate] (46.599 ms) : 0, 46599
IAST [baseline] (16.31 ms) : 0, 16310
IAST [candidate] (17.559 ms) : 0, 17559
Remote Config [baseline] (584.007 µs) : 0, 584
Remote Config [candidate] (577.346 µs) : 0, 577
Telemetry [baseline] (14.683 ms) : 0, 14683
Telemetry [candidate] (12.509 ms) : 0, 12509
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (758.198 ms) : 0, 758198
BytebuddyAgent [candidate] (767.285 ms) : 0, 767285
GlobalTracer [baseline] (274.313 ms) : 0, 274313
GlobalTracer [candidate] (277.432 ms) : 0, 277432
AppSec [baseline] (46.896 ms) : 0, 46896
AppSec [candidate] (46.802 ms) : 0, 46802
IAST [baseline] (20.121 ms) : 0, 20121
IAST [candidate] (16.19 ms) : 0, 16190
Remote Config [baseline] (564.968 µs) : 0, 565
Remote Config [candidate] (573.823 µs) : 0, 574
Telemetry [baseline] (11.007 ms) : 0, 11007
Telemetry [candidate] (14.192 ms) : 0, 14192
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.24.0-SNAPSHOT~81e8ea8016, baseline=1.24.0-SNAPSHOT~0232a96f5b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.037 s) : 0, 1036908
Total [baseline] (9.337 s) : 0, 9337262
Agent [candidate] (1.037 s) : 0, 1036838
Total [candidate] (9.347 s) : 0, 9347297
section appsec
Agent [baseline] (1.121 s) : 0, 1121310
Total [baseline] (9.43 s) : 0, 9430201
Agent [candidate] (1.12 s) : 0, 1119993
Total [candidate] (9.405 s) : 0, 9405462
section iast
Agent [baseline] (1.158 s) : 0, 1158344
Total [baseline] (9.551 s) : 0, 9551417
Agent [candidate] (1.152 s) : 0, 1152146
Total [candidate] (9.515 s) : 0, 9515497
section profiling
Agent [baseline] (1.218 s) : 0, 1217635
Total [baseline] (9.548 s) : 0, 9547512
Agent [candidate] (1.228 s) : 0, 1227541
Total [candidate] (9.628 s) : 0, 9628084
gantt
title petclinic - break down per module: candidate=1.24.0-SNAPSHOT~81e8ea8016, baseline=1.24.0-SNAPSHOT~0232a96f5b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (647.025 ms) : 0, 647025
BytebuddyAgent [candidate] (646.08 ms) : 0, 646080
GlobalTracer [baseline] (294.773 ms) : 0, 294773
GlobalTracer [candidate] (294.978 ms) : 0, 294978
AppSec [baseline] (48.568 ms) : 0, 48568
AppSec [candidate] (49.2 ms) : 0, 49200
Remote Config [baseline] (696.2 µs) : 0, 696
Remote Config [candidate] (686.365 µs) : 0, 686
Telemetry [baseline] (11.317 ms) : 0, 11317
Telemetry [candidate] (11.406 ms) : 0, 11406
section appsec
BytebuddyAgent [baseline] (645.807 ms) : 0, 645807
BytebuddyAgent [candidate] (644.788 ms) : 0, 644788
GlobalTracer [baseline] (294.196 ms) : 0, 294196
GlobalTracer [candidate] (294.553 ms) : 0, 294553
AppSec [baseline] (139.327 ms) : 0, 139327
AppSec [candidate] (138.917 ms) : 0, 138917
Remote Config [baseline] (646.928 µs) : 0, 647
Remote Config [candidate] (643.371 µs) : 0, 643
Telemetry [baseline] (6.855 ms) : 0, 6855
Telemetry [candidate] (6.837 ms) : 0, 6837
section iast
BytebuddyAgent [baseline] (771.054 ms) : 0, 771054
BytebuddyAgent [candidate] (766.943 ms) : 0, 766943
GlobalTracer [baseline] (275.549 ms) : 0, 275549
GlobalTracer [candidate] (275.652 ms) : 0, 275652
AppSec [baseline] (46.914 ms) : 0, 46914
AppSec [candidate] (46.543 ms) : 0, 46543
Remote Config [baseline] (581.726 µs) : 0, 582
Remote Config [candidate] (565.842 µs) : 0, 566
Telemetry [baseline] (11.245 ms) : 0, 11245
Telemetry [candidate] (12.58 ms) : 0, 12580
IAST [baseline] (18.445 ms) : 0, 18445
IAST [candidate] (15.4 ms) : 0, 15400
section profiling
BytebuddyAgent [baseline] (655.863 ms) : 0, 655863
BytebuddyAgent [candidate] (661.906 ms) : 0, 661906
GlobalTracer [baseline] (358.08 ms) : 0, 358080
GlobalTracer [candidate] (360.722 ms) : 0, 360722
AppSec [baseline] (49.367 ms) : 0, 49367
AppSec [candidate] (49.478 ms) : 0, 49478
Remote Config [baseline] (647.547 µs) : 0, 648
Remote Config [candidate] (652.198 µs) : 0, 652
Telemetry [baseline] (11.305 ms) : 0, 11305
Telemetry [candidate] (11.42 ms) : 0, 11420
ProfilingAgent [baseline] (88.193 ms) : 0, 88193
ProfilingAgent [candidate] (88.876 ms) : 0, 88876
Profiling [baseline] (88.217 ms) : 0, 88217
Profiling [candidate] (88.9 ms) : 0, 88900
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 22 cases. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.24.0-SNAPSHOT~81e8ea8016, baseline=1.24.0-SNAPSHOT~0232a96f5b
dateFormat X
axisFormat %s
section baseline
no_agent (369.908 µs) : 350, 390
. : milestone, 370,
iast (472.647 µs) : 452, 493
. : milestone, 473,
iast_FULL (528.397 µs) : 508, 549
. : milestone, 528,
iast_INACTIVE (441.199 µs) : 420, 462
. : milestone, 441,
iast_TELEMETRY_OFF (467.541 µs) : 446, 489
. : milestone, 468,
tracing (442.8 µs) : 422, 464
. : milestone, 443,
section candidate
no_agent (364.914 µs) : 345, 385
. : milestone, 365,
iast (475.742 µs) : 455, 496
. : milestone, 476,
iast_FULL (530.393 µs) : 510, 551
. : milestone, 530,
iast_INACTIVE (459.233 µs) : 438, 481
. : milestone, 459,
iast_TELEMETRY_OFF (465.233 µs) : 444, 487
. : milestone, 465,
tracing (438.686 µs) : 418, 459
. : milestone, 439,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.24.0-SNAPSHOT~81e8ea8016, baseline=1.24.0-SNAPSHOT~0232a96f5b
dateFormat X
axisFormat %s
section baseline
no_agent (1.336 ms) : 1317, 1355
. : milestone, 1336,
appsec (1.712 ms) : 1688, 1737
. : milestone, 1712,
iast (1.482 ms) : 1458, 1506
. : milestone, 1482,
profiling (1.472 ms) : 1448, 1497
. : milestone, 1472,
tracing (1.465 ms) : 1441, 1490
. : milestone, 1465,
section candidate
no_agent (1.343 ms) : 1323, 1363
. : milestone, 1343,
appsec (1.739 ms) : 1715, 1763
. : milestone, 1739,
iast (1.475 ms) : 1452, 1499
. : milestone, 1475,
profiling (1.478 ms) : 1452, 1503
. : milestone, 1478,
tracing (1.475 ms) : 1451, 1500
. : milestone, 1475,
|
juan-fernandez
approved these changes
Nov 13, 2023
nikita-tkachenko-datadog
deleted the
nikita-tkachenko/repo-index-mockito-mocks
branch
November 13, 2023 11:55
jandro996
pushed a commit
that referenced
this pull request
Nov 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
Fixes getting class input stream for Mockito mocks.
Additional Notes
When creating a mock, mockito generates an internal class in the class or interface that are being mocked.
Jira ticket: CIVIS-7965