Skip to content

Implement parallel parsing #742

@MicahGale

Description

@MicahGale

Is your feature request related to a problem? Please describe.

With large models read_input can be very slow, on the order of 10+ minutes for something like ITER-C. See #509.

Describe the solution you'd like

One way to deal with this is to use parallel parsing. This can be done with multiprocessing or concurrent.futures. A few notes:

  1. This will be fickle for windows support. End-users will always have to use __name__=="__main__" guarding. Due to this serial and parallel parsing should be both supported and serial should be the default

  2. Error recovery during iteration is very complicated. Therefore montepy -c should only run in serial

Describe alternatives you've considered

A faster parser #432, or a just-in-time parsing #529

Metadata

Metadata

Assignees

Labels

feature requestAn issue that improves the user interface.performance 🐌Issues related to speed and memory

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions