add option to print compilation time (#121996)
Summary:
X-link: https://github.com/pytorch/pytorch/pull/121996
Approved by: https://github.com/davidberard98
Reviewed By: huydhn
Differential Revision: D55045975
Pulled By: eellison
fbshipit-source-id: 3f8d30a84204ffa64b1be164ab4fb63abb53d200