You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
In the DnsCache View Plugin in the main.cpp function TraverseDnsCacheTable,
for every entry obtained with DnsGetCacheDataTable_I
the function loops through all types deemed interesting defined in the typeList array,
this seams very inefficient as according to S2017 cpu profiler DnsQuery causes quite a significant CPU load.
instead of looping through all types for each entry, why not just check tablePtr->Type, if its one of the interesting types and than call only DnsQuery(tablePtr->Name, tablePtr->Type, ...)
That would save a lot of CPU cycles.
The text was updated successfully, but these errors were encountered:
dmex
transferred this issue from winsiderss/systeminformer
Aug 21, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the DnsCache View Plugin in the main.cpp function TraverseDnsCacheTable,
for every entry obtained with DnsGetCacheDataTable_I
the function loops through all types deemed interesting defined in the typeList array,
this seams very inefficient as according to S2017 cpu profiler DnsQuery causes quite a significant CPU load.
instead of looping through all types for each entry, why not just check tablePtr->Type, if its one of the interesting types and than call only DnsQuery(tablePtr->Name, tablePtr->Type, ...)
That would save a lot of CPU cycles.
The text was updated successfully, but these errors were encountered: