Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop requiring stringio dynamically (#219)
`SourceFactory::create_from(String)` will always run the `require 'stringio'` operation. This prevents a multi-threaded JRuby application from parsing xml on separate threads concurrently given that `require` will pass through a synchronized piece of code. An experiment in removing this `require` lead to a 10x performance improvement on 10 threads parsing incoming strings on xml. For more details see logstash-plugins/logstash-filter-xml#83
- Loading branch information