collect load time for templates and images