For example, I have an issue with garbage collector pressure affecting my program. I've been trying solutions from the internet, but they all seem to decrease performance. I suspect I'm missing some sort of fundamental concept, but I can only post the code that I changed with a brief description of how it's used and not the full code.
Something like:
I observed bad performance based on "some tool or performance counters".
I tried A, here's how I changed my code:<some code bits>
.
Here is "some tool or performance counters" output before and after the change:<some console outputs>
.
Why is this decreasing performance, and how was I supposed to implement this to increase performance?
Is a question like that on-topic on Stack Overflow, in Software Engineering, or nowhere? Is it useful to others without the main program where the issue is happening?