Skip to content

Native: use IPC instead of flushing to disk where possible #1834

Description

@jpnurmi

Proposal: use IPC instead of flushing to disk to speed up scope changes, such as setting tags. For example, send messages over a named pipe on Windows.

As a rough comparison, with Crashpad (Windows Defender and external crash reports disabled):

  • flush scope to disk (set tag): ~0.5ms
  • send IPC message (add attachment): ~0.1ms

Based on that, we could estimate that switching the native backend from disk flushes to IPC messages could result in a ~5x speedup when setting tags on Windows.

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    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