[Bug 59514] time()/localtime() performance has regressed significantly