-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSC is very slow when using cryptography #130
Comments
What version of JSC are you using? Some versions of |
i've tried the packaged version with 0.61 and the latest npm jsc-android |
JSC has four tiers of JIT executions.
For balancing between resource usage and performance, we only enable LLInt and Baseline JIT. |
thanks! i'll try these |
@sirpy I dont recall the results or if I was able to build and use JSC with JIT. |
Question
When using javascript based crypto libraries such as hdkey (uses crypto.createHmac)
performance is very low
generating 10 addresses with hdkey takes about 1.8 seconds with latest JSC. for comparison:
bundled JSC around 4 sec
react-native-v8 without JIT also around 4 sec
ios simulator 100mili
react-native-v8 with JIT 200mili
Maybe the jsc-bundle is not really configured for JIT? any other explanation for the slow runtime on JSC?
The text was updated successfully, but these errors were encountered: