Skip to content

Xmir.toPhi method takes unreasonable amount of time #3864

Description

@volodya-lombrozo

Xmir.toPhi method takes unreasonable amount of time to transform XMIR files to PHI expressions.

The most problematic line is here:

return new Xnav(new Xsline(train).pass(this.xml).inner())

Particularly new Xsline(train).pass(this.xml).

Here is profiling results:

flamegraph-phi-unphi-90391.html.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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