add 'tuning' flag and more dbg to detect performance issue.