-
Notifications
You must be signed in to change notification settings - Fork 170
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(libsinsp): optimize sinsp_split, modify set_env/args #1962
fix(libsinsp): optimize sinsp_split, modify set_env/args #1962
Conversation
re-read my PR, added a couple notes to check /hold |
/milestone 0.18.0 |
/unhold I think this one is ready. |
6f68d1f
to
55eb654
Compare
Perf diff from master - unit tests
Perf diff from master - scap file
Heap diff from master - unit tests
Heap diff from master - scap file
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1962 +/- ##
==========================================
- Coverage 51.00% 50.98% -0.02%
==========================================
Files 310 310
Lines 39570 39612 +42
Branches 17533 17629 +96
==========================================
+ Hits 20184 20198 +14
- Misses 14331 14362 +31
+ Partials 5055 5052 -3 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Luca Guerra <[email protected]>
55eb654
to
8c79e01
Compare
Perf diff from master - unit tests
Perf diff from master - scap file
Heap diff from master - unit tests
Heap diff from master - scap file
|
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.
/approve
LGTM label has been added. Git tree hash: 01e8c7eebed692a6d14714fd6fc2de3e9b56cc90
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, FedeDP, LucaGuerra The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
No
What this PR does / why we need it:
sinsp_split
by not using a string stream andgetline
but a simple loop insteadl.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: