What do you consider barely? Also even the type of exercise or the longer you do it can effect it. Like runners or gymnists will keep doing the same thing but periods change.
Couldn't be a diet or exercise that never changes i eat the same and exercise the same (barely) lol
It could have been irregular due to stress, change in duet, change in exercise lots of things.
if it was early then it could be implantation bleeding.