/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to create/oracle_dom2

  • Committer: Suren A. Chilingaryan
  • Date: 2009-09-23 17:13:04 UTC
  • Revision ID: csa@dside.dyndns.org-20090923171304-osvtr4zqb29h11kd
Intel, Tango, Phobos, and RapidXML parsers; Memory benchmark scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Usage:
3
3
#       ./oracle_dom2 <iterations> <size>
4
4
 
5
 
ORACLE_CLASSPATH=`cat ../Makefile.in | grep ORACLE_CLASSPATH | sed -e s/.*_CLASSPATH[\ \t]*=[\ \t]*//`
 
5
ORACLE_CLASSPATH=`cat ../Makefile.in | grep ORACLE_CLASSPATH | sed -e s/.*_CLASSPATH[\ \t]*=[\ \t]*// | sed -e "s/(CLASSPATH)/CLASSPATH/g"`
 
6
JAVA_MEMORY=`cat ../Makefile.in | grep JAVA_MEMORY | sed -e s/.*JAVA_MEMORY[\ \t]*=[\ \t]*//`
6
7
 
7
 
java  -Xms4000m -classpath $ORACLE_CLASSPATH oracle_dom2 $1 $2
 
8
eval "ORACLE_CLASSPATH=$ORACLE_CLASSPATH"
 
9
java  -Xms$JAVA_MEMORY -classpath $ORACLE_CLASSPATH oracle_dom2 $1 $2
8
10