-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimizing running time #6
Comments
A test with --expandAllArrays on turb.F90 shows that one third of the running time for this option is lost in checkInDoWhile because of the getParent usage. Edit: done in 5faa98f (execution time for this option divided by 4) |
It might be interesting to be able to call fxtran without writing on disk (createExpr, createExprPart, wrapH) |
Look for all calls to fortran2xml (as in variables.addVar) to replace them by expressions.createExpr and add a cache around it (as for createExprPart) |
Copied from SebastienRietteMTO/PHYEX-fortran-tool#13
Profiling of commit ca993f46 is the following on all PHYEX (sxphynh)
--addIncludes : 0.16s
--applyCPP: 0.26s
--deleteNonColumnCalls : 30.8s
--inlineContainedSubroutines : 99.6s
--changeIfStatementsInIfConstructs : 2.1s
--expandAllArrays : 141.3s
--attachArraySpecToEntity : 0.35s
--removeIJLoops : 82.8
--reDimKlonArrayToScalar : 23.1s
--addStack : 26.4s
Total : 407s
Detailed running time on internal functions are still in SebastienRietteMTO/PHYEX-fortran-tool#13
The text was updated successfully, but these errors were encountered: