15 Commits

Author SHA1 Message Date
Chris Craik
9e6fa17b47 Add useMinimalMemory=true test to TileBenchmark
Change-Id: I1d0d0eebbf0847fe03dfbc7176275a40e7ca0c52
2012-04-19 15:08:47 -07:00
Guang Zhu
d7f256dd2f TileBenchmark test app needs read sdcard permission
Since the app is using JB API level, it's required to declare
an explicit READ_EXTERNAL_STORAGE permission

Change-Id: I84142d51aeab4bc28269a6fea716c8663e080118
2012-04-17 16:01:34 -07:00
Chris Craik
dc419d79fc remove toast from animation benchmark
Change-Id: I9ec2aa57fafbde5875c2f070fe4a33e4d33ee2ae
2012-04-04 14:15:59 -07:00
Chris Craik
6f92c15180 Factor viewport scaling into coverage calculation
Change-Id: I32114ead0ca42eaf2161d516a4281da216b61fa4
2012-03-20 14:30:30 -07:00
Jonathan Dixon
3c90952036 Refactor WebView to be a thin proxy class
Splits interface and implementation; all client calls are forwarded
to an abstract WebViewProvider interface, and the existing implementation
moved into the WebViewClassic implementor of this interface.

Originally taken from a snapshot from the development branch, by:
git diff HEAD 9a4c328a54cc05e5 | git apply
- but then rebased to keep up to date with master

Interdepends on webkit and Browser changes:
https://android-git.corp.google.com/g/158979
https://android-git.corp.google.com/g/167911

Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
2012-03-02 11:17:47 +00:00
Chris Craik
4390c6b4a6 Pause webkit painting when UI tile painting queue is full
Change-Id: I8836d7951f8f02d7f966dc22d807ea785ac9e637
2012-02-03 16:07:11 -08:00
Chris Craik
702c6fdc47 Allow profiling of animation performance
Also fixes manual testing mode
Depends on external/webkit change: https://android-git.corp.google.com/g/#/c/159794/

Change-Id: I169e80f9b5328b1b5a7b0aeaf09652de67febd8d
2012-01-24 13:25:49 -08:00
Guang Zhu
57420bf883 Small tweaks to Tile Benchmark test
* tag the module as 'tests' so the apk gets includes in test build
* merge the instrumentation into TileBenchmark app and eliminate
  the test apk entirely
* changed the default test suite to 'alexa25_2011' which is a suite
  of pages based on top 25 news sites from alexa, includes primarily
  english sites, and 3 CJK sites

Change-Id: Icd40a70b560bfd7c521adf8ad4b1068483698103
2012-01-05 15:16:42 -08:00
Chris Craik
09a71e073a Update tilebenchmark to work with current drawing infrastructure
bug:5062896

depends on external/webkit change: https://android-git.corp.google.com/g/#/c/154840/

- directly discard textures, instead of sending an invalidate through webkit
- better ui on smaller screens
- pass native pointer through jni calls

Change-Id: Icadbf8944edc5a2b1f8dc27bab53ac665c975462
2011-12-12 18:10:53 -08:00
Chris Craik
d0051c06c2 Send animation start notification back to webkit from ui thread
bug:5239801

depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/152559/

Change-Id: I647b5a82680f570c918227dbf57521b862dcfe25
2011-11-29 15:25:47 -08:00
Chris Craik
55ad2efde9 Fix tile benchmark tool stalls
bug:5062896
Change-Id: I2969e95481d65d5f87ce4399f09becc7b66d540a
2011-08-22 09:55:14 -07:00
Chris Craik
1d36d0fc7f TileBenchmark label addition
bug:5062896

Now uses previously unused methods, and has better labelling.

Change-Id: Icc6ec7d1ac915b594c26854aea31710e3f23633c
2011-08-03 16:54:23 -07:00
Chris Craik
555c55ed65 Added automated performance test to TileBenchmark
bug:5062896

Depends on external/webkit change:
https://android-git.corp.google.com/g/#change,125566

Loads pages from SD card, and scrolls through them reporting results. Added
contentInvalidateAll hidden WebView method, and made pageSwapCallback
extensible.

Change-Id: I9f7377aad6fd7c101177dde552a72357c8b4e400
2011-08-02 16:47:21 -07:00
Chris Craik
21555abad7 New log format, Manual log generation, plus logging of invalidates
bug:5062896

Added features to TileProfiler, updated jni interface to allow querying of
arbitrary log data via strings. Depends on the following webkit change:

https://android-git.corp.google.com/g/#change,122779

For new logging jni interface, and logging of invalidates.

Change-Id: I80ba6702b87e86ec76e5b0eafde45f4ef3a80ad3
2011-07-21 14:22:55 -07:00
Chris Craik
5888ec2b30 Added TileBenchmark
Adds TileBenchmark app, which loads pages in webview and scrolls through them
automatically, measuring rendering and allocation information.

Change-Id: Ieaf5bbcec604c99aaf16822915e58bfc495011ec
2011-07-18 17:24:48 -07:00