Use document.write logging for browser benchmark