Skip to content

[WebProfilerBundle][Cache] Fix misses calculation when calling getItems #27222

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

Merged
merged 1 commit into from
May 11, 2018

Conversation

fsevestre
Copy link
Contributor

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Hello,

This PR fixes a bug in the misses calculation in the cache data collector when calling the getItems method.

Found this while trying to understand why I had an inconsistency in the profiler:
misses

@fabpot
Copy link
Member

fabpot commented May 11, 2018

Thank you @fsevestre.

@fabpot fabpot merged commit 3d1ab6d into symfony:3.4 May 11, 2018
fabpot added a commit that referenced this pull request May 11, 2018
…ling getItems (fsevestre)

This PR was merged into the 3.4 branch.

Discussion
----------

[WebProfilerBundle][Cache] Fix misses calculation when calling getItems

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Hello,

This PR fixes a bug in the misses calculation in the cache data collector when calling the `getItems` method.

Found this while trying to understand why I had an inconsistency in the profiler:
![misses](https://user-images.githubusercontent.com/4130750/39875423-e6212f60-5470-11e8-87be-c075ee76aeaa.png)

Commits
-------

3d1ab6d Fix misses calculation when calling getItems
@fsevestre fsevestre deleted the cache-misses branch May 11, 2018 15:56
This was referenced May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants