Rework ADC example and add performance test