You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following test uses a lot of CPU, some basic analysis spots that the resources are used from the FormData polyfill's body method and specifically the line where the data are pushed into the raw Array used for joining the various parts. The same high consumption can be also observed invoking body from the init context.
The suggestion is to try to use directly a unique final TypedArray and the relative set method to make it more efficient (to be verified).
BTW, what will be decided in grafana/k6#2311 and the relative vision will impact for sure this issue so we have to keep them aligned.
The text was updated successfully, but these errors were encountered:
The following test uses a lot of CPU, some basic analysis spots that the resources are used from the FormData polyfill's body method and specifically the line where the data are pushed into the raw Array used for joining the various parts. The same high consumption can be also observed invoking
body
from the init context.Previously mentioned also in the FormData PR grafana/jslib.k6.io#21 (review).
The suggestion is to try to use directly a unique final TypedArray and the relative
set
method to make it more efficient (to be verified).BTW, what will be decided in grafana/k6#2311 and the relative vision will impact for sure this issue so we have to keep them aligned.
The text was updated successfully, but these errors were encountered: