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.
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
Overhaul of the Logging Infrastructure #1596
base: dev
Are you sure you want to change the base?
Overhaul of the Logging Infrastructure #1596
Changes from 12 commits
0293115
45115e3
dfb98c5
9062c48
1e856f0
02618fc
32ff8f9
12492d2
f21f85d
0faf2e8
ae72e81
43d7b1c
87042f5
be95ab8
4b21a99
00034e9
b2055c0
cfc3d56
ac2a383
3776653
76079a7
52b9007
c71dd27
803c98a
9d44f76
af63a9b
02e717a
3410231
379c074
bc82caf
69aa615
17ec9a2
2029b4b
c09a11a
f1b7cd6
6b8c104
e972e67
85ae097
a1e7d56
445197b
4c2e0cb
d63b4da
ced2eb9
8124585
0831bcf
715f4d0
b8ee9ed
c42f637
c630423
1e5694c
6da344c
4e54f7a
421a419
6915e6a
cd3e361
37a0f19
28d5e4f
3d43dcb
83e0dc3
117ff49
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Can you please check if this change affects the PcapPlusPlus binary sizes?
I made a change in this PR a couple of years ago to significantly reduce the binary sizes: #748
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.
This is a breakdown on the install directory for the x64 release w/npcap.
Folder1 is the new size. Folder2 is the old size.
Full breakdown: npcap-x64-release.txt
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.
Did you test it with MSVC or MinGW? Also, did you have a chance to test on Linux also?
I don't remember in which platform the impact was the highest, but I think it was Linux 🤔
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.
Msvc, I dont think I have mingw setup. I should be able to test the sizes on Unix via WSL.
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.
@Dimi1010 I see you're still working on it. Please let me know when the changes are done and when you want me to review the PR again.
It'd be good to make sure binary sizes don't increase. I'd test at least on Windows and Linux
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.
@seladb Ok, ended up keeping the optimization.
As bc82caf: Release builds ended up being: