How to measure the optimized time between android-app using pipelineCache and not?

how to measure the optimized time between android-app using pipelineCache and not?

  1. use .spv
  2. use pipelineCace
    how to measure the CPU and GPU time of the above 2 methods
    Thanks!