Skip to content

Slow parsing of Socrates source files #499

@hiker

Description

@hiker

One source file from Socrates is parsed extremely slow. I aborted fparser2 after 15 minutes, my Fab build (which I believe was only parsing this file) was busy for over 30 minutes without a result.

The file in question is:
https://github.com/MetOffice/socrates/blob/main/src/odepack/opkda1.f
A bit over 10k lines of Fortran 77 :( The same directory has a file opkdmain.f, which is over 16k lines, and it got parsed in around 140 seconds.

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