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
30 stars 6 forks source link

Automate finding O(n^2) opertions #557

Open MicahGale opened 2 days ago

MicahGale commented 2 days 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.