[PATCH] speed.cgi: reduce system load by copying two general-functions.