diff options
author | Eugene Kosov <claprix@yandex.ru> | 2019-05-06 15:38:02 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2019-05-06 15:38:02 +0300 |
commit | 8dc670a5e8d322d8e1871b8c2ae8695a8779f739 (patch) | |
tree | d55f481bcba67a4c53a7e6a736824bc27cc3b5d2 /Docs | |
parent | 15f065599e161e861e69edfc89b755c888e80135 (diff) | |
download | mariadb-git-8dc670a5e8d322d8e1871b8c2ae8695a8779f739.tar.gz |
MDEV-19399 do not call slow my_timer_init() several times
No functional change.
Call my_timer_init() only once and then reuse it from InnoDB and
perfschema storage engines.
This patch speeds up empty test for me like this:
./mtr -mem innodb.kevg,xtradb 1.21s user 0.84s system 34% cpu 5.999 total
./mtr -mem innodb.kevg,xtradb 1.12s user 0.60s system 31% cpu 5.385 total
Diffstat (limited to 'Docs')
0 files changed, 0 insertions, 0 deletions