Offloading entity / primitives API to Web Assembly


Is anyone aware of the most computationally expensive parts of the entity or primitives API that would benefit from being offloaded to use web assembly rather than JavaScript? Anything from specific functions, files, or high-level processes would be appreciated information.

Thank you for your time,

I would also like to add that if any developers think this is not a feasible idea, to please share your 2 cents.

I have been reading conversations surrounding improving performance of cesium with web assembly. Many claim that they are using it to dramatically increase performance, but not specifying what parts of the engine they are applying it to.

Any information on the topic would be greatly appreciated!