Today I have found sample code which slowed down by 50%, after adding some unrelated code. After debugging I have figured out the problem was in the loop alignment. Depending of the loop code placement there is different execution time e.g.:
Address | Time[us] |
---|---|
00007FF780A01270 | 980us |
00007FF7750B1280 | 1500us |
00007FF7750B1290 | 986us |
00007FF7750B12A0 | 1500us |