1 CREATE TABLE perf_counts (
2 test_run_id INT NOT NULL,
3 instance_idx INT NOT NULL,
4 counter_idx INT NOT NULL,
5 counter_name VARCHAR(100) NOT NULL,
7 PRIMARY KEY (test_run_id, instance_idx, counter_idx)
10 CREATE TABLE perf_wallclock (
11 test_run_id INT NOT NULL,
12 instance_idx INT NOT NULL,
14 PRIMARY KEY (test_run_id, instance_idx)
17 CREATE TABLE perf_test_run (
18 id INT PRIMARY KEY AUTO_INCREMENT,
19 suite_run_id INT NOT NULL,
20 /* Major is the test program, minor the test name. */
21 test_major VARCHAR(50) NOT NULL,
22 test_minor VARCHAR(50) NOT NULL,
23 /* Different parameters (eg. buffer size), can be NULL. */
26 /* Variants of a test are intended to be compared against each other. */
27 /* Can be NULL if no variant. */
29 /* Number of iterations run. */
30 /* Used to compute cost/iteration. */
31 iterations BIGINT NOT NULL,
32 /* Amount of work done in one iteration (eg. bytes copied etc), optional. */
36 CREATE TABLE perf_suite_run (
37 id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
38 dt TIMESTAMP NOT NULL,
39 code_rev VARCHAR(128),
43 CREATE TABLE perf_host (
44 id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
45 hostname VARCHAR(128),
48 cpu_name VARCHAR(128),