Re: [v8-users] Embedded V8 and Profiler

2018-03-21 Thread J Decker
I think it depends highly on what you're doing in the code being profiled.
I was recently playing with perlin noise and A* path finding... I had
initially implemented it as a tight loop and even with a output to a canvas
context, profiling data wouldn't load.  I broke it up so I have a
setTimeout(0)  inbetween iterations and now profiles load with no problem.

On Wed, Mar 21, 2018 at 5:03 PM, ibon  wrote:

> I have an android app with v8 arm7 embedded. It runs on android 7.0, with
> v8 6.3.292
>
> I use chrome for remote dev tools debugging.
>
> With current Chrome 66 on OSX 10.13.3, the new dev tools Performance tab
> gets stuck 'Loading profile' after any profiling session.
> The Previous Javascript Profiler (more tools -> javascript profiler) works
> worse since it hangs my app until i close dev tools session.
> Debugger and memory work as expected though.
>
> It used to work perfectly in previous chrome versions.
>
> Is there anything I could do to make it work, or is it a known bug ?
>
> Any help would be very much appreciated.
> Thanks.
>
> --
> --
> 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.
>

-- 
-- 
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.


[v8-users] Embedded V8 and Profiler

2018-03-21 Thread ibon
I have an android app with v8 arm7 embedded. It runs on android 7.0, with 
v8 6.3.292

I use chrome for remote dev tools debugging.

With current Chrome 66 on OSX 10.13.3, the new dev tools Performance tab 
gets stuck 'Loading profile' after any profiling session.
The Previous Javascript Profiler (more tools -> javascript profiler) works 
worse since it hangs my app until i close dev tools session.
Debugger and memory work as expected though.

It used to work perfectly in previous chrome versions.

Is there anything I could do to make it work, or is it a known bug ?

Any help would be very much appreciated.
Thanks.

-- 
-- 
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.


Re: [v8-users] standalone static library

2018-03-21 Thread Jakob Kummerow
I would hope that NetBeans provides a way to configure it such that V8 is
compiled with V8's own build process, and your embedding project's code
with whatever system you choose to use (which might be whatever NetBeans
uses by default); but I don't know how to set that up, sorry. V8's build
process is fairly complicated, so it is expected that you can't just tell
an IDE "here are the .cc files, now do your thing and build". The example
from our documentation shows you a way how it's possible to build V8 with
GN as usual, and then have your own code link against that. The example
does it by hand; it is up to you to figure out how to integrate those steps
into any other workflows/tools you might want to use. Feel free to post
your findings to this mailing list so that others can benefit!


On Wed, Mar 21, 2018 at 5:56 AM Eduardo Bolis 
wrote:

> Yes, I did. The examples created in the build process (Hello World, Shell,
> etc) works fine.
> But when I try to compile them from Netbeans, there are lot of libraries
> internal reference errors (if you wish, I will put an example here). and
> the compile line code from the turorial references a file 
> (src/inspector/libinspector.a)
> that doesn't exist in my V8 directories. I don't know if there was a config
> error in my process or the doc is deprecated.
> I see no troubles, in the future, to use GN to compile my project with V8,
> but under the development stage I need an IDE facility (like Netbeans) to
> work.
> I want to know if is possible to create a GN or Ninja script to make a
> single library file; if so, I will follow this way, and try to create this
> script (or if anyone already did it, please, tell me where to find).
>
> thanks,
>
> Eduardo
>
> --
> --
> 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.
>

-- 
-- 
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.


Re: [v8-users] standalone static library

2018-03-21 Thread Zac Hansen
Please post the exact error messages you received when you followed the 
posted docs.

On Wednesday, March 21, 2018 at 5:56:27 AM UTC-7, Eduardo Bolis wrote:
>
> Yes, I did. The examples created in the build process (Hello World, Shell, 
> etc) works fine. 
> But when I try to compile them from Netbeans, there are lot of libraries 
> internal reference errors (if you wish, I will put an example here). and 
> the compile line code from the turorial references a file 
> (src/inspector/libinspector.a) 
> that doesn't exist in my V8 directories. I don't know if there was a config 
> error in my process or the doc is deprecated.
> I see no troubles, in the future, to use GN to compile my project with V8, 
> but under the development stage I need an IDE facility (like Netbeans) to 
> work.
> I want to know if is possible to create a GN or Ninja script to make a 
> single library file; if so, I will follow this way, and try to create this 
> script (or if anyone already did it, please, tell me where to find).
>
> thanks,
>
> Eduardo
>

-- 
-- 
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.


Re: [v8-users] standalone static library

2018-03-21 Thread Eduardo Bolis
Yes, I did. The examples created in the build process (Hello World, Shell, 
etc) works fine. 
But when I try to compile them from Netbeans, there are lot of libraries 
internal reference errors (if you wish, I will put an example here). and 
the compile line code from the turorial references a file 
(src/inspector/libinspector.a) 
that doesn't exist in my V8 directories. I don't know if there was a config 
error in my process or the doc is deprecated.
I see no troubles, in the future, to use GN to compile my project with V8, 
but under the development stage I need an IDE facility (like Netbeans) to 
work.
I want to know if is possible to create a GN or Ninja script to make a 
single library file; if so, I will follow this way, and try to create this 
script (or if anyone already did it, please, tell me where to find).

thanks,

Eduardo

-- 
-- 
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.