Skip to content

Commit 3bd6d5d

Browse files
SSYernarfacebook-github-bot
authored andcommitted
Refactor benchmark utilities: centralize core logic into _run_benchmark_core (#3191)
Summary: Removed redundant logic in `benchmark` and `benchmark_func` by moving shared timing, memory, and profiling code into a new `_run_benchmark_core` function. Ensured the backward-compatibility. Differential Revision: D78290979
1 parent 0d6ef90 commit 3bd6d5d

File tree

1 file changed

+166
-206
lines changed

1 file changed

+166
-206
lines changed

0 commit comments

Comments
 (0)