Add BasicTimer for performance tuning