[examples] add quiet mode for performance measurements