Benjamin Mahler created MESOS-9948: -------------------------------------- Summary: master::Slave::hasExecutor occupies 37% of a 150 second perf sample from a user. Key: MESOS-9948 URL: https://issues.apache.org/jira/browse/MESOS-9948 Project: Mesos Issue Type: Improvement Components: master Reporter: Benjamin Mahler Attachments: long-fei-enable-debug-slow-master.gz
If you drop the attached perf stacks into flamescope, you can see that mesos::internal::master::Slave::hasExecutor occupies 37% of the overall samples! This function does 3 hashmap lookups, 1 can be eliminated for a quick win. However, the larger improvement here will come from eliminating many of the calls to this function. This was reported by [~carlone]. -- This message was sent by Atlassian Jira (v8.3.2#803003)