Post a new solution and ask how to get it where you want (with precise goals like "3 seconds for list of 100 numbers").
You are expected to post a question when you hit a wall in solving your problem. Show the current state, explain the expected state (i.e. for performance question provide clear goals), show what you've tried and how it did not work, and explain the overall goal (as you may be on an "XY-problem" path).
Adding "historical" notes on how you got the problem to the current state from whatever original state is unlikely to add any value to the question. If you believe the steps you took to reach the current state (like 10 min -> 5 sec) have some novel ideas in them - consider if posting a separate Q&A (self-answered) would work.
Notes on particular question
Such a significant improvement usually means you picked a completely wrong algorithm to solve the problem. (E.g., a common wrong way of finding the Max value in C# is to sort and pick the first.) It may be a good idea to separate finding an algorithm from writing actual code. The original state is also unlikely to be a good SO question as there are way too many ways to get things wrong. Spending time (as you've done) is a good starting point to weed out most obvious problems.
Having a rough understanding of expected performance is essential when optimizing code (i.e. O-notation). Have a reasonable estimate for yourself of the overall task and the particular piece you have a question about. Provide both in the question. E.g., "I have a sequence of M items and for every item group of N around it, I need foobarring. I expect O(M * n log n) because I'm iterating items and foobarring is similar to sorting, but I get what I think is O(M * n^2.5)."
Know standard algorithms and demonstrate that knowledge in the question. E.g., if you need linear time for sorting you either pick non-comparison algorithms or rethink the overall solution rather than hoping to come up with a linear sort on your own.