[Mesa-dev] mesa vs pahole
Dave Airlie
airlied at gmail.com
Fri Mar 20 00:29:55 PDT 2015
I started running pahole on stuff today and mesa had a bunch of low
hanging fruit all over the types, the main thing all of this
does is reduce the mesa context size considerably.
before:
/* size: 150024, cachelines: 2345, members: 114 */
after:
/* size: 146912, cachelines: 2296, members: 114 */
thats about 3k gone.
but I'm sure some of these are kinda pointless
micro-optimisation, but maybe give some points
on where we can focus some reductions,
gl_texture_attrib
gl_image_unit
being two of the scarier things I hit.
Dave.
More information about the mesa-dev
mailing list