Hi v8 users,
I would like to call a function from javascript which when processed by v8
engine, calls my own library function.
For example,
*In javascript (main.js):*
var start = Date.now();
myFunctionInV8();
// js code...
// js code...
// js code...
var end = Date.now();
*In v8:// may be
Hi v8 users,
I would like to call a function from javascript which when processed by v8
engine, calls my own library function.
For example,
*In javascript (main.js):*
var start = Date.now();
myFunctionInV8();
// js code...
// js code...
// js code...
var end = Date.now();
*In v8:*
void myFunc
> gin provides its own v8::Platform implementation, overriding the default
> platform.
>
> On Thu, Jun 21, 2018 at 9:55 AM Abhishek Kanike <
> kai.dranzer32...@gmail.com> wrote:
>
>> Hi Jakob and v8-users,​​
>> I have following observations on printing logs in v8 and dat
ial requirements.
>
> On Mon, Jun 18, 2018 at 3:48 PM Abhishek Kanike <
> kai.dranzer32...@gmail.com> wrote:
>
>> Jakob,
>> Thanks for quick reply.
>> That's a good point, should have tried with gdb. Will check with that.
>> Is there a way to add logs in
age:chromium&dr&l=282
>
> and step through the code from there.
>
> On Mon, Jun 18, 2018 at 2:39 PM Abhishek Kanike <
> kai.dranzer32...@gmail.com> wrote:
>
>> ​Hi,
>> For confirmation i am using a simple Date.now() call on button click
>> [Attache
Hi,
I need some help in using user-defined object files with v8 code.
How can i call a c++ function from v8 engine code. For example, from here (
https://cs.chromium.org/chromium/src/v8/src/base/platform/time.cc?dr=C&g=0&l=382)
I want to call a function of my own c++ file.
Two question arise here
Sorry JaKob
On Mon, May 21, 2018, 6:51 PM Abhishek Kanike
wrote:
> Cool.. I see it. Thanks a lot Jacob.
>
> On Mon, May 21, 2018, 5:40 PM Jakob Kummerow
> wrote:
>
>> The time always has to be retrieved from the kernel. V8's implementation
>> is in base::OS::T
May 21, 2018 at 3:22 PM Abhishek Kanike <
> kai.dranzer32...@gmail.com> wrote:
>
>> Hi,
>> I want to know how the date.now() function is called in javascript (or
>> how it returns the value). I believe that javascript uses date.now() by
>> system call. I want
Hi,
I want to know how the date.now() function is called in javascript (or how
it returns the value). I believe that javascript uses date.now() by system
call. I want to in chrome source code how it is being set.
This is useful for one of the performance benchmark that I am working on.
Can someo