idaholab / MontePy

MontePy is the most user friendly Python library (API) to read, edit, and write MCNP input files.
https://www.montepy.org/
MIT License
32 stars 7 forks source link

Automate finding O(n^2) opertions #557

Open MicahGale opened 1 month ago

MicahGale commented 1 month ago

Internal to INL (through ICSBEP) we have > 1,000 models of varying lengths, and profiling data for each time these are read. It would be good to automate a regression for each function for number of calls versus number of lines. The order of this regression will show if a function is being called in O(N^2) time.