Skip to main content
Post Reopened by Makoto discussion
added 11 characters in body; edited tags; edited title
Source Link
Sabito
  • 5k
  • 1
  • 17
  • 40

Are questions seeking an explanation for a concept related to a problem acceptable on SO?

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 in SOon Stack Overflow, in Software Engineering, or nowhere? Is it useful to others without the main program where the issue is happening?

Are questions seeking an explanation for a concept related to a problem acceptable on SO?

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 in SO, in Software Engineering, or nowhere? Is it useful to others without the main program where the issue is happening?

Are questions seeking an explanation for a concept related to a problem acceptable?

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?

remove code formatting of non-code
Source Link
philipxy
  • 15.1k
  • 4
  • 19
  • 19

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?

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 in SO, in Software Engineering, or nowhere? Is it useful to others without the main program where the issue is happening?

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 in SO, in Software Engineering, or nowhere? Is it useful to others without the main program where the issue is happening?

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 in SO, in Software Engineering, or nowhere? Is it useful to others without the main program where the issue is happening?

Source Link
Kolichikov
  • 3k
  • 12
  • 5

Are questions seeking an explanation for a concept related to a problem acceptable on SO?

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 in SO, in Software Engineering, or nowhere? Is it useful to others without the main program where the issue is happening?