[Freeswitch-users] mod_v8 pushed to git master!

Avi Marcus avi at avimarcus.net
Wed Jan 15 01:02:49 MSK 2014


Do you have any info on the performance ramifications of mod_v8, e.g.
thread startup time?

-Avi

On Tue, Jan 14, 2014 at 9:44 PM, Ken Rice <krice at freeswitch.org> wrote:

>  At this point in master spidermoney is disable on default builds and
> mod_v8 is enabled by default... This may change... But that’s how it is for
> now... My early testing is going well... Everyone else give it a go!
>
>
>
> On 1/14/14 1:28 PM, "Jeff Leung" <jleung at v10networks.ca> wrote:
>
> So does this mean mod_spidermonkey will be commented out by default (and
> hopefully removed from master) eventually?
>
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [
> mailto:freeswitch-users-bounces at lists.freeswitch.org<freeswitch-users-bounces at lists.freeswitch.org>]
> *On Behalf Of *Peter Olsson
> *Sent:* Tuesday, January 14, 2014 09:27
> *To:* FreeSWITCH Users Help; freeswitch-dev at lists.freeswitch.org
> *Subject:* [Freeswitch-users] mod_v8 pushed to git master!
>
>
> Hello everyone!
>
>
>
> I've finally pushed the new JavaScript module that uses Google's V8
> library to git master. The current state should be that it builds on Linux
> and Windows. The Windows version only has VS2012 project files so far
> though. I will try to fix a VS2010 version as well, but I don't have that
> version, so I'd appreciate some help if possible.
>
>
>
> I've enabled mod_v8 in build/modules.conf.in <http://modules.conf.in> ,
> so for a new git clone it should be built by default. I'm not sure if the
> core devs want it enabled instantly, so please change this if needed. In
> Visual Studio 2012 mod_v8 is enabled to be built by default also.
>
>
>
> The first time mod_v8 is built it will download a tarball for V8, and
> build the library. It will take some extra time, but when the lib is built
> it will be reused as most other libs inside FS. In Windows one more tarball
> will be downloaded as well, holding support files for making Windows build
> possible (python and cygwin).
>
>
>
> So far I've not tested all features in mod_v8 - but I have done some basic
> testing on maybe 90% of the features. If any problem occur, please file a
> Jira, and if possible, attach the script that causes the problem. I will
> make sure to take care of these issues as soon as possible. If some Linux
> build related issues occur, file to Jira as well - but I might ask for
> help, since I'm not really a pro on the Makefile stuff :)
>
>
>
> The features of mod_v8 should be exactly the same as mod_spidermonkey.
> Though the built-in support for XML and File JS classes doesn't exist in V8
> (as in Spidermonkey). I've created a new XML implementation class built
> upon the XML parser inside FS (I will upload some docs on the wiki for that
> one in a near future), and I've created the basic structure for a File
> class, but it's not yet implemented. The FS specific FileIO class does
> exist as before though.
>
>
>
> I'd really appreciate if as many as possible of you test the new module. I
> have only one lab phone at home, so performance testing is quite hard for
> me to do :) The things I feel I've not tested enough is the Session object
> (when executed from dialplan for some IVR), and performance plus memory
> management. Regarding memory management there might be some tweaks that
> must be added, so V8 doesn't wait too long to execute its GC.
>
>
>
> /Peter
>
>
>
> ------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> --
> Ken
>
>
>
> *http://www.FreeSWITCH.org <http://www.FreeSWITCH.org>
> http://www.ClueCon.com <http://www.ClueCon.com> http://www.OSTAG.org
> <http://www.OSTAG.org> *irc.freenode.net #freeswitch
> Twitter: @FreeSWITCH
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140114/83eea971/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list