In addition to the transfer from debuggee to debugger being faster, I think this work also made it so that the transfer from the firefox machinery to the firefox profiler UI is much faster: indeed the data is now an arraybuffer instead of a JS object, and as a result it's a transferable object instead of being structured cloned. From my testing it seems to be reduced from 15 sec to 5 sec for a ~30MB profile. The long part is now the transfer of the libraries for symbolication, esp libxul.so.
Bug 1581963 Comment 24 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
In addition to the transfer from debuggee to debugger being faster, I think this work also made it so that the transfer from the firefox machinery to the firefox profiler UI is much faster: indeed the data is now an arraybuffer instead of a JS object, and as a result it's a transferable object instead of being structured cloned. From my testing it seems to be reduced from 15 sec to 5 sec for a ~30MB profile. The long part is now the symbolication part, esp libxul.so. But this happens also on desktop.