I'm not sure what you mean by saying you handled yourself almost flawlessly and how should you interpret this. Kind of sounds like you still expect something from her. Why else would you question if you should continue. You are saying you were flawless but it didn't do any good.
The fact remains that you set yourself up for disappointment every time you expect her to respond to you doing something positive......even positive behavior. That is why you have to improve yourself for nobody but you.
It is not about what you feel should work in your M. It is about doing the work that gets the right results. Do what works!