Skip to content

[Bug]: Node performance drop calling "logger.debug" #2546

@Strauteka

Description

@Strauteka

🔎 Search Terms

performance

The problem

Observer performance drop by ~15% on my computer when calling "logger.debug" without actually printing anything.
Is this a normal performance drop?

What version of Winston presents the issue?

v3.17.0

What version of Node are you using?

v22.11.0

If this worked in a previous version of Winston, which was it?

No response

Minimum Working Example

Example project

Additional information

Requests per second: ~65018.68 [#/sec] (mean) without calling, with disabled log call ~54211.64. on my machine.

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