Should I tell the user how much time a process took?

My project has some database queries and it may take a time.
Should I display the time taken of a query to the user after the query ends?


EDIT

This project is an industry software.
Users may or may not care about it.
We are concerned that showing the taken time may make user ask some unnecessary optimization needs.