Ultra-fast HC contamination detection in industrial processes