Add a test to ensure we don't get a performance regression on #hash
Merge pull request #15678 from sgrif/sg-test-hash

Add a test to ensure we don't get a performance regression on #hash