Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kyri-petrou
Copy link
Contributor

This PR optimizes logging mostly via optimizing the creation of the logged message, as well as some micro-optimizations to reduce the number of effects evaluated in the process

@kyri-petrou kyri-petrou requested a review from guizmaii January 22, 2025 03:12
}

if (spans0.nonEmpty) {
val nowMillis = java.lang.System.currentTimeMillis()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this could be quite significant in some cases.

@kyri-petrou kyri-petrou merged commit c0d7019 into zio:series/2.x Jan 22, 2025
18 checks passed
@kyri-petrou kyri-petrou deleted the optimize-logging branch January 22, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants