houqp/kindlepdfviewer — Issue #28: gprof result
Author: houqp
Created: 2012-03-09 04:05:18+00:00
State: open

for viewing pdf with large images:
```
25.53 0.60 0.60 jbig2_decode_generic_region
24.68 1.18 0.58 scale_row_to_temp2
21.28 1.68 0.50 jbig2_arith_decode
4.26 1.78 0.10 fz_scale_pixmap
3.83 1.87 0.09 fz_unpack_tile
3.83 1.96 0.09 jbig2_arith_new
2.55 2.02 0.06 20 3.00 3.00 einkUpdate
```

for djvu files:
```
time seconds seconds calls ms/call ms/call name
16.29 0.79 0.79 DJVU::IW44Image::Map::image(int, DJVU::GRect const&, signed char*, int, int, int)
12.99 1.42 0.63 DJVU::GPixmapScaler::scale(DJVU::GRect const&, DJVU::GPixmap const&, DJVU::GRect const&, DJVU::GPixmap&)
8.66 1.84 0.42 DJVU::filter_bv(short*, int, int, int, int)
8.04 2.23 0.39 DJVU::IWPixmap::get_pixmap(int, DJVU::GRect const&)
7.84 2.61 0.38 84 4.52 4.52 einkUpdate
7.63 2.98 0.37 DJVU::filter_bh(short*, int, int, int, int)
6.80 3.31 0.33 DJVU::IW44Image::Codec::decode_buckets(DJVU::ZPCodec&, int, int, DJVU::IW44Image::Block&, int, int)
3.30 3.47 0.16 65 2.46 2.46 drawPage
3.30 3.63 0.16 DJVU::GBitmap::blit(DJVU::GBitmap const*, int, int, int)
3.30 3.79 0.16 DJVU::GPixmap::stencil(DJVU::GBitmap const*, DJVU::GPixmap const*, int, DJVU::GRect const*, double, DJVU::GPixel)
3.09 3.94 0.15 DJVU::JB2Dict::JB2Codec::Decode::code_bitmap_by_cross_coding(DJVU::GBitmap&, DJVU::GBitmap&, int, int, int, int, unsigned char*, unsigned char*, unsigned char*, unsigned char*, unsigned char*)
3.09 4.09 0.15 DJVU::JB2Dict::JB2Codec::Decode::code_bitmap_directly(DJVU::GBitmap&, int, int, unsigned char*, unsigned char*, unsigned char*)
2.27 4.20 0.11 DJVU::GBitmap::encode(unsigned char*&, DJVU::GPBuffer&) const

```