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

add adapter repository for snapshot store #639

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

DavidBadura
Copy link
Member

This PR allows to fetch the adapters lazy by writing your own adapter repository.

@DavidBadura DavidBadura added this to the 3.5.0 milestone Oct 15, 2024
@DavidBadura DavidBadura added the enhancement New feature or request label Oct 15, 2024
Copy link

github-actions bot commented Oct 15, 2024

Hello 👋

here is the most recent benchmark result:

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

+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
|                           | time (kde mode)                               | memory                                     |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| subject                   | Tag: <current>  | Tag: base       | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| benchHandle10000Events () | 3.059s (±0.00%) | 3.082s (±0.00%) | -0.76%    | 34.736mb        | 34.744mb   | -0.02%      |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+

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

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

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

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 889.500μs (±0.00%) | 901.700μs (±0.00%) | -1.35%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchLoad10000Events ()                | 47.457ms (±0.00%)  | 47.411ms (±0.00%)  | +0.10%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchSave1Event ()                     | 973.800μs (±0.00%) | 974.200μs (±0.00%) | -0.04%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchSave10000Events ()                | 213.959ms (±0.00%) | 221.559ms (±0.00%) | -3.43%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchSave10000Aggregates ()            | 7.980s (±0.00%)    | 8.200s (±0.00%)    | -2.67%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 4.771s (±0.00%)    | 4.732s (±0.00%)    | +0.83%    | 34.744mb        | 34.744mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

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

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad10000EventsMissingSnapshot () | 47.692ms (±0.00%)  | 47.749ms (±0.00%)  | -0.12%    | 33.836mb        | 33.835mb   | +0.00%      |
| benchLoad10000Events ()                | 923.100μs (±0.00%) | 914.600μs (±0.00%) | +0.93%    | 33.836mb        | 33.835mb   | +0.00%      |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

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

+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                         | time (kde mode)                                     | memory                                     |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                 | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad10000Events () | 4.398ms (±0.00%)   | 4.350ms (±0.00%)   | +1.11%    | 37.072mb        | 37.072mb   | 0.00%       |
| benchSave10000Events () | 348.032ms (±0.00%) | 352.877ms (±0.00%) | -1.37%    | 37.144mb        | 37.144mb   | 0.00%       |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

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

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 879.000μs (±0.00%) | 895.000μs (±0.00%) | -1.79%    | 34.895mb        | 34.895mb   | 0.00%       |
| benchLoad10000Events ()                | 82.382ms (±0.00%)  | 81.519ms (±0.00%)  | +1.06%    | 34.895mb        | 34.895mb   | 0.00%       |
| benchSave1Event ()                     | 1.399ms (±0.00%)   | 1.560ms (±0.00%)   | -10.34%   | 34.895mb        | 34.895mb   | 0.00%       |
| benchSave10000Events ()                | 251.453ms (±0.00%) | 252.244ms (±0.00%) | -0.31%    | 34.897mb        | 34.897mb   | 0.00%       |
| benchSave10000Aggregates ()            | 12.263s (±0.00%)   | 12.015s (±0.00%)   | +2.06%    | 34.895mb        | 34.895mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 8.842s (±0.00%)    | 8.789s (±0.00%)    | +0.60%    | 35.396mb        | 35.396mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

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

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 955.300μs (±0.00%) | 958.200μs (±0.00%) | -0.30%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchLoad10000Events ()                | 49.186ms (±0.00%)  | 51.319ms (±0.00%)  | -4.16%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchSave1Event ()                     | 1.259ms (±0.00%)   | 996.200μs (±0.00%) | +26.41%   | 33.765mb        | 33.765mb   | 0.00%       |
| benchSave10000Events ()                | 221.237ms (±0.00%) | 220.539ms (±0.00%) | +0.32%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchSave10000Aggregates ()            | 8.214s (±0.00%)    | 7.983s (±0.00%)    | +2.89%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 4.773s (±0.00%)    | 4.769s (±0.00%)    | +0.08%    | 33.765mb        | 33.765mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

This comment gets update everytime a new commit comes in!

@DavidBadura DavidBadura merged commit 53a3913 into 3.5.x Oct 15, 2024
40 checks passed
@DavidBadura DavidBadura deleted the add-adapter-repository branch October 15, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants