One of the biggest obstacles Mendix developers face is users reporting performance issues.
A long running microflow, a slow loading page etc.
However the Mendix platform doesn't really offer easy ways to analyze degraded performance.
Therefore I would want being able to enable "trace" mode on a microflow, and if that is enabled.
Mendix automatically measures every microflow step and reports its duration back to me in a structured log message at the end of the microflow execution. Where the log message summarizes every step taken in the microflow :
###ms, [microflow_name][Action #1 caption],
###ms, [microflow_name][Action #2 caption],
###ms, [sub_microflow_name][Action #1 caption]
###ms, [microflow_name][Action #3 caption]
etc.
###ms, TOTAL DURATION
And if there is SQL being executed I would like it if there was some postgres features used to report on performance, I think there are things like: pg_stat_activity, pg_stat_user_tables, pg_stat_database and auto_explain options.
This feature should only be usable on localhost, and would require postgres as a database setting. And this last bit I'm not even sure if it is possible to use in that way.