design doco, some more .. classes is the wrong word... so is packages really... lets...
[goDBhammer.git] / src / benchclient.go
1 package benchclient
2
3 // this package is a single benchmark client, i.e. a worker
4
5 import "dbconnector";
6
7 var myID int;
8
9 func Setup(ID int)
10 {
11         myID = ID;
12         
13         if myID == 1 {
14                 // create the db
15         }
16 }
17
18 func Begin()
19 {
20         // start the test
21         
22         // first, populate data for pre-run
23         // this will mean creating x number of rows of data depending on input
24         
25         // now, run the test
26         // the test will be insert, drop, update, select queries across multiple tables
27 }
28
29 func End()
30 {
31         // the main controller said CEASE!
32 }