ErrorSink
ErrorSink copied to clipboard
Add a debug option to get statistics about regex performance
Some performance statistics could be gathered to find bad regexes. Also tests could be done to check if we are on the main thread or not, so that we can avoid long work.