add before/after pgfouine analysis for caching