couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1039494 - /couchdb/trunk/src/mochiweb/Makefile.am
Date Fri, 26 Nov 2010 18:23:21 GMT
Author: jan
Date: Fri Nov 26 18:23:21 2010
New Revision: 1039494

URL: http://svn.apache.org/viewvc?rev=1039494&view=rev
Log:
Compile mochijson2 with +native.

Improves latency and req/s for many concurrent writers and large docs.

Does not affect other scenarios negatively.

Slight overall performance increase.

Closes COUCHDB-798.

Modified:
    couchdb/trunk/src/mochiweb/Makefile.am

Modified: couchdb/trunk/src/mochiweb/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/mochiweb/Makefile.am?rev=1039494&r1=1039493&r2=1039494&view=diff
==============================================================================
--- couchdb/trunk/src/mochiweb/Makefile.am (original)
+++ couchdb/trunk/src/mochiweb/Makefile.am Fri Nov 26 18:23:21 2010
@@ -97,6 +97,8 @@ CLEANFILES = \
 %.app: %.app.in
 	cp $< $@
 
-%.beam: %.erl
+mochijson2.beam: mochijson2.erl
+	$(ERLC) $(ERLC_FLAGS) +native $<
 
+%.beam: %.erl
 	$(ERLC) $(ERLC_FLAGS) $<



Mime
View raw message