Measuring time for DB and cache has been added