Summary: py-spy revealed that this contains method is suprisingly slow - though not with a granularity that reveals exactly why. Probably comparing with all the dunder methods.
pytest python_modules/dagster-graphql/dagster_graphql_tests/graphql/ & sudo py-spy record --format speedscope --output tests.scope -p $!
See that contains no longer ranks top of the list of self-time
Reviewers: max, schrockn
Reviewed By: max
Differential Revision: https://dagster.phacility.com/D1363