[MDEV-7961] Protocol::store_string_aux() takes 0.14% in OLTP RO Created: 2015-04-09  Updated: 2016-02-16

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.1
Fix Version/s: 10.2

Type: Bug Priority: Minor
Reporter: Sergey Vojtovich Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None

Epic Link: Performance: micro optimizations

 Description   

Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.

Call graphs:

-   0.14%  mysqld  mysqld
   - Protocol::store_string_aux(char const*, unsigned long, charset_info_st const*, charset_info_st const*)
      + 53.86% Protocol_text::store(Field*) [clone .part.95]
      + 22.51% Protocol::send_result_set_metadata(List<Item>*, unsigned int)
      + 13.35% Protocol::send_result_set_row(List<Item>*)
      + 9.62% select_send::send_result_set_metadata(List<Item>&, unsigned int)
      + 0.67% Item::send(Protocol*, String*)

Most time spent for function call convention. Good candidate for inlining?


Generated at Thu Feb 08 07:23:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.