Improve the --statistics performance by skipping sanity checks
authorFabian Keil <fk@fabiankeil.de>
Mon, 24 Dec 2012 15:37:39 +0000 (15:37 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 24 Dec 2012 15:37:39 +0000 (15:37 +0000)
commit28d7b6fff4b7fda10bf6246c66b4c8cd82377cc2
treea07a73ea79418a3f5f7122a8bd9c30b40749f63e
parent2c8cc588b08f0876e8cdf985cf192ecd58233d6c
Improve the --statistics performance by skipping sanity checks

... for input that shouldn't affect the results anyway.
In my non-scientific benchmarks this reduces the runtime by about 45%.

Add a --strict-checks option that enables some of the checks again,
just in case anybody cares.

Hohoho.
tools/privoxy-log-parser.pl