Re: [Maria-developers] [Commits] b2db8e8: MDEV-7949: Item_field::used_tables() takes 0.29% in OLTP RO

Hi Sanja, this patch looks Ok, just one minor suggestion inline. Though effect for given workload is quite moderate: Item_field::used_tables 0.21% -> 0.20% Item_basic_constant::used_tables 0.11% -> 0.11% Item_func::used_tables 0.05% -> 0.05% Item_sum::used_tables 0.00% -> 0.00% On Wed, May 13, 2015 at 04:17:26PM +0200, sanja@mariadb.com wrote:
...skip...
Regards, Sergey

Virtual function can't be inlined (AFAIK). That was original request, but it require too much changes for 10.1
Recent GCC versions have a devirtualization pass, followed by inlining: -fdevirtualize Attempt to convert calls to virtual functions to direct calls. This is done both within a procedure and interprocedurally as part of indirect inlining (-findirect-inlining) and interprocedural constant propagation (-fipa-cp). Enabled at levels -O2, -O3, -Os. I don't know whether it helps here or not. -- Laurynas
participants (3)
-
Laurynas Biveinis
-
Oleksandr Byelkin
-
Sergey Vojtovich