FabianTerhorst / FastLayout

Generates a Java Object for your xml layout to reduce inflate time to zero
Apache License 2.0
443 stars 35 forks source link

Benchmarks? #22

Closed Kisty closed 8 years ago

Kisty commented 8 years ago

How fast is the layout compared to XML layout inflation? Can you do some benchmarks to show the improvements?

Thanks!

ivanfeli commented 8 years ago

https://cloud.githubusercontent.com/assets/5869863/14607128/f77fa9b4-0588-11e6-9fcc-4884ad6d709a.png

Source: https://nethergrim.github.io/performance/2016/04/16/anko.html

Kisty commented 8 years ago

It's not exactly what the library is but probably similar.

FabianTerhorst commented 8 years ago

The benchmark result should be the same.

FabianTerhorst commented 8 years ago

Maybe a little bit better, because im caching converted pixels from dps.