Skip to content

[sdk] investigate if using a set is quicker for awaiting resources in logs/span processors #6568

@pichlermarc

Description

@pichlermarc

Idle perf thought (not really related to this PR): The common case will be all these logRecord.resource things being the same resource object. I wonder if using a Set to reduce the number of resource objects to Promise.all() on would be faster.

Originally posted by @trentm in #6356 (comment)

This issue is considered done when:

  • performance impact has been investigated
  • if using a set is quicker, performance improvement has been implemented

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions