Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

All timer related functions have been moved to a new Timer component.

D7

// Start a page timer:
timer_start('page');
timer_read('page');
timer_stop('page');

D8

use Drupal\Component\Utility\Timer;

// Start a page timer:
Timer::start('page');;
Timer::read('page');
Timer::stop('page');

It has also been decided to move the replacement of timer component with Symphony Stopwatch to Drupal version 9 as it requires changes in the core API. (related issue)

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done