couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: Build CouchDB process and Erlang HiPE(High Performance Erlang)
Date Mon, 23 May 2011 19:06:47 GMT
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 <> 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

View raw message