[MDEV-18781] benchmark overhead of RTTI Created: 2019-03-01  Updated: 2019-04-20  Resolved: 2019-03-01

Status: Closed
Project: MariaDB Server
Component/s: Server
Fix Version/s: 10.4.2

Type: Task Priority: Major
Reporter: Axel Schwenke Assignee: Axel Schwenke
Resolution: Fixed Votes: 0
Labels: benchmarking


 Description   

Benchmark the effect of using the f(no)rtti option to gcc on the performance of the MariaDB Server.



 Comments   
Comment by Axel Schwenke [ 2019-03-01 ]

I'm using my own set of CFLAGS when I build benchmark binaries of the server. In those I do not set the f(no)rtti switch at all. This build I refer to as "default" below. I also did two more builds, one with -frtti (referred to as "rtti") and one with -fno-rtti (referred to as "no-rtti")

I've done a sysbench OLTP run on all 3 builds. Results are in this Google Sheet

Conclusion: at least in this benchmark there is no significant impact from compiling with or without RTTI support. Performance difference between builds is within the normal fluctuations.

Generated at Thu Feb 08 08:46:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.