Performance measurement in customer profiling with context switching