forked from cobalt/cobalt
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
There's places in Cobalt (e.g. BaseProperty.onChange) that would benefit from switching to their lazy logging counterparts, e.g:
logger.debug("Subscribing to changes to property: $this.")
Should be
logger.debug { "Subscribing to changes to property: $this." }
I can't speak for the JVM implementation of uuid, but when looking at performance in the browser for Zircon I could see a fair chunk of time spent in uuid.toString() and garbage collecting strings which went away when using lazy logging and turning debug off.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request