The requirement is , that are rules which are to be executed on n number of
object (for example order object).
The execution result (true or false) will decided if the order is to be
placed or not. Getting the time of execution down is required
for the order to be executed without delay.
Belo
Well, doing something 100,000 times takes time. Why do you expect it to be
faster? What does your JavaScript function do? How long does it take to
execute it a single time? Have you profiled your app? Have you narrowed
down whether the majority of the time is spent in JS or C++? And in which
line(s
To be more elaborate, i am trying to use v8 on windows woth C++ application.
When i initialize my application, i compile the script.
The compile script is stored along with the context in which it is compiled.
So i have code as follows:
v8::Persistent context = v8::Context::New( NULL, contex
The function having the performance hit :
v8::Locker l( isolate );
v8::Isolate::Scope iscope( isolate );
v8::HandleScope handle_scope;
for(int i = 0; i < 1; i++)
{
//pV8Item is the object (structure) where is store the persistent handle of
context and compiled script
( pV8Item->contextOrd