Text this: Performance tuning of scientific applications