I have two different views that makes upwards of 500 partial view calls each to a common partial view. Good design tells me that I should leave the partial view where it is and reference it from both overlying views to prevent code duplication. Unfortunately, performance suffers - copy-pasting the partial view in each of the other two views yields a 300ms improvement.
Is there anyway that I can, include a partial view in an overlying view, reaping the performance benefits of not using the actual Partial() call, while at the same time not having to maintain duplicate code? Note - I realize that I could write some sort of VS add-on that would copy-paste the view code, but I am looking for other options...