Time.now.to_f
A microtimer can be created by doing something like:
At the top of the page @page_time = Time.now.to_f
At the bottom of the page Time.now.to_f – @page_time