]> git.ipfire.org Git - thirdparty/AWStats.git/commit
Optimize OptimizeArray 97/head
authorJ. Nick Koston <nick@cpanel.net>
Wed, 25 Apr 2018 18:53:38 +0000 (13:53 -0500)
committerJ. Nick Koston <nick@cpanel.net>
Wed, 25 Apr 2018 19:08:29 +0000 (14:08 -0500)
commit184e14b23c445f9e56998d42e7fb6161d16c753a
tree651c5510976930cb711772c01b03f2c1a91ffda6
parent9ebc709cfc33d213363649170857814d43d4e738
Optimize OptimizeArray

This function took 571 seconds to execute with 10k domains in the
configuration file. After optimization it now takes about 20ms for the
same workload.
test/testunit/testoptimizearray.pl [new file with mode: 0644]
wwwroot/cgi-bin/awstats.pl