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 |
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…