improve benchmark infrastructure in preparation for zlib benchmark