The only way is not the "easy" or difficult way, but the only reasonable way is to find the exact complexity of a complex algorithm - this is to profile it. The current implementation of the algorithm has a complex interaction with numerical libraries and with the processor and its floating point. For example, accessing cache memory is much faster than accessing cached memory, and there may also be more than one cache level. Counting steps is indeed much more suitable for asymptotic complexity, which, in your opinion, is not enough for your purpose.
, . (, "bloof ++;" C) , .
, f (n) * (1 + o (1)), . , n ^ 2 + 2 * n + 7 n ^ 2 * (1 + o (1)). , O (f (n)), .