3a96db7a58
Fix timestamps in interval reports.
2017-01-02 16:00:52 +03:00
821be2a7c4
Timers overhaul.
2017-01-02 14:57:55 +03:00
c3fd06203b
Better formatting for help/usage text.
2016-12-30 21:23:29 +03:00
d5b661a019
Implement --histogram option.
...
When --histogram is used, print latency histogram as a part of the
benchmark report. For now, the histogram is actually a text
representation of an internal data structure used by sysbench to
calculate latency percentile.
2016-12-30 20:42:35 +03:00
837b2b6a3e
Adjust test_fileio.t to pass on slow machines.
2016-12-23 18:22:34 +08:00
ec2274bf2f
Merge branch 'luajit' into concurrency_kit
2016-12-23 17:18:20 +08:00
7bc9a0622f
Fix tests, remove thread_id arg from Lua API functions.
2016-12-18 22:18:58 +08:00
e398721314
Merge branch '1.0' into luajit
2016-12-18 21:20:32 +08:00
482136beb5
Lua implementation of the main event loop.
...
For Lua scripts the main event loop is now implemented in Lua
itself. This is a prerequisite for leveraging LuaJIT optimizations.
2016-12-12 22:48:11 +03:00
c36861f5ad
Add PostgreSQL tests for select_random_*.lua
2016-12-08 22:31:30 +03:00
bee2ed3c00
Rafactor select_random_* benchmarks,
...
Refactor select_random_*.lua to reuse code from common.lua. Add basic
regression tests.
2016-12-08 22:04:55 +03:00
aead4b99bd
Minor change to ensure all existing tests pass after previous commit
2016-12-05 12:23:46 +00:00
025d2b319c
Split cmd_version.t into cmd_version.t and opt_version.t.
2016-12-05 13:28:22 +03:00
18b7e914a6
Various test-related fixes.
...
1. Fix drivers.t so it passes when no DB drivers are available.
2. Make it possible for the test suite to detect if certain DB drivers
are available, so individual tests that require them can be skipped.
2016-12-05 13:25:39 +03:00
70a1c04592
Addendum to commit b450bf0.
2016-12-05 12:45:58 +03:00
b450bf0fd6
Fix script_oltp_* tests to take new version format into account.
2016-12-05 12:31:26 +03:00
aade88ed5e
Merge branch '1.0' into concurrency_kit
2016-12-05 12:22:21 +03:00
f9764f1445
Fixes #54 : Reduce overhead from percentile stats
...
Rewrite percentile calculation to scale on modern hardware. Rename the
underlying data structure from sb_percentile to sb_histogram.
2016-12-05 11:18:40 +03:00
4b0a44c678
Fix obscure error with intermediate reports in tests that don't support them.
...
If a test did not support intermediate reports (i.e. --report-interval
or --report-checkpoints), there was a confusing (but benign) error at
the end of the test: "Terminating the reporting thread failed".
2016-12-02 22:06:47 +03:00
8ff0cc14e4
Fix help_drv_mysql.t after adding --mysql-ssl-cipher.
2016-11-29 22:04:11 +03:00
e43059d69d
Use glob patterns to hide version-specific COLLATE clauses in script_oltp_mysql.t.
2016-10-23 11:53:48 +03:00
c3aa671364
Fix tests to pass on Travis CI with different MySQL and PostgreSQL server version.
2016-10-23 11:26:01 +03:00
0a6bc8a9ed
Add tests for --oltp-create-secondary.
2016-10-22 21:30:24 +03:00
be5ce00ad7
Don't default to the first available driver when an invalid name was specified.
2016-10-22 21:12:07 +03:00
69120c87ff
Rename command-specific tests to cmd_* for clarity.
2016-10-22 19:51:18 +03:00
636eedbaa1
Adjust tests.
2016-10-16 23:24:31 +03:00
bf2924b0fc
Use an atomic fetch-and-add instead of a global mutex in sb_lua_get_request().
...
This was a scalability bottleneck with --max-requests>0.
2016-10-16 23:09:51 +03:00
65c083a6ba
Report Git commit SHA in configure and "sysbench --version" output.
2016-10-16 22:57:37 +03:00
fc89625ac9
Adjust drv_mysql.t, drv_pgsql.t to not fail on slower machines.
2016-10-15 14:30:13 +03:00
446bc75843
Merge branch '1.0' into luajit
2016-10-15 14:10:57 +03:00
69f915eda3
Merge branch '0.5' into 1.0
2016-10-12 12:01:41 +03:00
25c10a0199
Adjust test_threads.t to not fail on slow hosts in Travis CI.
2016-10-12 11:49:03 +03:00
3660c3655b
Fix tests for the luajit branch.
2016-10-09 19:33:51 +02:00
cd87db5a30
Some typo fixes in the docs.
2016-09-22 06:58:13 -07:00
fab338a806
Merge branch '0.5' into 1.0
2016-09-21 17:33:00 -07:00
03ffdbd4d6
Some typo fixes in the docs.
2016-09-21 17:32:22 -07:00
d244ca42bb
Adjust script_oltp_* tests to 1.0.
2016-09-17 07:40:29 +03:00
00458c4bd5
Merge branch '0.5' into 1.0
2016-09-17 07:33:45 +03:00
ee7082c3cd
Prevent script_oltp_*.t failures on slower machines.
2016-09-16 23:55:29 +03:00
95885f6a9f
Basic tests for oltp.lua against MySQL and PostgreSQL.
2016-09-16 23:48:12 +03:00
ccd9845321
Adjust tests to 1.0.
2016-09-11 16:15:07 +03:00
93e54ad754
Merge branch '0.5' into 1.0
2016-09-11 16:11:03 +03:00
7016cb67e6
Adjust test_mutex.t to pass on slow machines.
2016-09-11 15:59:37 +03:00
3fcceafe62
Reduce --max-requests in the mutex benchmark test.
...
Reduce --max-requests in the mutex benchmark tests, as it takes too much
time on Travis CI slaves.
2016-09-11 15:29:48 +03:00
da7df5bb26
Fix the memory benchmark test to work on Linux.
2016-09-11 15:28:31 +03:00
1cfcacf84f
Basic regression tests for cpu, memory, threads and mutex benchmarks.
2016-09-11 14:37:35 +03:00
a00535ec55
Adjust DB drivers tests to 1.0 output.
2016-09-10 02:15:34 +03:00
ee235d687b
Merge branch '0.5' into 1.0
2016-09-10 02:10:00 +03:00
2ad038e816
Basic regression tests for MySQL and PostgreSQL drivers.
...
Add the very basic regression tests for MySQL and PostgreSQL drivers +
necessary Travis CI configuration updates.
2016-09-09 17:26:43 +03:00
66248a94e0
Adjust test_fileio.t changes to 1.0.
2016-09-07 21:23:36 +03:00