Hi Mukul,
jOOQ has some out of the box DEBUG logging:
That logs way too much for your purposes, I would imagine, to an extent where logging itself might add overhead that will be included in measurements, but perhaps it's still good enough? Note that jOOQ doesn't log execution times, but you can configure your logger to include timestamps, from which you can derive execution times.
Other than that, most RDBMS maintain execution statistics in their dictionary views. For example, in Oracle, you can get a lot out of the v$sql and related views. In PostgreSQL, there's pg_stat_statements. In SQL Server, there's dm_exec_sql_text and related views and functions, in MySQL, there's the performance_schema.
I hope this helps,
Lukas