activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r555277 - in /activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks: ./ benchmark/ decaf/ decaf/io/ decaf/util/
Date Wed, 11 Jul 2007 14:06:39 GMT
Author: tabish
Date: Wed Jul 11 07:06:37 2007
New Revision: 555277

URL: http://svn.apache.org/viewvc?view=rev&rev=555277
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Added:
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.am
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.in
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/BenchmarkBase.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.h
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/main.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/testRegistry.cpp

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.am?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.am (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.am Wed Jul 11 07:06:37 2007
@@ -0,0 +1,48 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+cc_sources = \
+  decaf/util/PropertiesBenchmark.cpp \
+  decaf/util/QueueBenchmark.cpp \
+  decaf/util/SetBenchmark.cpp \
+  decaf/util/MapBenchmark.cpp \
+  decaf/io/DataInputStreamBenchmark.cpp \
+  decaf/io/DataOutputStreamBenchmark.cpp \
+  benchmark/PerformanceTimer.cpp \
+  testRegistry.cpp \
+  main.cpp
+
+hh_sources = \
+  decaf/util/PropertiesBenchmark.h \
+  decaf/util/QueueBenchmark.h \
+  decaf/util/SetBenchmark.h \
+  decaf/util/MapBenchmark.h \
+  decaf/io/DataInputStreamBenchmark.h \
+  decaf/io/DataOutputStreamBenchmark.h \
+  benchmark/BenchmarkBase.h \
+  benchmark/PerformanceTimer.h
+
+## Compile this as part of make check
+check_PROGRAMS = decaf-test-benchmarks
+
+## 
+## Compiler/Linker Options
+##
+decaf_test_benchmarks_SOURCES = $(cc_sources)
+decaf_test_benchmarks_CXXFLAGS = $(DECAF_TEST_CXXFLAGS) -I$(srcdir)/../main @CPPUNIT_CFLAGS@
+decaf_test_benchmarks_LDADD= $(DECAF_TEST_LIBS) @CPPUNIT_LIBS@
+

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.in
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.in?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.in (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/Makefile.in Wed Jul 11 07:06:37 2007
@@ -0,0 +1,661 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+check_PROGRAMS = decaf-test-benchmarks$(EXEEXT)
+subdir = src/test-benchmarks
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ac_doxygen.m4 \
+	$(top_srcdir)/m4/check_addrinfo.m4 \
+	$(top_srcdir)/m4/check_visibility.m4 \
+	$(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__objects_1 = decaf_test_benchmarks-PropertiesBenchmark.$(OBJEXT) \
+	decaf_test_benchmarks-QueueBenchmark.$(OBJEXT) \
+	decaf_test_benchmarks-SetBenchmark.$(OBJEXT) \
+	decaf_test_benchmarks-MapBenchmark.$(OBJEXT) \
+	decaf_test_benchmarks-DataInputStreamBenchmark.$(OBJEXT) \
+	decaf_test_benchmarks-DataOutputStreamBenchmark.$(OBJEXT) \
+	decaf_test_benchmarks-PerformanceTimer.$(OBJEXT) \
+	decaf_test_benchmarks-testRegistry.$(OBJEXT) \
+	decaf_test_benchmarks-main.$(OBJEXT)
+am_decaf_test_benchmarks_OBJECTS = $(am__objects_1)
+decaf_test_benchmarks_OBJECTS = $(am_decaf_test_benchmarks_OBJECTS)
+am__DEPENDENCIES_1 =
+decaf_test_benchmarks_DEPENDENCIES = $(am__DEPENDENCIES_1)
+decaf_test_benchmarks_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+	$(LIBTOOLFLAGS) --mode=link $(CXXLD) \
+	$(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+	$(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+	--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+	$(LDFLAGS) -o $@
+SOURCES = $(decaf_test_benchmarks_SOURCES)
+DIST_SOURCES = $(decaf_test_benchmarks_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
+CPPUNIT_CONFIG = @CPPUNIT_CONFIG@
+CPPUNIT_LIBS = @CPPUNIT_LIBS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DECAF_API_VERSION = @DECAF_API_VERSION@
+DECAF_CXXFLAGS = @DECAF_CXXFLAGS@
+DECAF_LIBRARY_NAME = @DECAF_LIBRARY_NAME@
+DECAF_LIBRARY_VERSION = @DECAF_LIBRARY_VERSION@
+DECAF_LIBS = @DECAF_LIBS@
+DECAF_RELEASE = @DECAF_RELEASE@
+DECAF_TEST_CXXFLAGS = @DECAF_TEST_CXXFLAGS@
+DECAF_TEST_LIBS = @DECAF_TEST_LIBS@
+DECAF_VERSION = @DECAF_VERSION@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
+DX_CONFIG = @DX_CONFIG@
+DX_DOCDIR = @DX_DOCDIR@
+DX_DOT = @DX_DOT@
+DX_DOXYGEN = @DX_DOXYGEN@
+DX_DVIPS = @DX_DVIPS@
+DX_EGREP = @DX_EGREP@
+DX_ENV = @DX_ENV@
+DX_FLAG_chi = @DX_FLAG_chi@
+DX_FLAG_chm = @DX_FLAG_chm@
+DX_FLAG_doc = @DX_FLAG_doc@
+DX_FLAG_dot = @DX_FLAG_dot@
+DX_FLAG_html = @DX_FLAG_html@
+DX_FLAG_man = @DX_FLAG_man@
+DX_FLAG_pdf = @DX_FLAG_pdf@
+DX_FLAG_ps = @DX_FLAG_ps@
+DX_FLAG_rtf = @DX_FLAG_rtf@
+DX_FLAG_xml = @DX_FLAG_xml@
+DX_HHC = @DX_HHC@
+DX_LATEX = @DX_LATEX@
+DX_MAKEINDEX = @DX_MAKEINDEX@
+DX_PDFLATEX = @DX_PDFLATEX@
+DX_PERL = @DX_PERL@
+DX_PROJECT = @DX_PROJECT@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+cc_sources = \
+  decaf/util/PropertiesBenchmark.cpp \
+  decaf/util/QueueBenchmark.cpp \
+  decaf/util/SetBenchmark.cpp \
+  decaf/util/MapBenchmark.cpp \
+  decaf/io/DataInputStreamBenchmark.cpp \
+  decaf/io/DataOutputStreamBenchmark.cpp \
+  benchmark/PerformanceTimer.cpp \
+  testRegistry.cpp \
+  main.cpp
+
+hh_sources = \
+  decaf/util/PropertiesBenchmark.h \
+  decaf/util/QueueBenchmark.h \
+  decaf/util/SetBenchmark.h \
+  decaf/util/MapBenchmark.h \
+  decaf/io/DataInputStreamBenchmark.h \
+  decaf/io/DataOutputStreamBenchmark.h \
+  benchmark/BenchmarkBase.h \
+  benchmark/PerformanceTimer.h
+
+decaf_test_benchmarks_SOURCES = $(cc_sources)
+decaf_test_benchmarks_CXXFLAGS = $(DECAF_TEST_CXXFLAGS) -I$(srcdir)/../main @CPPUNIT_CFLAGS@
+decaf_test_benchmarks_LDADD = $(DECAF_TEST_LIBS) @CPPUNIT_LIBS@
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/test-benchmarks/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/test-benchmarks/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+decaf-test-benchmarks$(EXEEXT): $(decaf_test_benchmarks_OBJECTS) $(decaf_test_benchmarks_DEPENDENCIES) 
+	@rm -f decaf-test-benchmarks$(EXEEXT)
+	$(decaf_test_benchmarks_LINK) $(decaf_test_benchmarks_OBJECTS) $(decaf_test_benchmarks_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-DataInputStreamBenchmark.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-DataOutputStreamBenchmark.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-MapBenchmark.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-PerformanceTimer.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-PropertiesBenchmark.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-QueueBenchmark.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-SetBenchmark.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-main.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decaf_test_benchmarks-testRegistry.Po@am__quote@
+
+.cpp.o:
+@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@	$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ $<
+
+decaf_test_benchmarks-PropertiesBenchmark.o: decaf/util/PropertiesBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-PropertiesBenchmark.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-PropertiesBenchmark.Tpo -c -o decaf_test_benchmarks-PropertiesBenchmark.o `test -f 'decaf/util/PropertiesBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/PropertiesBenchmark.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-PropertiesBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-PropertiesBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/PropertiesBenchmark.cpp' object='decaf_test_benchmarks-PropertiesBenchmark.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-PropertiesBenchmark.o `test -f 'decaf/util/PropertiesBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/PropertiesBenchmark.cpp
+
+decaf_test_benchmarks-PropertiesBenchmark.obj: decaf/util/PropertiesBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-PropertiesBenchmark.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-PropertiesBenchmark.Tpo -c -o decaf_test_benchmarks-PropertiesBenchmark.obj `if test -f 'decaf/util/PropertiesBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/PropertiesBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/PropertiesBenchmark.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-PropertiesBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-PropertiesBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/PropertiesBenchmark.cpp' object='decaf_test_benchmarks-PropertiesBenchmark.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-PropertiesBenchmark.obj `if test -f 'decaf/util/PropertiesBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/PropertiesBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/PropertiesBenchmark.cpp'; fi`
+
+decaf_test_benchmarks-QueueBenchmark.o: decaf/util/QueueBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-QueueBenchmark.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-QueueBenchmark.Tpo -c -o decaf_test_benchmarks-QueueBenchmark.o `test -f 'decaf/util/QueueBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/QueueBenchmark.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-QueueBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-QueueBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/QueueBenchmark.cpp' object='decaf_test_benchmarks-QueueBenchmark.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-QueueBenchmark.o `test -f 'decaf/util/QueueBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/QueueBenchmark.cpp
+
+decaf_test_benchmarks-QueueBenchmark.obj: decaf/util/QueueBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-QueueBenchmark.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-QueueBenchmark.Tpo -c -o decaf_test_benchmarks-QueueBenchmark.obj `if test -f 'decaf/util/QueueBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/QueueBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/QueueBenchmark.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-QueueBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-QueueBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/QueueBenchmark.cpp' object='decaf_test_benchmarks-QueueBenchmark.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-QueueBenchmark.obj `if test -f 'decaf/util/QueueBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/QueueBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/QueueBenchmark.cpp'; fi`
+
+decaf_test_benchmarks-SetBenchmark.o: decaf/util/SetBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-SetBenchmark.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-SetBenchmark.Tpo -c -o decaf_test_benchmarks-SetBenchmark.o `test -f 'decaf/util/SetBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/SetBenchmark.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-SetBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-SetBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/SetBenchmark.cpp' object='decaf_test_benchmarks-SetBenchmark.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-SetBenchmark.o `test -f 'decaf/util/SetBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/SetBenchmark.cpp
+
+decaf_test_benchmarks-SetBenchmark.obj: decaf/util/SetBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-SetBenchmark.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-SetBenchmark.Tpo -c -o decaf_test_benchmarks-SetBenchmark.obj `if test -f 'decaf/util/SetBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/SetBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/SetBenchmark.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-SetBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-SetBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/SetBenchmark.cpp' object='decaf_test_benchmarks-SetBenchmark.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-SetBenchmark.obj `if test -f 'decaf/util/SetBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/SetBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/SetBenchmark.cpp'; fi`
+
+decaf_test_benchmarks-MapBenchmark.o: decaf/util/MapBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-MapBenchmark.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-MapBenchmark.Tpo -c -o decaf_test_benchmarks-MapBenchmark.o `test -f 'decaf/util/MapBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/MapBenchmark.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-MapBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-MapBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/MapBenchmark.cpp' object='decaf_test_benchmarks-MapBenchmark.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-MapBenchmark.o `test -f 'decaf/util/MapBenchmark.cpp' || echo '$(srcdir)/'`decaf/util/MapBenchmark.cpp
+
+decaf_test_benchmarks-MapBenchmark.obj: decaf/util/MapBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-MapBenchmark.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-MapBenchmark.Tpo -c -o decaf_test_benchmarks-MapBenchmark.obj `if test -f 'decaf/util/MapBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/MapBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/MapBenchmark.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-MapBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-MapBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/util/MapBenchmark.cpp' object='decaf_test_benchmarks-MapBenchmark.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-MapBenchmark.obj `if test -f 'decaf/util/MapBenchmark.cpp'; then $(CYGPATH_W) 'decaf/util/MapBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/util/MapBenchmark.cpp'; fi`
+
+decaf_test_benchmarks-DataInputStreamBenchmark.o: decaf/io/DataInputStreamBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-DataInputStreamBenchmark.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-DataInputStreamBenchmark.Tpo -c -o decaf_test_benchmarks-DataInputStreamBenchmark.o `test -f 'decaf/io/DataInputStreamBenchmark.cpp' || echo '$(srcdir)/'`decaf/io/DataInputStreamBenchmark.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-DataInputStreamBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-DataInputStreamBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/io/DataInputStreamBenchmark.cpp' object='decaf_test_benchmarks-DataInputStreamBenchmark.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-DataInputStreamBenchmark.o `test -f 'decaf/io/DataInputStreamBenchmark.cpp' || echo '$(srcdir)/'`decaf/io/DataInputStreamBenchmark.cpp
+
+decaf_test_benchmarks-DataInputStreamBenchmark.obj: decaf/io/DataInputStreamBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-DataInputStreamBenchmark.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-DataInputStreamBenchmark.Tpo -c -o decaf_test_benchmarks-DataInputStreamBenchmark.obj `if test -f 'decaf/io/DataInputStreamBenchmark.cpp'; then $(CYGPATH_W) 'decaf/io/DataInputStreamBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/io/DataInputStreamBenchmark.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-DataInputStreamBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-DataInputStreamBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/io/DataInputStreamBenchmark.cpp' object='decaf_test_benchmarks-DataInputStreamBenchmark.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-DataInputStreamBenchmark.obj `if test -f 'decaf/io/DataInputStreamBenchmark.cpp'; then $(CYGPATH_W) 'decaf/io/DataInputStreamBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/io/DataInputStreamBenchmark.cpp'; fi`
+
+decaf_test_benchmarks-DataOutputStreamBenchmark.o: decaf/io/DataOutputStreamBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-DataOutputStreamBenchmark.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-DataOutputStreamBenchmark.Tpo -c -o decaf_test_benchmarks-DataOutputStreamBenchmark.o `test -f 'decaf/io/DataOutputStreamBenchmark.cpp' || echo '$(srcdir)/'`decaf/io/DataOutputStreamBenchmark.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-DataOutputStreamBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-DataOutputStreamBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/io/DataOutputStreamBenchmark.cpp' object='decaf_test_benchmarks-DataOutputStreamBenchmark.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-DataOutputStreamBenchmark.o `test -f 'decaf/io/DataOutputStreamBenchmark.cpp' || echo '$(srcdir)/'`decaf/io/DataOutputStreamBenchmark.cpp
+
+decaf_test_benchmarks-DataOutputStreamBenchmark.obj: decaf/io/DataOutputStreamBenchmark.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-DataOutputStreamBenchmark.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-DataOutputStreamBenchmark.Tpo -c -o decaf_test_benchmarks-DataOutputStreamBenchmark.obj `if test -f 'decaf/io/DataOutputStreamBenchmark.cpp'; then $(CYGPATH_W) 'decaf/io/DataOutputStreamBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/io/DataOutputStreamBenchmark.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-DataOutputStreamBenchmark.Tpo $(DEPDIR)/decaf_test_benchmarks-DataOutputStreamBenchmark.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='decaf/io/DataOutputStreamBenchmark.cpp' object='decaf_test_benchmarks-DataOutputStreamBenchmark.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-DataOutputStreamBenchmark.obj `if test -f 'decaf/io/DataOutputStreamBenchmark.cpp'; then $(CYGPATH_W) 'decaf/io/DataOutputStreamBenchmark.cpp'; else $(CYGPATH_W) '$(srcdir)/decaf/io/DataOutputStreamBenchmark.cpp'; fi`
+
+decaf_test_benchmarks-PerformanceTimer.o: benchmark/PerformanceTimer.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-PerformanceTimer.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-PerformanceTimer.Tpo -c -o decaf_test_benchmarks-PerformanceTimer.o `test -f 'benchmark/PerformanceTimer.cpp' || echo '$(srcdir)/'`benchmark/PerformanceTimer.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-PerformanceTimer.Tpo $(DEPDIR)/decaf_test_benchmarks-PerformanceTimer.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='benchmark/PerformanceTimer.cpp' object='decaf_test_benchmarks-PerformanceTimer.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-PerformanceTimer.o `test -f 'benchmark/PerformanceTimer.cpp' || echo '$(srcdir)/'`benchmark/PerformanceTimer.cpp
+
+decaf_test_benchmarks-PerformanceTimer.obj: benchmark/PerformanceTimer.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-PerformanceTimer.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-PerformanceTimer.Tpo -c -o decaf_test_benchmarks-PerformanceTimer.obj `if test -f 'benchmark/PerformanceTimer.cpp'; then $(CYGPATH_W) 'benchmark/PerformanceTimer.cpp'; else $(CYGPATH_W) '$(srcdir)/benchmark/PerformanceTimer.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-PerformanceTimer.Tpo $(DEPDIR)/decaf_test_benchmarks-PerformanceTimer.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='benchmark/PerformanceTimer.cpp' object='decaf_test_benchmarks-PerformanceTimer.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-PerformanceTimer.obj `if test -f 'benchmark/PerformanceTimer.cpp'; then $(CYGPATH_W) 'benchmark/PerformanceTimer.cpp'; else $(CYGPATH_W) '$(srcdir)/benchmark/PerformanceTimer.cpp'; fi`
+
+decaf_test_benchmarks-testRegistry.o: testRegistry.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-testRegistry.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-testRegistry.Tpo -c -o decaf_test_benchmarks-testRegistry.o `test -f 'testRegistry.cpp' || echo '$(srcdir)/'`testRegistry.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-testRegistry.Tpo $(DEPDIR)/decaf_test_benchmarks-testRegistry.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='testRegistry.cpp' object='decaf_test_benchmarks-testRegistry.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-testRegistry.o `test -f 'testRegistry.cpp' || echo '$(srcdir)/'`testRegistry.cpp
+
+decaf_test_benchmarks-testRegistry.obj: testRegistry.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-testRegistry.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-testRegistry.Tpo -c -o decaf_test_benchmarks-testRegistry.obj `if test -f 'testRegistry.cpp'; then $(CYGPATH_W) 'testRegistry.cpp'; else $(CYGPATH_W) '$(srcdir)/testRegistry.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-testRegistry.Tpo $(DEPDIR)/decaf_test_benchmarks-testRegistry.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='testRegistry.cpp' object='decaf_test_benchmarks-testRegistry.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-testRegistry.obj `if test -f 'testRegistry.cpp'; then $(CYGPATH_W) 'testRegistry.cpp'; else $(CYGPATH_W) '$(srcdir)/testRegistry.cpp'; fi`
+
+decaf_test_benchmarks-main.o: main.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-main.o -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-main.Tpo -c -o decaf_test_benchmarks-main.o `test -f 'main.cpp' || echo '$(srcdir)/'`main.cpp
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-main.Tpo $(DEPDIR)/decaf_test_benchmarks-main.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='main.cpp' object='decaf_test_benchmarks-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-main.o `test -f 'main.cpp' || echo '$(srcdir)/'`main.cpp
+
+decaf_test_benchmarks-main.obj: main.cpp
+@am__fastdepCXX_TRUE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -MT decaf_test_benchmarks-main.obj -MD -MP -MF $(DEPDIR)/decaf_test_benchmarks-main.Tpo -c -o decaf_test_benchmarks-main.obj `if test -f 'main.cpp'; then $(CYGPATH_W) 'main.cpp'; else $(CYGPATH_W) '$(srcdir)/main.cpp'; fi`
+@am__fastdepCXX_TRUE@	mv -f $(DEPDIR)/decaf_test_benchmarks-main.Tpo $(DEPDIR)/decaf_test_benchmarks-main.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='main.cpp' object='decaf_test_benchmarks-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(decaf_test_benchmarks_CXXFLAGS) $(CXXFLAGS) -c -o decaf_test_benchmarks-main.obj `if test -f 'main.cpp'; then $(CYGPATH_W) 'main.cpp'; else $(CYGPATH_W) '$(srcdir)/main.cpp'; fi`
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-dvi install-dvi-am install-exec \
+	install-exec-am install-html install-html-am install-info \
+	install-info-am install-man install-pdf install-pdf-am \
+	install-ps install-ps-am install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/BenchmarkBase.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/BenchmarkBase.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/BenchmarkBase.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/BenchmarkBase.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _BENCHMARK_BENCHMARKBASE_H_
+#define _BENCHMARK_BENCHMARKBASE_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+#include <decaf/lang/Runnable.h>
+#include <benchmark/PerformanceTimer.h>
+#include <string>
+
+namespace benchmark{
+
+    template < class NAME, class TARGET, int ITERATIONS = 100 >
+    class BenchmarkBase : public decaf::lang::Runnable,
+                          public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( NAME );
+        CPPUNIT_TEST( runBenchmark );
+        CPPUNIT_TEST_SUITE_END();
+
+    private:
+
+        PerformanceTimer timer;
+
+    public:
+
+        virtual ~BenchmarkBase() {}
+
+        int getIterations() const {
+            return ITERATIONS;
+        }
+
+        void runBenchmark(){
+
+            for( int i = 0; i < ITERATIONS; ++i ){
+                timer.start();
+                this->run();
+                timer.stop();
+            }
+
+            std::cout << typeid( TARGET ).name() << " Benchmark Time = "
+                      << timer.getAverageTime() << " Millisecs"
+                      << std::endl;
+        }
+
+    };
+
+}
+
+#endif /*_BENCHMARK_BENCHMARKBASE_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "PerformanceTimer.h"
+
+#include <decaf/util/Date.h>
+
+using namespace std;
+using namespace benchmark;
+using namespace decaf::util;
+
+////////////////////////////////////////////////////////////////////////////////
+PerformanceTimer::PerformanceTimer(){
+    this->numberOfRuns = 0;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+PerformanceTimer::~PerformanceTimer(){
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void PerformanceTimer::start(){
+    this->startTime = Date::getCurrentTimeMilliseconds();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void PerformanceTimer::stop(){
+
+    this->endTime = Date::getCurrentTimeMilliseconds();
+    times.push_back( endTime - startTime );
+    numberOfRuns++;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void PerformanceTimer::reset(){
+    this->startTime = 0;
+    this->endTime = 0;
+    this->times.clear();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+long long PerformanceTimer::getAverageTime() const{
+
+    std::vector<long long>::const_iterator iter = times.begin();
+    long long totalTime = 0;
+
+    do{
+        totalTime += *iter;
+    } while( ++iter != times.end() );
+
+    if( totalTime == 0 || numberOfRuns == 0 ) {
+        return 0;
+    }
+
+    return totalTime / numberOfRuns;
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/benchmark/PerformanceTimer.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,81 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _BENCHMARK_PERFORMANCETIMER_H_
+#define _BENCHMARK_PERFORMANCETIMER_H_
+
+#include <decaf/util/Config.h>
+#include <vector>
+
+namespace benchmark{
+
+    /**
+     * This class is used to aid in testing the performace of code.  This class
+     * maintains a running list of performance numbers for successive calls to
+     * the method start and stop.  Once the desired number of tests has been run,
+     * the user can call getAverageTime to find out the average time it took for
+     * all start / stop cycles.
+     */
+    class PerformanceTimer {
+    private:
+
+        long long numberOfRuns;
+        std::vector<long long> times;
+        long long startTime;
+        long long endTime;
+
+    public:
+
+        PerformanceTimer();
+        virtual ~PerformanceTimer();
+
+        /**
+         * Starts the timer, time is from the call to start until a call
+         * to stop is made.
+         */
+        void start();
+
+        /**
+         * Stops the timer and records the latest time.
+         */
+        void stop();
+
+        /**
+         * Resets the Timer to an unused state all data is thrown out.
+         */
+        void reset();
+
+        /**
+         * Gets the number of runs made so far
+         * @returns unsigned int that counts the number of runs
+         */
+        unsigned int getNumberOfRuns() const {
+            return numberOfRuns;
+        }
+
+        /**
+         * Gets the overall average time that the count has recoreded
+         * for all start / stop cycles.
+         * @returns the average time for all the runs times / numberOfRuns
+         */
+        long long getAverageTime() const;
+
+    };
+
+}
+
+#endif /*_PERFORMANCETIMER_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,112 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "DataInputStreamBenchmark.h"
+
+using namespace std;
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+DataInputStreamBenchmark::DataInputStreamBenchmark(){
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DataInputStreamBenchmark::setUp(){
+
+    buffer = new unsigned char[bufferSize];
+
+    // init to full String Buffer
+    for( int ix = 0; ix < bufferSize - 1; ++ix ) {
+        buffer[ix] = 65;
+    }
+    buffer[bufferSize-1] = 0;
+    bis.setByteArray( buffer, bufferSize );
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DataInputStreamBenchmark::tearDown(){
+
+    delete buffer;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DataInputStreamBenchmark::run(){
+
+    DataInputStream dis( &bis );
+
+    bool boolResult = 0;
+    char charResult = 0;
+    unsigned char byteResult = 0;
+    unsigned short ushortResult = 0;
+    short shortResult = 0;
+    int intResult = 0;
+    long long longResult = 0;
+    double doubleResult = 0.0;
+    float floatResult = 0.0f;
+    std::string stringResult = "";
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( boolResult ); ++iy ){
+        boolResult = dis.readBoolean();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( charResult ); ++iy ){
+        charResult = dis.readChar();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( byteResult ); ++iy ){
+        byteResult = dis.readByte();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( ushortResult ); ++iy ){
+        ushortResult = dis.readUnsignedShort();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( shortResult ); ++iy ){
+        shortResult = dis.readShort();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( intResult ); ++iy ){
+        intResult = dis.readInt();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( longResult ); ++iy ){
+        longResult = dis.readLong();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( floatResult ); ++iy ){
+        floatResult = dis.readFloat();
+    }
+    bis.reset();
+
+    for( size_t iy = 0; iy < bufferSize / sizeof( doubleResult ); ++iy ){
+        doubleResult = dis.readDouble();
+    }
+    bis.reset();
+
+    for( int i = 0; i < 5; ++i ) {
+        stringResult = dis.readString();
+        bis.reset();
+    }
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _DECAF_IO_DATAINPUTSTREAMBENCHMARK_H_
+#define _DECAF_IO_DATAINPUTSTREAMBENCHMARK_H_
+
+#include <benchmark/BenchmarkBase.h>
+#include <decaf/io/DataInputStream.h>
+#include <decaf/io/ByteArrayInputStream.h>
+
+namespace decaf{
+namespace io{
+
+    class DataInputStreamBenchmark :
+        public benchmark::BenchmarkBase<
+            decaf::io::DataInputStreamBenchmark, DataInputStream >
+    {
+    private:
+
+        unsigned char* buffer;
+        static const int bufferSize = 200000;
+        ByteArrayInputStream bis;
+
+    public:
+
+        DataInputStreamBenchmark();
+        virtual ~DataInputStreamBenchmark() {}
+
+        virtual void setUp();
+        virtual void tearDown();
+        virtual void run();
+    };
+
+}}
+
+#endif /*_DECAF_IO_DATAINPUTSTREAMBENCHMARK_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "DataOutputStreamBenchmark.h"
+#include <decaf/io/ByteArrayOutputStream.h>
+
+using namespace std;
+using namespace decaf;
+using namespace decaf::io;
+
+////////////////////////////////////////////////////////////////////////////////
+DataOutputStreamBenchmark::DataOutputStreamBenchmark(){
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DataOutputStreamBenchmark::setUp(){
+
+    for( size_t i = 0; i < 8096; ++i ) {
+        testString += 'a';
+    }
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DataOutputStreamBenchmark::run(){
+
+    std::vector<unsigned char> outputBuffer;
+    int numRuns = 500;
+
+    ByteArrayOutputStream bos( outputBuffer );
+    DataOutputStream dos( &bos );
+
+    for( int iy = 0; iy < numRuns * 40; ++iy ){
+        dos.writeLong( 0xFF00FF00FF00FF00LL );
+    }
+    for( int iy = 0; iy < numRuns * 40; ++iy ){
+        dos.writeInt( 312568 );
+    }
+    for( int iy = 0; iy < numRuns * 40; ++iy ){
+        dos.writeShort( 12568 );
+    }
+    for( int iy = 0; iy < numRuns * 40; ++iy ){
+        dos.writeUnsignedShort( 12568 );
+    }
+    for( int iy = 0; iy < numRuns * 40; ++iy ){
+        dos.writeBoolean( true );
+    }
+    for( int iy = 0; iy < numRuns * 40; ++iy ){
+        dos.writeDouble( 10.34235234 );
+    }
+    for( int iy = 0; iy < numRuns + 40; ++iy ){
+        dos.writeFloat( 32.4f );
+    }
+
+    outputBuffer.clear();
+
+    for( int iy = 0; iy < numRuns; ++iy ){
+        dos.writeChars( testString );
+        outputBuffer.clear();
+    }
+    for( int iy = 0; iy < numRuns; ++iy ){
+        dos.writeBytes( testString );
+        outputBuffer.clear();
+    }
+    for( int iy = 0; iy < numRuns; ++iy ){
+        dos.writeUTF( testString );
+        outputBuffer.clear();
+    }
+
+    outputBuffer.clear();
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/io/DataOutputStreamBenchmark.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _DECAF_IO_DATAOUTPUTSTREAMBENCHMARK_H_
+#define _DECAF_IO_DATAOUTPUTSTREAMBENCHMARK_H_
+
+#include <benchmark/BenchmarkBase.h>
+#include <decaf/io/DataOutputStream.h>
+
+namespace decaf{
+namespace io{
+
+    class DataOutputStreamBenchmark :
+        public benchmark::BenchmarkBase<
+        decaf::io::DataOutputStreamBenchmark, DataOutputStream >
+    {
+    private:
+
+        std::string testString;
+
+    public:
+
+        DataOutputStreamBenchmark();
+        virtual ~DataOutputStreamBenchmark() {}
+
+        virtual void setUp();
+        virtual void run();
+    };
+
+}}
+
+#endif /*_DECAF_IO_DATAOUTPUTSTREAMBENCHMARK_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,76 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "MapBenchmark.h"
+#include <decaf/lang/Integer.h>
+
+using namespace decaf;
+using namespace decaf::util;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+MapBenchmark::MapBenchmark() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void MapBenchmark::run() {
+
+    int numRuns = 500;
+    std::string test = "test";
+    std::string resultStr = "";
+    Map<std::string, std::string> stringCopy;
+    Map<int, int> intCopy;
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringMap.setValue( test + Integer::toString(i), test + Integer::toString(i) );
+        intMap.setValue( 100 + i, 100 + i );
+        stringMap.containsKey( test + Integer::toString(i) );
+        intMap.containsKey( 100 + i );
+        stringMap.containsValue( test + Integer::toString(i) );
+        intMap.containsValue( 100 + i );
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringMap.remove( test + Integer::toString(i) );
+        intMap.remove( 100 + i );
+        stringMap.containsKey( test + Integer::toString(i) );
+        intMap.containsKey( 100 + i );
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringMap.setValue( test + Integer::toString(i), test + Integer::toString(i) );
+        intMap.setValue( 100 + i, 100 + i );
+    }
+
+    std::vector<std::string> stringVec;
+    std::vector<int> intVec;
+
+    for( int i = 0; i < numRuns / 2; ++i ) {
+        stringVec = stringMap.getKeys();
+        stringVec = stringMap.getValues();
+        intVec = intMap.getKeys();
+        intVec = intMap.getValues();
+    }
+
+    for( int i = 0; i < numRuns / 2; ++i ) {
+        stringCopy.copy( stringMap );
+        stringCopy.clear();
+        intCopy.copy( intMap );
+        intCopy.clear();
+    }
+
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/MapBenchmark.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _DECAF_UTIL_MAPBENCHMARK_H_
+#define _DECAF_UTIL_MAPBENCHMARK_H_
+
+#include <benchmark/BenchmarkBase.h>
+#include <decaf/util/Map.h>
+
+namespace decaf{
+namespace util{
+
+    class MapBenchmark :
+        public benchmark::BenchmarkBase<
+            decaf::util::MapBenchmark, Map<int, int> >
+    {
+    private:
+
+        Map< std::string, std::string> stringMap;
+        Map<int, int> intMap;
+
+    public:
+
+        MapBenchmark();
+        virtual ~MapBenchmark() {}
+
+        virtual void run();
+    };
+
+}}
+
+#endif /*_DECAF_UTIL_MAPBENCHMARK_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "PropertiesBenchmark.h"
+
+#include <decaf/lang/Integer.h>
+
+using namespace std;
+using namespace decaf;
+using namespace decaf::util;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+PropertiesBenchmark::PropertiesBenchmark() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void PropertiesBenchmark::run() {
+
+    int numRuns = 250;
+    std::string result = "";
+    bool hasIt = false;
+    Properties copy;
+
+    for( int i = 0; i < numRuns; ++i ) {
+        properties.setProperty( "test", "value" );
+        hasIt = properties.hasProperty( "test" );
+        result = properties.getProperty( "test" );
+        properties.remove( "test" );
+    }
+
+    std::vector< std::pair< std::string, std::string > > array;
+
+    std::string prefix = "test";
+    for( int i = 0; i < numRuns; ++i ) {
+        properties.setProperty(
+            prefix + Integer::toString(i), prefix + Integer::toString(i) );
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        array = properties.toArray();
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        copy.copy( &properties );
+        copy.clear();
+    }
+
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/PropertiesBenchmark.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _DECAF_UTIL_PROPERTIESBENCHMARK_H_
+#define _DECAF_UTIL_PROPERTIESBENCHMARK_H_
+
+#include <benchmark/BenchmarkBase.h>
+
+#include <decaf/util/Properties.h>
+
+namespace decaf{
+namespace util{
+
+    class PropertiesBenchmark :
+        public benchmark::BenchmarkBase<
+            decaf::util::PropertiesBenchmark, Properties >
+    {
+    private:
+
+        Properties properties;
+
+    public:
+
+        PropertiesBenchmark();
+        virtual ~PropertiesBenchmark() {}
+
+        virtual void run();
+    };
+
+}}
+
+#endif /*_DECAF_UTIL_PROPERTIESBENCHMARK_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "QueueBenchmark.h"
+
+#include <decaf/lang/Integer.h>
+
+using namespace std;
+using namespace decaf;
+using namespace decaf::util;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+QueueBenchmark::QueueBenchmark(){
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void QueueBenchmark::run(){
+
+    int numRuns = 300;
+    std::string test = "test";
+    std::string resultStr = "";
+    int resultInt = 0;
+    Queue<std::string> stringQCopy;
+    Queue<int> intQCopy;
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringQ.push( test );
+        intQ.push( 65536 );
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringQ.pop();
+        intQ.pop();
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringQ.enqueueFront( test );
+        intQ.enqueueFront( 1024 );
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringQ.reverse( stringQCopy );
+        intQ.reverse( intQCopy );
+    }
+
+    std::vector<std::string> stringVec;
+    std::vector<int> intVec;
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringVec = stringQ.toArray();
+        intVec = intQ.toArray();
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        resultStr = stringQ.front();
+        resultStr = stringQ.back();
+        resultInt = intQ.front();
+        resultInt = intQ.back();
+        stringQ.pop();
+        intQ.pop();
+    }
+
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/QueueBenchmark.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _DECAF_QUEUE_QUEUEBENCHMARK_H_
+#define _DECAF_QUEUE_QUEUEBENCHMARK_H_
+
+#include <benchmark/BenchmarkBase.h>
+#include <decaf/util/Queue.h>
+
+namespace decaf{
+namespace util{
+
+    class QueueBenchmark :
+        public benchmark::BenchmarkBase<
+            decaf::util::QueueBenchmark, Queue<int> >
+    {
+    private:
+
+        Queue<std::string> stringQ;
+        Queue<int> intQ;
+
+    public:
+
+        QueueBenchmark();
+        virtual ~QueueBenchmark() {}
+
+        virtual void run();
+    };
+
+}}
+
+#endif /*_DECAF_QUEUE_QUEUEBENCHMARK_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,94 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "SetBenchmark.h"
+
+#include <decaf/lang/Integer.h>
+#include <decaf/util/Iterator.h>
+
+using namespace decaf;
+using namespace decaf::util;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+SetBenchmark::SetBenchmark(){
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void SetBenchmark::run(){
+
+    int numRuns = 500;
+    std::string test = "test";
+    std::string resultStr = "";
+    Set<std::string> stringCopy;
+    Set<int> intCopy;
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringSet.add( test + Integer::toString(i) );
+        intSet.add( 100 + i );
+        stringSet.contains( test + Integer::toString(i) );
+        intSet.contains( 100 + i );
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringSet.remove( test + Integer::toString(i) );
+        intSet.remove( 100 + i );
+        stringSet.contains( test + Integer::toString(i) );
+        intSet.contains( 100 + i );
+    }
+
+    for( int i = 0; i < numRuns; ++i ) {
+        stringSet.add( test + Integer::toString(i) );
+        intSet.add( 100 + i );
+    }
+
+    std::vector<std::string> stringVec;
+    std::vector<int> intVec;
+
+    for( int i = 0; i < numRuns / 2; ++i ) {
+        stringVec = stringSet.toArray();
+        intVec = intSet.toArray();
+    }
+
+    std::string tempStr = "";
+    int tempInt = 0;
+
+    for( int i = 0; i < numRuns / 2; ++i ) {
+
+        Iterator<std::string>* strIter = stringSet.iterator();
+        Iterator<int>* intIter = intSet.iterator();
+
+        while( strIter->hasNext() ){
+            tempStr = strIter->next();
+        }
+
+        while( intIter->hasNext() ){
+            tempInt = intIter->next();
+        }
+
+        delete strIter;
+        delete intIter;
+    }
+
+    for( int i = 0; i < numRuns / 2; ++i ) {
+        stringCopy.copy( stringSet );
+        stringCopy.clear();
+        intCopy.copy( intSet );
+        intCopy.clear();
+    }
+
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.h?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/decaf/util/SetBenchmark.h Wed Jul 11 07:06:37 2007
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _DECAF_UTIL_SETBENCHMARK_H_
+#define _DECAF_UTIL_SETBENCHMARK_H_
+
+#include <benchmark/BenchmarkBase.h>
+#include <decaf/util/Set.h>
+
+namespace decaf{
+namespace util{
+
+    class SetBenchmark :
+        public benchmark::BenchmarkBase<
+            decaf::util::SetBenchmark, Set<int> >
+    {
+    private:
+
+        Set<int> intSet;
+        Set<std::string> stringSet;
+
+    public:
+
+        SetBenchmark();
+        virtual ~SetBenchmark() {}
+
+        virtual void run();
+    };
+
+}}
+
+#endif /*_DECAF_UTIL_SETBENCHMARK_H_*/

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/main.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/main.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/main.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/main.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,47 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <cppunit/extensions/TestFactoryRegistry.h>
+#include <cppunit/ui/text/TestRunner.h>
+#include <cppunit/TestResult.h>
+#include <decaf/util/Config.h>
+#include <iostream>
+
+int main( int argc DECAF_UNUSED, char **argv DECAF_UNUSED ) {
+    try {
+        CppUnit::TextUi::TestRunner runner;
+        CppUnit::TestFactoryRegistry &registry =
+            CppUnit::TestFactoryRegistry::getRegistry();
+        runner.addTest( registry.makeTest() );
+
+        std::cout << "=====================================================\n";
+        std::cout << "Starting the Benchmarks:" << std::endl;
+        std::cout << "-----------------------------------------------------\n";
+
+        bool wasSuccessful = runner.run( "", false );
+
+        std::cout << "-----------------------------------------------------\n";
+        std::cout << "Finished with the Benchmarks." << std::endl;
+        std::cout << "=====================================================\n";
+
+        return !wasSuccessful;
+    } catch(...) {
+        std::cout << "----------------------------------------" << std::endl;
+        std::cout << "- AN ERROR HAS OCCURED:                -" << std::endl;
+        std::cout << "----------------------------------------" << std::endl;
+    }
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/testRegistry.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/testRegistry.cpp?view=auto&rev=555277
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/testRegistry.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test-benchmarks/testRegistry.cpp Wed Jul 11 07:06:37 2007
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <decaf/util/PropertiesBenchmark.h>
+#include <decaf/util/QueueBenchmark.h>
+#include <decaf/util/SetBenchmark.h>
+#include <decaf/util/MapBenchmark.h>
+
+#include <decaf/io/DataInputStreamBenchmark.h>
+#include <decaf/io/DataOutputStreamBenchmark.h>
+
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::PropertiesBenchmark );
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueBenchmark );
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetBenchmark );
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::MapBenchmark );
+
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamBenchmark );
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamBenchmark );



Mime
View raw message