public class Speed extends Object implements Runnable
Progress report. All builds are Debug unless *ed:
Date Bible VM Time/s 1999.12.08 Raw (Mem) HS 1.0.1 20 1999.12.08 Raw (Mem) MVM 5.00.3167 541 1999.12.09 Raw (Disk) HS 1.0.1 >600 1999.12.10 Ser HS 1.0.1 78 1999.12.11 Ser HS 1.0.1 6.7 1999.12.11 Raw (Mem) HS 1.0.1 11 1999.12.11 Raw (Disk) HS 1.0.1 1072 1999.12.11 Ser MVM 5.00.3167 8 1999.12.12 Ser HS 1.0.1 4 1999.12.12 Ser * HS 1.0.1 3
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private Book |
book
The version to test
|
private long |
endTime
The end time of the benchmark
|
private long |
startTime
The start time of the benchmark
|
Modifier and Type | Method and Description |
---|---|
private void |
dummyDisplay(Passage ref)
Dummy display routine.
|
long |
getBenchmark()
Accessor for the speed of the test
|
Book |
getBook()
Accessor for the version that we are testing
|
void |
run()
This is what to call to execute a benchmark
|
void |
setBook(Book book)
Accessor for the version that we are testing
|
private long startTime
private long endTime
private Book book
public Speed(Book book)
book
- the bookpublic void run()
private void dummyDisplay(Passage ref) throws BookException
ref
- The passage to format for displayBookException
public long getBenchmark()
public Book getBook()
public void setBook(Book book)
book
- the book