This moves us to using performance.mark and performance.measure instead of console.time and console.timeEnd which reduces the overhead of instrumentation. Further: it instruments Evented's trigger method in a way that catches
events on Services that implement Evented (by reopening the Evented mixin)
events on Models (by reopening with the Trigger override)
events on Components (by reopening with the Trigger override)
It avoids looking up and reopening DS.Model if ember-data is not present.
We may want to add it to Route as well, but I was unsure if Route implemented Evented by default and didn't want to introduce it if not.
This moves us to using
performance.mark
andperformance.measure
instead ofconsole.time
andconsole.timeEnd
which reduces the overhead of instrumentation. Further: it instrumentsEvented
'strigger
method in a way that catchesIt avoids looking up and reopening
DS.Model
if ember-data is not present.We may want to add it to
Route
as well, but I was unsure if Route implemented Evented by default and didn't want to introduce it if not.