Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performence types of changes #333

Closed
crakjie opened this issue Feb 20, 2020 · 5 comments
Closed

Performence types of changes #333

crakjie opened this issue Feb 20, 2020 · 5 comments

Comments

@crakjie
Copy link

crakjie commented Feb 20, 2020

Would it be interesting to have a type of change that impact just performance?.
I saw that on some project and it's nice to scroll a change log and look for performence lines to know if it's good to upgrade or not.

@NateEag
Copy link

NateEag commented Jan 27, 2021

I suggested using 'Optimize' for such changes.

Even if the project never formally adopts that standard, you could certainly apply the standard to your own changelogs.

@matteoolivi
Copy link

matteoolivi commented Feb 15, 2022

IMO "Optimize" is too optimistic, it implies that performance improved. There could be changes that led to performance regressions, and should also be listed. Although I see that if a change leads to a performance regression probably that change goal wasn't altering performance (why making it worse?), but doing something else which is already covered by another entry in the changelog (e.g. add a feature, fix a bug, etc... ).

There might also be cases where the performance improved considerably as a side-effect of a change whose primary concern was not performance. IMO just leaving the information about the performance change "hidden" in the description of that entry could make it harder to discover.

I wonder whether notable performance changes should be listed in isolation no matter what, even if it leads to duplicate entries (e.g. an entry for a change C and a separate entry in a dedicated section for the performance changes that C introduced).

@NateEag
Copy link

NateEag commented Feb 16, 2022

@matteoolivi I think the changelog is about summarizing change intent, not results.

Many changes could result in performance improvements or regressions, but that isn't their intent, so it's not what we put in the changelog - we say what we were trying to do (like "fix bug X", even though sometimes those changes introduce new bugs themselves).

We do occasionally make changes to a codebase with the sole goal of making something run more quickly. I've not seen a change made with the explicit intent of making something slower.

Hence my suggestion of an "Optimize" verb, because once in a while we do make changes solely to try to speed something up.

@matteoolivi
Copy link

matteoolivi commented Feb 17, 2022

@matteoolivi I think the changelog is about summarizing change intent, not results.

Many changes could result in performance improvements or regressions, but that isn't their intent, so it's not what we put in the changelog - we say what we were trying to do (like "fix bug X", even though sometimes those changes introduce new bugs themselves).

@NateEag I disagree, what you describe is what happens most of the times because change intent is all that the change(log) authors are aware of. That is, they don't necessarily know that a performance regression was introduced. But if an intended change resulted in some big unintentional change in user visible behavior and that change gets discovered in my opinion it should be listed in the changelog.

I see that this case however might be rare enough not to deserve dedicated rules on how to track it in a changelog.

@NateEag
Copy link

NateEag commented Mar 1, 2022

That's a good point, @matteoolivi . Thanks for bringing it up!

I agree that it's rare for such events to happen, but it's definitely worth updating the changelog to note it when they're discovered.

Repository owner locked and limited conversation to collaborators Mar 8, 2023
@olivierlacan olivierlacan converted this issue into discussion #518 Mar 8, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants