@Override
  public CloseableReference<Bitmap> process(
      Bitmap sourceBitmap, PlatformBitmapFactory bitmapFactory) {
    long startTime = System.nanoTime();
    CloseableReference<Bitmap> result = mPostprocessor.process(sourceBitmap, bitmapFactory);
    showDuration(System.nanoTime() - startTime);
    return result;
  }
Postprocessor that measures the performance of {@link BasePostprocessor#process(Bitmap,
PlatformBitmapFactory)}.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/postprocessor/BenchmarkPostprocessorForManualBitmapHandling.java