You can build CouchDB with HiPE enabled but unfortunately there are stability issues that come into play. I don't believe anyone has looked into what or why so its never been recommended to do this across the entire code base. There is a --with-native-mochijson2 (or similar) option to configure which will compile the JSON encoder with HiPE if available. I don't know if anyone's posted comparison data or not though.
On Mon, May 23, 2011 at 3:21 PM, Marcos Ortiz <[email protected]> wrote: > regards, > I was reading a great post from Jack Moffit´s blog about "Speed Up Ejabberd" > and one thing that he told there is the use of the native code compiler > (HiPE) for CPU hungry modules on this way: > cd src/ > erlc +native module_code.erl > > Have you tested the CouchDB´s source code with HiPE? > It would be nice to have these results on any case > > Thanks > > -- > Marcos Luís Ortíz Valmaseda > Software Engineer (Large-Scaled Distributed Systems) > University of Information Sciences, > La Habana, Cuba > Linux User # 418229 > http://about.me/marcosortiz > >
