Add Jan Stolarek's test for Trac #9872
Document performance enhancement