gforcada / haproxy_log_analysis

HAProxy log analyzer
https://pypi.org/project/haproxy_log_analysis
GNU General Public License v3.0
88 stars 35 forks source link

Improve line parsing #40

Open gforcada opened 4 years ago

gforcada commented 4 years ago

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 commented 1 year ago

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