Add timing to examples