Wrote a benchmark activity for Android which reads images recursively from the SD...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 24 Oct 2008 22:05:07 +0000 (22:05 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 24 Oct 2008 22:05:07 +0000 (22:05 +0000)
commit8111bcbf5156e94d57145097a052deaabe07204a
tree2aa32d3a0dd2956f1370c7b78c7fca6156c610cc
parenta1eb4b977171b62c841ad88aa988dc2b2324a51c
Wrote a benchmark activity for Android which reads images recursively from the SD card, decodes each 10 times, and prints the average time to decode in milliseconds. The UI is extremely minimal, as the results are written to the log, but this is a good start towards measuring our performance under Dalvik on a platform without floating point hardware. This should run fine on the emulator but I haven't tested it yet.

git-svn-id: http://zxing.googlecode.com/svn/trunk@640 59b500cc-1b3d-0410-9834-0bbf25fbcc57
androidtest/AndroidManifest.xml
androidtest/res/layout/benchmark.xml [new file with mode: 0755]
androidtest/res/layout/test.xml
androidtest/res/values/ids.xml
androidtest/res/values/strings.xml
androidtest/src/com/google/zxing/client/androidtest/BenchmarkActivity.java [new file with mode: 0755]
androidtest/src/com/google/zxing/client/androidtest/BenchmarkItem.java [new file with mode: 0644]
androidtest/src/com/google/zxing/client/androidtest/BenchmarkThread.java [new file with mode: 0755]
androidtest/src/com/google/zxing/client/androidtest/RGBMonochromeBitmapSource.java [new file with mode: 0644]
androidtest/src/com/google/zxing/client/androidtest/ZXingTestActivity.java