-
Notifications
You must be signed in to change notification settings - Fork 6
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
Reduce contention in DFA #13
Comments
The following shows the performance of commit 5f70f34. The test was performed with 20 threads on a machine with 4 cores + hyperthreading, but the processor is a bit slower than the one from the previous test. This commit removes synchronization locks from the "fast path" in |
Fixed in a86458f |
In multithreaded parsing scenarios, contention in
DFAState.getTarget
andDFAState.setTarget
can increase CPU usage dramatically, according to the following report.http://stackoverflow.com/q/23120555/138304
The following image shows the performance improvement of the rm-contention branch as of commit 57a77e1. The test was performed with 20 threads on a machine with 4 cores + hyperthreading.
The text was updated successfully, but these errors were encountered: