Skip to content

[bun] performance issue with forkchoice updateHead() api #8519

@twoeths

Description

@twoeths

Describe the bug

here's what I see on a NodeJS lg1k node:

Image

same type of beacon node with Bun, it doubles the time:

Image

it also showed up to ~900ms on a sas node
Timeline%20Recording%201 (4).json.zip

Expected behavior

updateHead() / computeDeltas() performance should be the same or better than NodeJS

Steps to reproduce

No response

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

unstable

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta-bugIssues that identify a bug and require a fix.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions