aidasfen.blogg.se

Benchmark tests
Benchmark tests










Note: This timestamp is in nano seconds and will change based on current system time. These results are stored in following format: /.csv The benchmark results are stored in a CSV file which can be used for analysis. adb shell /data/local/tmp/C2EncoderTest -P /data/local/tmp/MediaBenchmark/res/ The test encodes input stream and benchmarks the codec2 encoders available in device. adb shell /data/local/tmp/C2DecoderTest -P /data/local/tmp/MediaBenchmark/res/ The test decodes input stream and benchmarks the codec2 decoders available in device. To get the resource files for the test follow instructions given in Resources C2 Decoder adb push $(OUT)/data/nativetest/* /data/local/tmp/ adb push $(OUT)/data/nativetest/C2DecoderTest/C2DecoderTest /data/local/tmp/ To test 32-bit binary push binaries from nativetest. adb push $(OUT)/data/nativetest64/* /data/local/tmp/ adb push $(OUT)/data/nativetest64/C2DecoderTest/C2DecoderTest /data/local/tmp/ To test 64-bit binary push binaries from nativetest64. The 64-bit binaries will be created in the following path : $/data/nativetest64/ To run the test suite for measuring performance of the native layer, follow the following steps: Note: Benchmark Application now supports profiling both SDK and NDK APIs and that is the preferred way to benchmark codecs You can use a different location, but you have to modify the rest of the instructions to replace /data/local/tmp/MediaBenchmark/res/ with wherever you chose to put the files. The resource files are assumed to be at /data/local/tmp/MediaBenchmark/res/. unzip MediaBenchmark.zipĪdb push MediaBenchmark /data/local/tmp/MediaBenchmark/res/ The resource file for the tests is taken from hereĭownload the MediaBenchmark.zip file, unzip and push it to /data/local/tmp/ on the device. Run the following steps to build the test suite: mmm frameworks/av/media/tests/benchmark/ This page describes steps to run the NDK and SDK layer test.

benchmark tests benchmark tests

Benchmark results are published as a CSV report.

#BENCHMARK TESTS ANDROID#

It is used to benchmark these modules on android devices. Benchmark app analyses the time taken by MediaCodec, MediaExtractor and MediaMuxer for given set of inputs.










Benchmark tests