Overview
Comment: | Part one of sqlite3 test done |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
bc4a22eff58fcabeab28234f67b04a29 |
User & Date: | matt on 2013-10-13 17:59:05 |
Other Links: | branch diff | manifest | tags |
Context
2013-10-13
| ||
23:17 | More on the performance analysis check-in: b1700997ff user: matt tags: dev | |
17:59 | Part one of sqlite3 test done check-in: bc4a22eff5 user: matt tags: dev | |
17:17 | Adding initial files for a pseudo real-world db egg comparative analysis check-in: a4dece5f6e user: matt tags: dev | |
Changes
Modified dbwars/sqlite3-test.scm from [2167129fe1] to [7006237c12].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + + + + | (use sqlite3) (include "test-common.scm") (define db (open-database "test.db")) (execute db test-table-defn) (execute db syncsetup) (define (register-test db run-id testname host cpuload diskfree uname rundir shortdir item-path state status final-logf run-duration comment event-time) (execute db test-insert run-id testname host cpuload diskfree uname rundir shortdir item-path state status final-logf run-duration comment event-time)) (create-tests db) (finalize! db) |
Modified dbwars/test-common.scm from [6377e5cccf] to [e63d3f563f].
︙ | |||
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | + - - - + + + - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | pass_count INTEGER DEFAULT 0, archived INTEGER DEFAULT 0, -- 0=no, 1=in progress, 2=yes CONSTRAINT testsconstraint UNIQUE (run_id, testname, item_path) );") (define test-insert "INSERT INTO tests (run_id,testname,host,cpuload,diskfree,uname,rundir,shortdir,item_path,state,status,final_logf,run_duration,comment,event_time) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? );") (define syncsetup "PRAGMA synchronous = OFF;") (define tests '("test0" "test1" "test2" "test3" "test4" "test5" "test6" "test7" "test8" "test9")) (define items '()) (for-each (lambda (n) (for-each (lambda (m) (set! items (cons (conc "item/" n m) items))) '(0 1 2 3 4 5 6 7 8 9))) '(0 1 2 3 4 5 6 7 8 9)) |