Closed HaloFour closed 2 years ago
the below badges are clickable and redirect to their specific view in the CI or DOCS
![]()
![]()
![]()
![]()
![]()
#### Build stats * Start Time: 2022-04-26T14:42:05.193+0000 * Duration: 8 min 40 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 0 | | Passed | 198 | | Skipped | 0 | | Total | 198 |
To re-run your PR in the CI, just comment with:
/test
: Re-trigger the build.
run
elasticsearch-ci/docs
: Re-trigger the docs validation. (use unformatted text in the comment!)
Thanks for this PR! Please see https://github.com/HaloFour/ecs-logging-java/pull/1 which proposes some further allocation reduction.
Thanks for the assist! 😃
Reduces the number of allocations when formatting exception stack traces.
CharSequence
instead of aString
so that an underlyingStringBuilder
can be passed directly without requiring an intermediate allocation.EcsJsonSerializer#formatStackTraceAsArray
to useMatcher
to iterate over theCharSequence
to avoid allocating theArrayList<String>
,String[]
and each individualString
element.