Profiler needs an id to identify the measured tree and an onRender callback to receive timing information.