How do you structure data logging for high-frequency testing to ensure data integrity without degrading system performance?