haproxy_log_analysis icon indicating copy to clipboard operation
haproxy_log_analysis copied to clipboard

Improve line parsing

Open gforcada opened this issue 5 years ago • 1 comments

The raw lines are being processed by a huge regular expression that needs to capture every small detail of it. This is the main factor of the slowness, as checked with a rather small file (50k lines only) and performance tools.

Are there other, faster, ways to process it? :thinking:

gforcada avatar Jan 07 '20 14:01 gforcada

https://ohadravid.github.io/posts/2023-03-rusty-python/ sounds like a good inspiration 🦀 🎉

gforcada avatar Apr 13 '23 15:04 gforcada