<div dir="ltr">Do you have any info on the performance ramifications of mod_v8, e.g. thread startup time?<div class="gmail_extra"><br clear="all"><div><div style><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div>
</div><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 9:44 PM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">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!<div class="im">
<br>
<br>
<br>
On 1/14/14 1:28 PM, "Jeff Leung" <<a href="http://jleung@v10networks.ca" target="_blank">jleung@v10networks.ca</a>> wrote:<br>
<br>
</div></span></font><blockquote><div class="im"><span style="font-size:11pt"><font color="#1F497D"><font face="Calibri, Verdana, Helvetica, Arial">So does this mean mod_spidermonkey will be commented out by default (and hopefully removed from master) eventually?<br>
<br>
</font></font><font face="Monaco, Courier New"><br>
</font></span><font><font face="Tahoma, Verdana, Helvetica, Arial"><span style="font-size:10pt"><b>From:</b> <a href="http://freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Peter Olsson<br>
<b>Sent:</b> Tuesday, January 14, 2014 09:27<br>
<b>To:</b> FreeSWITCH Users Help; <a href="http://freeswitch-dev@lists.freeswitch.org" target="_blank">freeswitch-dev@lists.freeswitch.org</a><br>
<b>Subject:</b> [Freeswitch-users] mod_v8 pushed to git master!<br>
</span></font></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt">Hello everyone!<br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt">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.<br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font></div><font face="Times New Roman"><span style="font-size:12pt">I've enabled mod_v8 in build/<a href="http://modules.conf.in" target="_blank">modules.conf.in</a> <<a href="http://modules.conf.in" target="_blank">http://modules.conf.in</a>> , 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.<br>
</span></font><div class="im"><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt">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).<br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt">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 :)<br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt">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.<br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt">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.<br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt">/Peter<br>
</span></font><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
</span></font><font face="Times New Roman"><span style="font-size:12pt"> <br>
</span></font></div><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
<hr align="CENTER" size="3" width="95%"></span></font><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></span></font></font></blockquote><span class="HOEnZb"><font color="#888888"><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
Twitter: @FreeSWITCH<br>
<br>
</span></font>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>