722b24b389
Print queue length and concurrency in the --rate mode.
...
This has been lost in refactoring beteen 0.5 and 1.0.
2017-07-04 11:28:07 +03:00
01eed4db66
Remove busy-wait in --rate mode to avoid CPU hogging.
...
In the bounded rate (--rate) mode, if the queue is empty, sleep for a
certain amount of time depending on the requested rate and the number of
worker threads instead of spinning on the queue.
Clean up some code duplication by removing sb_next_event().
2017-07-04 11:27:16 +03:00
2fdf6a69e5
Merge pull request #153 from tiagoch/master
...
Show cumulative JSON reports for Lua CPU tests
2017-06-29 12:14:25 +03:00
36e733922d
Merge upstream changes
2017-06-28 18:33:36 +02:00
009551f4e3
Use same defaults as built-in options
2017-06-28 18:28:06 +02:00
6f3a4690ff
Emit cumulative json reports
2017-06-28 18:26:44 +02:00
1e0c5b8cd1
Minor fix for prime-test.lua.
2017-06-28 19:20:35 +03:00
89f7a5e04a
Merge pull request #152 from tiagoch/master
...
Add two examples of custom lua cpu tests
2017-06-28 19:18:46 +03:00
7312515be0
Add two examples of custom lua cpu tests
2017-06-28 17:20:07 +02:00
1788acbc47
Merge ConcurrencyKit up to commit b87563b.
...
Fix busybox compilation (gh#148) by merging the upstream fix.
2017-06-21 22:22:00 +03:00
5edb487b4f
Merge branch '1.0'
2017-06-07 22:39:46 +03:00
66a410b192
Fix db_connect() in legacy API to initialize db_driver properly.
...
Fixes #146 .
2017-06-07 22:09:55 +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
6a2f4c261c
Merge remote-tracking branch 'xypron/warn_prepare'
2017-05-31 21:32:59 +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
78024349bd
sb_fileio.c: suggest to run prepare step
...
A recurring reason for errors is forgetting to run the prepare
step before running the file io test.
Write a warning line suggesting to run prepare.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2017-05-31 20:59:47 +03:00
778fb914a4
sb_fileio.c: suggest to run prepare step
...
A recurring reason for errors is forgetting to run the prepare
step before running the file io test.
Write a warning line suggesting to run prepare.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2017-05-31 18:50:58 +02: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
2c28a6c1ac
Merge pull request #135 from jcfp/master
...
fix typo in --rand-pareto-h description
2017-05-27 13:36:34 +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
ec529f83ff
Merge pull request #134 from aloyr/master
...
readme: Fix typo on README.md file
2017-05-25 18:03:09 +03:00
22f79c1d1b
readme: Fix typo on README.md file
2017-05-25 09:59:45 -05:00
11fbe48ee6
Merge pull request #133 from pfriedenbach/master
...
Converted THREAD_INIT_TIMEOUT constant to a optional perameter with default 30.
2017-05-19 19:58:50 +03:00
463a6c1bf8
corrected opt_help.t to include thread-init-timeout
2017-05-19 09:07:19 -07:00
18d524f166
Converted THREAD_INIT_TIMEOUT constant to a optional perameter with default 30.
2017-05-17 14:58:49 -07:00
949d9cd309
Merge branch '1.0'
2017-05-15 17:51:14 +03:00
e4a08be147
Release 1.0.7.
2017-05-15 17:09:33 +03:00
1acf417f51
Merge branch '1.0'
2017-05-15 15:20:34 +03:00
538521184a
Compatibility fix for MySQL 8.0 client libraries.
...
The type of MYSQL_BIND::is_null has been changed from my_bool* to bool*
in MySQL 8.0. Since the size bool is not defined by the standard, we
either need to change the DB and Lua APIs to ensure is_null points to a
large enough buffer for MySQL API to store a bool, or do conversions
between sysbench and MySQL data structures. For now, just assert that
sizeof(bool) == 1, which is likely the case on all supported platforms.
2017-05-15 14:17:21 +03:00
f3a9da0d65
Merge branch '1.0'
2017-05-02 15:03:48 -07:00
d8add54b32
Exclude zesty from osx and clang combos in Travis build matrix.
2017-05-02 14:40:20 -07:00
a9a3a0508c
Add Ubuntu Zesty to Travis build matrix.
2017-05-02 14:31:39 -07:00
4bbde82336
Merge branch '1.0'
2017-05-02 14:01:59 -07:00
358f51ce44
Merge akopytov/LuaJIT up to commit 26a9306.
2017-05-02 13:56:52 -07:00
fa962b79b2
Merge branch '1.0'
2017-05-01 22:11:22 -07:00
3809f905e2
Fix a bug resulting in incorrect latencies reported from the --rate mode.
2017-05-01 21:44:49 -07:00
b3081ae594
Merge branch '1.0'
2017-04-28 17:16:39 -07:00
e472fb8aff
Use sb_rand_uniform() instead of rand() in sb_mutex.c.
2017-04-28 17:16:06 -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
cf047efd80
Merge branch '1.0'
2017-04-28 08:50:20 -07:00
04f2cfabb9
Fix wording in README.md.
2017-04-28 08:49:11 -07:00
800463e0c0
Merge branch '1.0'
2017-04-27 11:18:03 -07:00