NativeScript / NativeScript/ios

slow JS / C++ bridge

Open
#24 19 comments 0 reactions 1 assignee View on GitHub

@darind is already working on this.

Since Jan 23, 2020.

ready for test
Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

I decided run some tests comparing perfs of the actual runtime vs v8 runtime.
One thing which worries me quite a bit is the "bridge time".
I have made a test to run this function on an array of 100000 points.
On the current runtime it takes around 60ms. With the v8 runtime it takes around 300ms.
That means a 5x slower runtime in a sense :s
The test was made on simulator.

Dont know if anything can be done about this. Would love to get your view on this

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.