mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Speed up mysql-test-run.pl.
Problem was the parsing of test suite files for various tags and options. This was done inefficiently, and include files were re-parsed for every place they were included. This caused a delay of 20 seconds or so before the first test started to run. By parsing more efficiently and re-using first parse for subsequent inclusion of the same file, time spent parsing is reduced to less than 1 second, and start appears instantaneous. (With this patch, full ./mtr runs in 3 minutes on my laptop (release build.) mysql-test/suite/innodb_plugin/t/innodb_bug52663.test: Test is fairly slow, so try to avoid getting stuck with it at the end while other workers are idle.
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
--source include/have_innodb_plugin.inc
|
||||
|
||||
--source include/long_test.inc
|
||||
|
||||
set session transaction isolation level read committed;
|
||||
|
||||
create table innodb_bug52663 (what varchar(5), id integer, count integer, primary key
|
||||
|
Reference in New Issue
Block a user