Refactor test_inductor_benchmark into test_single_dynamo_benchmark helper (#92665)
I need this because I'm going to add a few more configurations
(not enabled by default, but to be run on periodic) and having this
better factored will make it easier.
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/92665
Approved by: https://github.com/Chillee, https://github.com/desertfire