Fixed #20877 -- added a performance optimization guide
Merge pull request #1463 from evildmp/ticket_20877_work_in_progress

Many thanks to all involved in discussions, and in particular to Tim Graham for painstaking reviews.