The Timeline object allows you to get the execution time for each node in the graph:
you use a classic sess.run() but also specify the optional arguments options and run_metadata
you then create a Timeline object with the run_metadata.step_stats data
Here is an example program that measures...