Chrome DevTools and Firefox DevTools both support console.timeline() and console.timelineEnd(). console.timeline() starts timeline recording and console.timelineEnd() stops it. https://twitter.com/addyosmani/status/487353570606743552
profile and profileEnd do that for us already. Though we can make these aliases or decide to change profile back.
Chrome DevTools renamed console.timeline & console.timelineEnd to console.time and console.timeEnd. > console.timeline() < 'console.timeline' is deprecated. Please use 'console.time' instead. > console.timelineEnd() < 'console.timelineEnd' is deprecated. Please use 'console.timeEnd' instead.
<rdar://problem/24356209>
Hmm, we already use time/timeEnd for a high performance time measurement that already outputs to the console.
(In reply to comment #4) > Hmm, we already use time/timeEnd for a high performance time measurement > that already outputs to the console. Chrome's time/timeEnd does the same. timeline/timelineEnd were removed when they switched to a tracing profiler in the timelines. https://code.google.com/p/chromium/issues/detail?id=412782 I find it to be a very bad developer experience. I hope we don't do the same with profile/profileEnd.
(In reply to comment #5) > (In reply to comment #4) > > Hmm, we already use time/timeEnd for a high performance time measurement > > that already outputs to the console. > > Chrome's time/timeEnd does the same. > > timeline/timelineEnd were removed when they switched to a tracing profiler > in the > timelines. > > https://code.google.com/p/chromium/issues/detail?id=412782 > > I find it to be a very bad developer experience. I hope we don't do the same > with profile/profileEnd. They made that change due to architecture problems we don't have. I think we should make time/timeEnd markup the timeline like they do, and just keep profile/profileEnd as-is (start and stop the timeline.) I am hesitant to add timeline/timelineEnd as an alias of profile/rpofileEnd since Chrome deprecated it.
It seems this is not needed for parity, and it's redundant with existing API.