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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Improvementimprovement for existing featuresNativeplatform label

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions