ASK: Adaptive Sampling Kit for Performance Characterization