NativeScript / NativeScript/ios

slow JS / C++ bridge

Offen
#24 19 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@darind arbeitet bereits daran.

Seit 23.1.2020.

ready for test
Vorherrschende Sprache
JavaScript
Sterne
150
Forks
43
Ø Merge
3 T. 10 Std.
Gemergte PRs (30 T.)
22

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.