Skip to content

Logging is slowing down execution #23

@chaseaucoin

Description

@chaseaucoin

The logging on every call takes a lot of time. Doing 10,000 request responses of static text "OK" takes 1.8426/ms per request which is abysmal for a 2 byte package. I see no clear options to disable this. If there is already a way to disable please let me know.

Expected Behavior

Ability to turn off logging

Actual Behavior

No ability to turn off logging (that I can see)

Steps to Reproduce

Follow the demo project, echo OK for 10,000 iterations

@Test
public void reproCase() {

}

Possible Solution

Provide ability to disable logging

Your Environment

  • RSocket version(s) used:
  • Other relevant libraries versions (eg. netty, ...):
  • Platform (eg. JVM version (javar -version) or Node version (node --version)):
  • OS and version (eg uname -a):

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions