couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [34/50] [abbrv] mochiweb commit: updated refs/heads/import-master to 3a54dbf
Date Wed, 12 Feb 2014 06:22:06 GMT
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.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1039494 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/69785893
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/69785893
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/69785893

Branch: refs/heads/import-master
Commit: 6978589311dab3614f3a647021663dfbbb6182f8
Parents: 93b8145
Author: Jan Lehnardt <jan@apache.org>
Authored: Fri Nov 26 18:23:21 2010 +0000
Committer: Jan Lehnardt <jan@apache.org>
Committed: Fri Nov 26 18:23:21 2010 +0000

----------------------------------------------------------------------
 Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/69785893/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index 752118d..3e77da8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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