Hi! I've added SQL profiler to the previously PSQL profiler pull request.
See updated readme: https://github.com/FirebirdSQL/firebird/blob/59abcdb8b97b794bf42c943c45da765100abcd4b/doc/sql.extensions/README.profiler.md SQL profile data is put in RDB$PROFILE_RECORD_SOURCE_STATS which reflects each node of an explained plan. I've added separate columns for OPEN and FETCH stats. They are important because SORT and GROUP, for example, has high open time and fast fetches while simple record sources has fast open. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel