Artifact 86dce41b059fb72e0eb359a937cc940ee336707d186c1fb0e0b8dfc4604ce9f7:
- File not-fork.d/sqlite3/benchmark/0010.test — part of check-in [79fadb6ad8] at 2022-02-11 09:39:32 on branch trunk — Allowing the DATASIZE option to have one or two numbers, to specify a separate "read" and "write" data size, with code to remain compatible with older targets which specify just one number. (user: Uilebheist size: 215)
set d1000 [expr $options(DATASIZE_W) * 1000] set name "$d1000 INSERTs" for {set i 1} {$i<=$d1000} {incr i} { set r [expr {int(rand()*100000)}] append sql "INSERT INTO t1 VALUES($i,$r,'[number_name $r]');\n" }