mariadb/dbug
Eugene Kosov 28325b0863 add WITH_DBUG_TRACE CMake variable
This is a way do disable DBUG_ENTER()/DBUG_EXIT() stuff which is
needed to dbug trace. Those who doesn't need it may avoid tests
slowdown with -DWITH_DBUG_TRACE=OFF

dbug/tests.c: add define which is neede always in this test

innodb.log_file_name_debug.test: do not depend on DBUG trace stuff
in test

Benchmark results: each test eats less CPU and you can have more
parallel jobs in MTR.

patched:
./mtr -mem -par=8 -suite=innodb  185.34s user 86.85s system 133% cpu 3:23.27 total
./mtr -mem -par=8 -suite=main    80.96s  user 36.01s system 182% cpu 1:04.07 total

main.select                              [ pass ]   1660
main.select                              [ pass ]   1513
main.select                              [ pass ]   1543
main.select                              [ pass ]   1660
main.select                              [ pass ]   1521
main.select                              [ pass ]   1511
main.select                              [ pass ]   1508
main.select                              [ pass ]   1520
main.select                              [ pass ]   1514
main.select                              [ pass ]   1522

vanilla:
./mtr -mem -par=8 -suite=innodb  203.61s user 92.16s system 140% cpu 3:30.16 total
./mtr -mem -par=8 -suite=main    94.11s  user 35.51s system 206% cpu 1:02.69 total

main.select                              [ pass ]   2032
main.select                              [ pass ]   2017
main.select                              [ pass ]   2040
main.select                              [ pass ]   2183
main.select                              [ pass ]   2253
main.select                              [ pass ]   2075
main.select                              [ pass ]   2109
main.select                              [ pass ]   2080
main.select                              [ pass ]   2098
main.select                              [ pass ]   2114
2020-04-29 20:13:14 +03:00
..
CMakeLists.txt Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
dbug.c MDEV-21223 innodb_fts.sync_ddl fails in buildbot, server crashed in que_thr_step 2019-12-10 21:16:21 +07:00
dbug_add_tags.pl Update FSF Address 2019-05-11 21:29:06 +03:00
dbug_long.h small dbug cleanup 2011-07-10 19:50:29 +02:00
example1.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
example2.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
example3.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
factorial.c remove duplicate code from the factorial dbug example 2012-08-23 15:30:43 +02:00
main.c document DBUG_OUTPUT() 2004-11-11 14:42:35 +01:00
monty.doc dbug changes: 2006-02-14 22:36:11 +01:00
my_main.c move safemalloc out of dbug. 2011-12-12 22:58:24 +01:00
remove_function_from_trace.pl Fixed bug LP#605798 "wrong data in bitmap" after recovery. 2010-09-10 02:42:12 +03:00
tests-t.pl move safemalloc out of dbug. 2011-12-12 22:58:24 +01:00
tests.c add WITH_DBUG_TRACE CMake variable 2020-04-29 20:13:14 +03:00
user.r move safemalloc out of dbug. 2011-12-12 22:58:24 +01:00