NativeScript / NativeScript/ios

slow JS / C++ bridge

Aperta
#24 19 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@darind ci sta già lavorando.

Dal 23/1/2020.

ready for test
Lingua principale
JavaScript
Stelle
150
Fork
43
Merge medio
3g 10h
PR unite (30g)
22

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.