I don't think you can make general statements about STL. I have seen a Pi4 outperform a core i7 in very specific cases. That was really unexpected.
In other cases I saw a lot of runtime spent on std::map.
I think the best advice is: learn to use a profiler.