Add simple time profiling