If they're run from a script then it should be just a matter of recording system.date.now to a variable before the query execution and then system.date.millisBetween after the end of the execution. You can then write the result out to a logger of some sort or on a status line in your application.
I can't think of a way you could do that with a query binding though.
I don't think even an SDK module would be able to do this. The only possibility that comes to mind would be to implement a JDBC driver "wrapper" that would log what you like while passing the work onto a real JDBC driver.