Merge pull request #6847 from jtattermusch/optimizations_backport

Backport wrapper optimizations and microbenchmarks (to 3.10.x)