Add debug option to disable performance features for testing

Change-Id: I508448907a83fb32028cb28eb64b72f97a863fd0
6 files changed