Skip to content

Writing events is very expensive #1

@rickbrew

Description

@rickbrew

I've been noticing this while doing some profiling of Paint.NET: the Systrace stuff is actually pretty expensive! It was significantly skewing the results of some benchmarks I was trying to perform, and causing me to come to the wrong conclusion (that the new version, 4.2.2, is slower than the old one, 4.2.1) by a wide margin.

From analysis in WPA, the time seems to be getting sunk into lock contention. I'll have to look into whether flushing is being done correctly, too.

I think the strategy of having a dedicated thread for writing events is worth looking into.

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