I just found this: 
https://github.com/petkaantonov/bluebird/wiki/Optimization-killers

So that kind of answers my own question. Still, if anyone wants to drop its 
two cents, I'll be glad to read.

Still puzzled why I 'measure' the same performance on both cases. I'm doing 
millions of linear algebra operations. Also compared that to similar C and 
performance is pretty close. If this means they could be even faster then 
wow :D

On Monday, April 15, 2019 at 12:28:03 AM UTC+3, Al Mo wrote:
>
> Let's say I have some code and I want to execute it, you could:
>
> (a) create a v8::Script, compile it and then run it,
>
> OR,
>
> (b) send the string to an active v8::Context and call eval(code) from 
> inside.
>
> I remember hearing that eval does not optimize code, but in my purely 
> empirical tests both scenarios seem to run code at about the same speed.
>
> But still the question is, are there differences in performance between 
> the two approaches? What other things should I expect to be different?
>
>
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to