]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
speed.cgi: reduce system load by copying two general-functions.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 22 Oct 2021 08:05:32 +0000 (10:05 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 22 Oct 2021 16:15:34 +0000 (16:15 +0000)
commit110d4c81060c6663cdb562ee10afc7626c2d489b
tree7c39e75d63e0e38e0947dd5490d29d554b30f3dd
parent6befc952cc9f71d314f696dc2621120d705e8220
speed.cgi: reduce system load by copying two general-functions.

include general-functions.pl load and initialize many subfunctions that are not
needed by speed.cgi which was executed very often.
So this reduce the system load significant if webif was open in browser
and ajax-speed display enabled.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/cfgroot/general-functions.pl
html/cgi-bin/speed.cgi