Performance improvements when running both in multi-threaded and pre-forked HTTPD. Changed memory management to use Apache APR pools instead of ref counting pointers as it's much faster and easier to integrate with the Python and Ruby interpreters. Changed to use simple pool-based string and stream implementations instead of the STL ones, which cause a lots of mutex locks in a multi-threaded environment. Added build options to compile with threading and profiling.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895165 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1d04916fda
commit
95fa76f5f3
55 changed files with 2649 additions and 1685 deletions
|
|
@ -15,7 +15,7 @@
|
|||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
noinst_PROGRAMS = kernel-test parallel-test xml-test xsd-test
|
||||
noinst_PROGRAMS = string-test kernel-test mem-test parallel-test xml-test xsd-test
|
||||
|
||||
testdir=$(prefix)/test
|
||||
test_LTLIBRARIES = libdynlib-test.la
|
||||
|
|
@ -25,12 +25,18 @@ include_HEADERS = *.hpp
|
|||
|
||||
INCLUDES = -I. -I$(top_builddir)/kernel -I${LIBXML2_INCLUDE} -I${APR_INCLUDE}
|
||||
|
||||
kernel_test_SOURCES = kernel-test.cpp
|
||||
kernel_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
||||
string_test_SOURCES = string-test.cpp
|
||||
string_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
||||
|
||||
libdynlib_test_la_SOURCES = dynlib-test.cpp
|
||||
libdynlib_test_la_LIBADD = -L${APR_LIB} -lapr-1 -laprutil-1
|
||||
|
||||
kernel_test_SOURCES = kernel-test.cpp
|
||||
kernel_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
||||
|
||||
mem_test_SOURCES = mem-test.cpp
|
||||
mem_test_LDADD = -L${APR_LIB} -lapr-1 -laprutil-1
|
||||
|
||||
parallel_test_SOURCES = parallel-test.cpp
|
||||
parallel_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
||||
|
||||
|
|
@ -40,4 +46,4 @@ xml_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
|||
xsd_test_SOURCES = xsd-test.cpp
|
||||
xsd_test_LDADD = -L${LIBXML2_LIB} -lxml2 -L${APR_LIB} -lapr-1 -laprutil-1
|
||||
|
||||
TESTS = kernel-test parallel-test xml-test
|
||||
TESTS = string-test kernel-test mem-test parallel-test xml-test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue