runall.cmd

来自「Java的面向对象数据库系统的源代码」· CMD 代码 · 共 49 行

CMD
49
字号
@echo off
setlocal
set BASEDIR=%~dp0%
set OZONE_HOME=%BASEDIR:\samples\OO1=%

rem make sure the path is OK
set PATH=%PATH%;%OZONE_HOME%\bin

rem start Ozone --------- You might want to change the location of the database
start ozone -d/testDB -c

rem compile the OO1 files
call ozoneAnt


rem --------- You might want to change the size values for eaxh benchmark
echo.
echo running 1:st part (create objects; size: 100..(10000))
call ojvm CattellImpl OO1BenchmarkApp -benchmark=1 -size=100 -noGui

echo.
echo running 2:nd part (lookup; size 1..)
call ojvm CattellImpl OO1BenchmarkApp -benchmark=2 -size=1 -noGui

echo.
echo running 3:rd part (traversal; size: 1..7)
call ojvm CattellImpl OO1BenchmarkApp -benchmark=3 -size=1 -noGui

echo.
echo running 4:th part (insert and delete; size: 1..)
call ojvm CattellImpl OO1BenchmarkApp -benchmark=4 -size=1 -noGui

echo.
echo running 5:th part (insert; size: 1..)
call ojvm CattellImpl OO1BenchmarkApp -benchmark=5 -size=1 -noGui

echo.
echo running 6:th part (insert size*1000 objects)
call ojvm CattellImpl OO1BenchmarkApp -benchmark=6 -size=1 -noGui

echo.
echo running 7:th part (traversal on the first size cattell objects)
call ojvm CattellImpl OO1BenchmarkApp -benchmark=7 -size=1 -noGui

echo.
echo running 8:th part (insert on the first size cattell objects)
call ojvm CattellImpl OO1BenchmarkApp -benchmark=8 -size=1 -noGui

pause

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?