Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit a44f1e2

Browse files
robertwbaaltay
authored andcommitted
Avoid calling logging.debug on every element
This call can be quite expensive, even if logging is disabled. Instead, gate this on a boolean set at start(). This is slightly less flexible as debug logging cannot be dynamically toggled for these log messages between bundles. ----Release Notes---- Performance improvements. [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=117854898
1 parent 5cfe9a5 commit a44f1e2

3 files changed

Lines changed: 149 additions & 103 deletions

File tree

0 commit comments

Comments
 (0)