`benchmark` can be invoked with an executable file after it. It will output the running time in milliseconds. Depends on gnu date being installed on the system.