mbligh | 74d51af | 2008-07-09 01:56:10 +0000 | [diff] [blame^] | 1 | NAME = 'System Evaluation Benchmark' |
| 2 | AUTHOR = 'Anton Blanchard <anton@samba.org>' |
| 3 | TIME = 'MEDIUM' |
| 4 | TEST_CLASS = 'IO' |
| 5 | TEST_CATEGORY = 'Benchmark' |
| 6 | TEST_TYPE = 'client' |
| 7 | EXPERIMENTAL = 'True' |
| 8 | |
| 9 | DOC = """ |
| 10 | The idea is to quickly get an impression about system performance for MySQL |
| 11 | usage without setting up complex benchmark and even without installing MySQL. |
| 12 | In some cases this is very helpful. This is also the reason for having |
| 13 | everything in simple file not depending on any external libraries. |
| 14 | """ |
| 15 | |
mbligh | afce103 | 2007-10-31 21:29:29 +0000 | [diff] [blame] | 16 | build = 1 |
| 17 | for 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 | |
| 22 | build = 1 |
| 23 | for 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 |