Skip to content

Long call stack trace causes performance issue #439

Closed
@bigbobzhang

Description

@bigbobzhang

Sequence.js
line 15:
this._callSite = (new Error).stack.replace(/.+\n/, '');

This line slow down every query. Without this line, I can get 3 to 4k rps, but with this i can only get 1k rps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions