blob: 9d5913d752a3f601bd2258542860a06ae2f1bcba [file] [log] [blame]
mbligh74d51af2008-07-09 01:56:10 +00001NAME = 'System Evaluation Benchmark'
2AUTHOR = 'Anton Blanchard <anton@samba.org>'
3TIME = 'MEDIUM'
4TEST_CLASS = 'IO'
5TEST_CATEGORY = 'Benchmark'
6TEST_TYPE = 'client'
7EXPERIMENTAL = 'True'
8
9DOC = """
10The idea is to quickly get an impression about system performance for MySQL
11usage without setting up complex benchmark and even without installing MySQL.
12In some cases this is very helpful. This is also the reason for having
13everything in simple file not depending on any external libraries.
14"""
15
mblighafce1032007-10-31 21:29:29 +000016build = 1
17for threads in range(1, count_cpus()+1):
18 job.run_test('sysbench', db_type='pgsql', build=build, \
19 num_threads=threads, read_only=1, tag='pgsql.' + str(threads))
20 build = 0
21
22build = 1
23for threads in range(1, count_cpus()+1):
24 job.run_test('sysbench', db_type='mysql', build=build, \
25 num_threads=threads, read_only=1, tag='mysql.' + str(threads))
26 build = 0