226 Commits

Author SHA1 Message Date
08d4b38bb4 Merge branch '1.0' 2017-12-24 11:50:52 +03:00
6972814378 Replace custom data inspection code in regression tests with inspect.lua. 2017-12-24 11:48:29 +03:00
0e79f2033c Merge branch '1.0' 2017-12-23 15:53:28 +03:00
fd343c027e Fix test comment. 2017-12-23 15:53:09 +03:00
ea44344870 Merge branch '1.0' 2017-12-23 14:34:58 +03:00
6e979f5aef GH-198: Tolerate misaligned test_files.
Adjust I/O request size if it crosses file size boundaries. Which may
happen if the specified file size is not a multiple of block size.
2017-12-23 14:07:29 +03:00
f4c0a61fac Merge branch '1.0' 2017-12-23 13:32:32 +03:00
f9d79aefe5 Addendum to patch for GH-196: skip file size validation on seqwr tests. 2017-12-23 13:26:53 +03:00
61db85058e Merge branch '1.0' 2017-12-17 13:37:02 +03:00
b9c6b3a2df Fix GH-196: fileio: validate file sizes on startup
In the fileio test, throw a descriptive error on startup if a test file
size is lower than expected.
2017-12-17 13:07:20 +03:00
b877b5f986 Adds support for variable-length rand string
Adds a new random generator of variable-length strings:

```lua
s = sysbench.rand.varstring(10, 100)
```

"s" will be a string containing ASCII characters from '0' to 'z',
inclusive. It will be a length between 10 and 100 characters long.

Addresses GH Issue #17
2017-11-23 10:01:50 -05:00
fc5fa698a3 Merge branch '1.0' 2017-11-10 11:47:43 +03:00
53bcc667ca Sort PostgreSQL index defs in regression tests to make results deterministic. 2017-11-10 11:44:08 +03:00
dbcba59927 Merge branch '1.0' 2017-11-09 14:50:15 +03:00
06c7f55f24 Fix #178: (--tables>1 --threads>1 broken in oltp_insert.lua)
A combination of --tables and --threads with non-default (i.e. higher
than 1) values resulted in incompleted set of tables generated by
"prepare" for the oltp_insert.lua script.
2017-11-09 12:35:17 +03:00
9079e0a271 Merge branch '1.0' 2017-10-26 17:24:19 +03:00
0bd06b9a47 Fix Postgres-specific regression tests to work with PostgreSQL 10. 2017-10-26 14:59:25 +03:00
07b1146b15 Fix #173: Commit feb0346 removed latency sum from reporting
Add latency sum back to reports.
2017-09-19 08:48:27 +03:00
feb0346fc3 Various cleanups and improvements in benchmark reports. 2017-09-18 23:14:01 +03:00
c01087138d Make sysbench.opt available to init()/done() by exporting it to global Lua state. 2017-09-15 20:48:27 +03:00
a880fc4bcc Make sysbench.opt available to init()/done() by exporting it to global Lua state. 2017-09-15 20:43:28 +03:00
6c2e47ecd6 Add Zipfian distribution.
Zipfian distribution is now available and can be controlled via
--rand-type=zipfian, --rand-zipfian-exp.
2017-09-12 10:18:14 +03:00
b16976cf2e Merge branch '1.0' 2017-09-12 10:13:40 +03:00
cd2b738022 Avoid PK conflicts in oltp_insert.lua by creating empty tables on 'prepare'. 2017-09-12 10:08:59 +03:00
d58e3f6aed Adjust script_oltp_delete_*.t tests for 1.1. 2017-08-23 17:30:55 +03:00
8af8dbb76d Fix the opt_warmup_time test. 2017-08-23 17:20:30 +03:00
bcebbb39ff Merge branch '1.0' 2017-08-23 16:20:14 +03:00
305be15ebc Fix #168: oltp_delete.lua uses DELETE + INSERT statements
Remove INSERT statements from oltp_delete.lua.
2017-08-23 16:14:14 +03:00
e9b5f4b71e Fix #167: warmup maybe problem
Fix the --warmup-time option for the fileio test by replacing internal
counters in sb_fileio.c with sb_counters_t / sb_stat_t API used in other
benchmarks. As a result, checkpoints (and --warmup-time) now reset
fileio counters properly.
2017-08-21 18:53:01 +03:00
5edb487b4f Merge branch '1.0' 2017-06-07 22:39:46 +03:00
b57453df60 Report events per second in the CPU benchmark. Ref. #140. 2017-06-07 21:49:46 +03:00
46f790b773 Merge branch '1.0' 2017-06-04 20:04:09 +03:00
6356e2b45e Fix #139: Json format has trailing comma
Remove a superfluous comma from the JSON reporter.
2017-06-04 20:03:17 +03:00
3cf7494024 Merge branch '1.0' 2017-05-31 21:29:07 +03:00
3fd67c44c5 Add a testcase for the missing file error in fileio. 2017-05-31 21:27:04 +03:00
f6bbdfa76f fix api_report test latency check 2017-05-27 13:42:08 +03:00
fd34a95595 fix typo in --rand-pareto-h description 2017-05-27 13:42:03 +03:00
1e6e1a9166 Merge pull request #136 from jcfp/fix_apireport_test
fix api_report test latency check
2017-05-27 13:39:17 +03:00
1451afb3f3 fix api_report test latency check 2017-05-27 10:32:30 +02:00
f7532fb784 Revert "fix api_report test latency check"
This reverts commit 3405baf72e6b8e9a830b921d3e31b8e4e08a6228.
2017-05-27 10:18:29 +02:00
3405baf72e fix api_report test latency check 2017-05-27 10:15:35 +02:00
cc23297b2d fix typo in --rand-pareto-h description 2017-05-27 09:59:19 +02:00
463a6c1bf8 corrected opt_help.t to include thread-init-timeout 2017-05-19 09:07:19 -07:00
b3081ae594 Merge branch '1.0' 2017-04-28 17:16:39 -07:00
d15d273226 Fix #130: Mutex Benchmark Documentation
Fix --mutex-loops description to say it's the number of empty loops
outside the lock. Also, make the loops really empty by using a compiler
barrier instead of incrementing a local variable.
2017-04-28 17:08:54 -07:00
1e20657eb4 Merge branch '1.0' 2017-04-02 11:44:34 +03:00
e60ea86b69 Fix api_basic.t. 2017-04-02 11:29:29 +03:00
480c34c33b Report errors thrown by the script properly with the 'sysbench modulename' syntax. 2017-04-02 10:42:01 +03:00
17125bad89 Merge branch '1.0' 2017-03-31 13:56:22 +03:00
fb7e62db24 Allow benchmarks to be specified as a module name, i.e. a require() argument. 2017-03-31 13:52:55 +03:00