Bug 1698493 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

In the network code, we use `profiler_can_accept_markers` to avoid doing expensive work when recording markers, it would be a good idea to return false when the profiler isn't compiled in. I believe that this alone would avoid using the `ifdef` in that code.
In the network code, we use `profiler_can_accept_markers` to avoid doing expensive work when recording markers, it would be a good idea to return false when the profiler isn't compiled in. I believe that this alone would avoid using the `ifdef` in that code.
(update: I would also need a noop for the adding marker functions)

Back to Bug 1698493 Comment 1