Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3E3147BA for ; Mon, 23 May 2011 19:07:54 +0000 (UTC) Received: (qmail 24633 invoked by uid 500); 23 May 2011 19:07:53 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 24586 invoked by uid 500); 23 May 2011 19:07:53 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 24578 invoked by uid 99); 23 May 2011 19:07:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 19:07:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 19:07:48 +0000 Received: by vws16 with SMTP id 16so6391675vws.11 for ; Mon, 23 May 2011 12:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=WgOZoInFKUGJiWsVFMoHb7thYHLqVpEnpN4ZLz7p8mA=; b=XyotW4Yv1WzkNAWzjSembhEQ1+hv60+FMnWE2FjapJIirsEk/5OpP85Bn5Cxo19gSv ZzPuL6knkIuChhAKLLoNQKxhgZHjghE1GwU0fPQuzMXsq+MhQrTMBcpHtYmcZe/Znf/3 k3H4KU3jbJoyWmcHDqXM/a2GpskiVI3rfeXso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=rBkgSeEIZ3noY6rwWdEa6ILBKxRkgmz/yoTTrTRv7dMobK2o7NOWT2VAQoKXjEWrJe fqXhd0ZUG7HEAh5be7F4GGKjdiG+MrHMzJgVu0RrCEtbzHk3waFeJANPS/HDghLYIYan L8pxTAyZsKRoHqn+hVfSxRD2M9DEfoETka4dE= Received: by 10.52.71.111 with SMTP id t15mr268225vdu.37.1306177647138; Mon, 23 May 2011 12:07:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.168.33 with HTTP; Mon, 23 May 2011 12:06:47 -0700 (PDT) In-Reply-To: <4DDAB3C5.3050709@uci.cu> References: <4DDAB3C5.3050709@uci.cu> From: Paul Davis Date: Mon, 23 May 2011 15:06:47 -0400 Message-ID: Subject: Re: Build CouchDB process and Erlang HiPE(High Performance Erlang) To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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=B4s blog about "Speed Up Ejab= berd" > 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 =A0+native module_code.erl > > Have you tested the CouchDB=B4s source code with HiPE? > It would be nice to have these results on any case > > Thanks > > -- > Marcos Lu=EDs Ort=EDz Valmaseda > =A0Software Engineer (Large-Scaled Distributed Systems) > =A0University of Information Sciences, > =A0La Habana, Cuba > =A0Linux User # 418229 > =A0http://about.me/marcosortiz > >