Skip to content
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

Enable PHPStan for the tests folder #667

Draft
wants to merge 2 commits into
base: 3.8.x
Choose a base branch
from

Conversation

DanielBadura
Copy link
Member

No description provided.

Copy link

Hello 👋

here is the most recent benchmark result:

SimpleSetupBench
================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 992.200μs (±0.00%) | 995.500μs (±0.00%) | -0.33%    | 34.267mb        | 34.274mb   | -0.02%      |
| benchLoad10000Events ()                | 49.489ms (±0.00%)  | 48.521ms (±0.00%)  | +1.99%    | 34.267mb        | 34.274mb   | -0.02%      |
| benchSave1Event ()                     | 1.018ms (±0.00%)   | 1.026ms (±0.00%)   | -0.70%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchSave10000Events ()                | 221.469ms (±0.00%) | 223.393ms (±0.00%) | -0.86%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchSave10000Aggregates ()            | 8.946s (±0.00%)    | 9.134s (±0.00%)    | -2.06%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 4.852s (±0.00%)    | 4.897s (±0.00%)    | -0.92%    | 33.765mb        | 33.765mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SnapshotsBench
==============

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad10000EventsMissingSnapshot () | 49.980ms (±0.00%)  | 49.853ms (±0.00%)  | +0.25%    | 33.836mb        | 33.836mb   | 0.00%       |
| benchLoad10000Events ()                | 885.300μs (±0.00%) | 906.300μs (±0.00%) | -2.32%    | 33.836mb        | 33.836mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SubscriptionEngineBatchBench
============================

+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
|                           | time (kde mode)                                   | memory                                     |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| subject                   | Tag: <current>    | Tag: base         | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| benchHandle10000Events () | 73.652ms (±0.00%) | 72.681ms (±0.00%) | +1.34%    | 34.234mb        | 34.234mb   | 0.00%       |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+

SubscriptionEngineBench
=======================

+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
|                           | time (kde mode)                               | memory                                     |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| subject                   | Tag: <current>  | Tag: base       | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| benchHandle10000Events () | 3.166s (±0.00%) | 3.172s (±0.00%) | -0.19%    | 46.382mb        | 46.382mb   | 0.00%       |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+

PersonalDataBench
=================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 939.600μs (±0.00%) | 934.600μs (±0.00%) | +0.53%    | 34.895mb        | 34.895mb   | 0.00%       |
| benchLoad10000Events ()                | 86.415ms (±0.00%)  | 87.833ms (±0.00%)  | -1.61%    | 34.895mb        | 34.895mb   | 0.00%       |
| benchSave1Event ()                     | 1.615ms (±0.00%)   | 1.654ms (±0.00%)   | -2.38%    | 34.895mb        | 34.895mb   | 0.00%       |
| benchSave10000Events ()                | 249.672ms (±0.00%) | 252.032ms (±0.00%) | -0.94%    | 34.897mb        | 34.897mb   | 0.00%       |
| benchSave10000Aggregates ()            | 12.674s (±0.00%)   | 13.027s (±0.00%)   | -2.71%    | 34.895mb        | 34.895mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 9.011s (±0.00%)    | 9.035s (±0.00%)    | -0.27%    | 35.396mb        | 35.396mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SimpleSetupStreamStoreBench
===========================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 956.100μs (±0.00%) | 955.300μs (±0.00%) | +0.08%    | 34.862mb        | 34.862mb   | 0.00%       |
| benchLoad10000Events ()                | 54.493ms (±0.00%)  | 56.853ms (±0.00%)  | -4.15%    | 34.862mb        | 34.862mb   | 0.00%       |
| benchSave1Event ()                     | 1.003ms (±0.00%)   | 994.800μs (±0.00%) | +0.82%    | 34.862mb        | 34.862mb   | 0.00%       |
| benchSave10000Events ()                | 301.082ms (±0.00%) | 303.871ms (±0.00%) | -0.92%    | 34.862mb        | 34.862mb   | 0.00%       |
| benchSave10000Aggregates ()            | 8.688s (±0.00%)    | 9.105s (±0.00%)    | -4.58%    | 34.862mb        | 34.862mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 5.102s (±0.00%)    | 5.097s (±0.00%)    | +0.09%    | 34.862mb        | 34.862mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SplitStreamBench
================

+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                         | time (kde mode)                                     | memory                                     |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                 | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad10000Events () | 4.503ms (±0.00%)   | 4.461ms (±0.00%)   | +0.94%    | 37.072mb        | 37.072mb   | 0.00%       |
| benchSave10000Events () | 345.704ms (±0.00%) | 350.213ms (±0.00%) | -1.29%    | 37.144mb        | 37.145mb   | -0.00%      |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

This comment gets update everytime a new commit comes in!

Base automatically changed from update-phpstan-to-v2 to 3.8.x January 2, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant