Skip to content
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

Improve performance during a MemTrace capture #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lastquest
Copy link
Contributor

Adding an HashSet in the tools code to avoid linear search time (#12)

When the user switch to the socket connection, MemTrace needs to read back the content of the file, the file needs to be opened with the O_RDWR  in order to ensure the right operation order:

O_RDONLY
Open for reading only.
O_WRONLY
Open for writing only.
O_RDWR
Open for reading and writing. The result is undefined if this flag is applied to a FIFO.
Improve performance during a MemTrace capture:

- adding an HashSet in the tools code to avoid linear search time (deplinenoise#12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant