And she couldn't have been happier.
On the final day, the 23-year-old won the 200m breaststroke in 2:34.87 and came a very close second to Lucy Ellis in the 100m freestyle – a rare event for Miley and she was thrilled with a personal best of 56.94.
"I'm so pleased I chose to come to the Championships," said the Commonwealth Games and European 400m individual medley champion. "I'm very impressed with the new pool and everyone has been so supportive. This has been my last competition before the Olympics so it was a case of some fine tuning.
"Now I have some more hard work and then I'm looking forward to coming back here to the Commonwealth Pool in a couple of weeks for the Team GB holding camp."
Ellis, who was unlucky to miss out on an Olympic spot in the 4 x 200m freestyle relay, won the 100m freestyle in 56.71. The 19-year-old spent six months out with a serious shoulder injury last year but is now back to full fitness and shaping up to be one of the great hopes for Scotland at the 2014 Commonwealth Games in Glasgow.
Jak Scott, another Stirling swimmer just to miss out on the 4 x 200m relay at the Olympics, claimed his second gold of the Championships with a time of 1:48.00 in the 200m freestyle. Warrender's Craig McNally used these Championships to begin his recovery from his disappointment of missing out on a place in London. And, after a silver in the 100m and 200m backstroke, he added a gold on the final day in 26.55 in the 50m distance.
The 19-year-old made the time for the Games in the 200m backstroke at last month's final trials but failed to clinch one of the two places by just 0.1 secs. "Initially, I was really gutted," he said. "But now that I've had time to think about it and I'm concentrating on the positives. My time at the trials was a massive PB and I know I have progressed.
"Now I'm looking forward to the next Olympics in Brazil in four years' time and there is also the 2014 Commonwealth Games. I'm still very young so there are plenty more goals to reach."
Kathryn Johnstone (Edinburgh University) set a Scottish record in the 50m breaststroke, her time of 31.48 bettering the 31.69 she set at the ASA National Championships in Sheffield just 10 days earlier. The Eileen Adams Memorial Trophy, awarded to the best swimmer in a combination of the 200m and 400m freestyle went to Stirling's Josh Walsh.