Skip to content

Performance problems with CastXML and py++ #56

@iMichka

Description

@iMichka

The main effort was to make pygccxml and py++ work with CastXML. Now that this is done, one problem remains to be solved: performance. @mamoll reported that using py++ is now much slower than before.

When comparing the xml files (between gccxml and castxml), one thing which seems very different is for example the std namespace. All the internals are now exposed with CastXML. With gccxml std contained around 260 elements. With castxml it has more than 20000 … This is probably making pygccxml slow when parsing for declarations.

This will need to be benchmarked and tested. Probably we can just skip some of these declarations or re-order the dictionaries / lists to make the algorithm faster. I plan to do this for the 1.8.0 release.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions