36789c6b1926ae2f8aecae54c52ef659a433b914
By passing the shared_ptrs to TrackedObjectsVK by value, we will always require at least a decrement of the shared_ptr count, and possibly an increment too. Since for most cases the tracked object has already been tracked, passing by const ref results in no increment or decrement. Ignoring the time value, since this is a flamegraph, we can see almost all time spent tracking is spent on shared_ptr decrement: 
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%