AW5 kernel statistics report

0 views
Skip to first unread message

William la Forge

unread,
Nov 30, 2009, 10:54:56 AM11/30/09
to AgileWikiDevelopers
The kernel now generates a statistics report on a close--which I've already used to nail several bugs. I'll note that all of the reported values are available as methods on Kernel, so they can be used in unit tests.

See below for a sample.

Bill

Kernel Statistics

Database Pathname: 0.aw4db
File Extent: 20000
Actual File Length: 10205
Max Root Block Size: 10000
Root Block 0 Length: 191
Root Block 1 Length: 201
DiskBlockManager1 Size: 0
DiskBlockManager2 Size: 0
DiskBlockManager3 Size: 0
Contexts Size: 0
Aborts: 0
Retries: 0
Commits: 1

Database Pathname: 1.aw4db
File Extent: 20000
Actual File Length: 10201
Max Root Block Size: 10000
Root Block 0 Length: 193
Root Block 1 Length: 197
DiskBlockManager1 Size: 0
DiskBlockManager2 Size: 0
DiskBlockManager3 Size: 0
AddressMap Size: 0

Database Pathname: 2.aw4db
File Extent: 20000
Actual File Length: 10201
Max Root Block Size: 10000
Root Block 0 Length: 193
Root Block 1 Length: 197
DiskBlockManager1 Size: 0
DiskBlockManager2 Size: 0
DiskBlockManager3 Size: 0
AddressMap Size: 0
Reply all
Reply to author
Forward
0 new messages