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

Adds Analyze Single vs Multi-thread benchmark #215

Merged
merged 9 commits into from
May 21, 2020
Merged

Conversation

gfs
Copy link
Contributor

@gfs gfs commented May 21, 2020

Adds benchmarks for Single vs Multithreaded Analysis (Manual path setup currently)
Adds some fixes for multi-threaded reliability.
Changes to using HashSet<string> to ConcurrentDictionary<string,byte> for thread safety in many cases. HashSet is not thread safe. Use TryAdd(item,0) and item = dict[key].Key, and ignore the byte assigned to each key.
Changes to using ConcurrentStack<string> instead of List<string> inside multithreaded extractor for thread safety.
Delete autogenerated default rules from source.

@guyacosta guyacosta merged commit e976a5c into master May 21, 2020
@guyacosta guyacosta deleted the gfs/Benchmarks branch May 21, 2020 17:13
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.

2 participants