[Mesa-dev] [PATCH 2/2] i965: perf: reduce i965 binary size
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Fri Mar 16 15:06:00 UTC 2018
On 16/03/18 15:03, Lionel Landwerlin wrote:
> Here are the savings in a meson build :
>
> Before :
> $ du -h ./build/src/mesa/drivers/dri/libmesa_dri_drivers.so ./build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
> 43M ./build/src/mesa/drivers/dri/libmesa_dri_drivers.so
> 47M ./build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
>
> $ size build/src/mesa/drivers/dri/libmesa_dri_drivers.so build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
> text data bss dec hex filename
> 13054002 409424 671856 14135282 d7aff2 build/src/mesa/drivers/dri/libmesa_dri_drivers.so
> 14550386 409552 671856 15631794 ee85b2 build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
Arg... Drop this bit ->
> $ size build/src/mesa/drivers/dri/libmesa_dri_drivers.so
> text data bss dec hex filename
> 14550386 409552 671856 15631794 ee85b2 build/src/mesa/drivers/dri/libmesa_dri_drivers.so
<-
>
> As a side comment here is the size of the drivers if we remove all of
> the metrics from the build :
>
> $ du -sh build/src/mesa/drivers/dri/libmesa_dri_drivers.so
> 40M build/src/mesa/drivers/dri/libmesa_dri_drivers.so
>
> v2: Fix an issue with hashing of counter equations (Lionel)
> Build system rework (Emil)
More information about the mesa-dev
mailing list