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
We talked about the GC features not yet implemented on Linux. Following is an example of where JsCreateString in a hot path can severely harm perfomance:
I was suspecting from Utf8 encode/decode stuff at first. However, testing the sample above with different inputs show GC is the real cause. (note: we don't have high performance GC features available on xplat yet.)
This is no longer an issue. @alexhultman could you please contribute this sample as a test case?
Create a new folder under test/native-tests and copy Platform.js and sample.cpp from test-char. Update the sample.cpp with your code above. JsCreatePropertyIdUtf8 -> JsCreatePropertyId
Hi,
We talked about the GC features not yet implemented on Linux. Following is an example of where JsCreateString in a hot path can severely harm perfomance:
The text was updated successfully, but these errors were encountered: