Improve performance of samples.

Change-Id: I215eb7bf0bd6501c6ea2c6315fc87b78b27dd30d
1 file changed