3 ms·
In terms of performance there is huge room of improvement in when.js. $ node --trace_inlining go_when.js Did not inline fulfilled called from coerce (t
by esailija 13y ago
In terms of performance there is huge room of improvement in when.js.
$ node --trace_inlining go_when.js
Did not inline fulfilled called from coerce (target contains unsupported syntax [early]).
Did not inline NearFulfilledProxy called from fulfilled (target requires context change).
Did not inline near called from fulfilled (target contains unsupported syntax [early]).
Did not inline Promise called from near (target requires context change).
Did not inline enqueue called from scheduleConsumers (target requires context change).
Did not inline b called from enqueue (target not inlineable).
Did not inline fn called from NearFulfilledProxy.when (target requires context change).
Also some functions are constantly being recompiled and try catch is corrupting (making them not optimizable under current v8) some large functions instead of being isolated.