Skip to content

add lazy hydration feature#99

Merged
DavidBadura merged 1 commit into1.11.xfrom
lazy-with-attribute
Jun 12, 2025
Merged

add lazy hydration feature#99
DavidBadura merged 1 commit into1.11.xfrom
lazy-with-attribute

Conversation

@DavidBadura
Copy link
Member

No description provided.

@DavidBadura DavidBadura added this to the 1.11.0 milestone Jun 6, 2025
@github-actions
Copy link

github-actions bot commented Jun 6, 2025

Hello 👋

here is the most recent benchmark result:

HydratorWithCryptographyBench
=============================

+-------------------------------+-------------------+-------------------+-----------------+------------+
|                               | time (kde mode)                       | memory                       |
+-------------------------------+-------------------+-------------------+-----------------+------------+
| subject                       | Tag: <current>    | Tag: base         | Tag: <current>  | Tag: base  |
+-------------------------------+-------------------+-------------------+-----------------+------------+
| benchHydrate1Object ()        | 17.400μs (±0.00%) | 16.000μs (±0.00%) | 5.983mb         | 5.972mb    |
| benchExtract1Object ()        | 20.800μs (±0.00%) | 20.400μs (±0.00%) | 5.983mb         | 5.972mb    |
| benchHydrate1000Objects ()    | 14.882ms (±0.00%) | 13.757ms (±0.00%) | 5.983mb         | 5.972mb    |
| benchExtract1000Objects ()    | 16.265ms (±0.00%) | 16.470ms (±0.00%) | 5.983mb         | 5.972mb    |
| benchHydrate1000000Objects () | 14.530s (±0.00%)  | 13.502s (±0.00%)  | 5.983mb         | 5.972mb    |
| benchExtract1000000Objects () | 16.166s (±0.00%)  | 16.291s (±0.00%)  | 5.983mb         | 5.972mb    |
+-------------------------------+-------------------+-------------------+-----------------+------------+

HydratorBench
=============

+-------------------------------+------------------+------------------+-----------------+------------+
|                               | time (kde mode)                     | memory                       |
+-------------------------------+------------------+------------------+-----------------+------------+
| subject                       | Tag: <current>   | Tag: base        | Tag: <current>  | Tag: base  |
+-------------------------------+------------------+------------------+-----------------+------------+
| benchHydrate1Object ()        | 9.000μs (±0.00%) | 7.800μs (±0.00%) | 5.821mb         | 5.810mb    |
| benchExtract1Object ()        | 9.000μs (±0.00%) | 8.800μs (±0.00%) | 5.821mb         | 5.810mb    |
| benchHydrate1000Objects ()    | 7.879ms (±0.00%) | 6.848ms (±0.00%) | 5.821mb         | 5.810mb    |
| benchExtract1000Objects ()    | 6.810ms (±0.00%) | 6.624ms (±0.00%) | 5.821mb         | 5.810mb    |
| benchHydrate1000000Objects () | 7.901s (±0.00%)  | 6.781s (±0.00%)  | 5.821mb         | 5.810mb    |
| benchExtract1000000Objects () | 6.581s (±0.00%)  | 6.579s (±0.00%)  | 5.821mb         | 5.810mb    |
+-------------------------------+------------------+------------------+-----------------+------------+

HydratorWithLazyBench
=====================

+------------------------------------------+--------------------+-----------------+
|                                          | time (kde mode)    | memory          |
+------------------------------------------+--------------------+-----------------+
| subject                                  | Tag: <current>     | Tag: <current>  |
+------------------------------------------+--------------------+-----------------+
| benchHydrate1Object ()                   | 1.200μs (±0.00%)   | 5.824mb         |
| benchHydrate1ObjectTriggerInit ()        | 9.000μs (±0.00%)   | 5.824mb         |
| benchHydrate1000Objects ()               | 971.667μs (±0.00%) | 5.824mb         |
| benchHydrate1000ObjectsTriggerInit ()    | 7.847ms (±0.00%)   | 5.824mb         |
| benchHydrate1000000Objects ()            | 969.383ms (±0.00%) | 5.824mb         |
| benchHydrate1000000ObjectsTriggerInit () | 7.784s (±0.00%)    | 5.824mb         |
+------------------------------------------+--------------------+-----------------+

This comment gets update everytime a new commit comes in!

@DavidBadura DavidBadura force-pushed the lazy-with-attribute branch from 51556e1 to 81064bd Compare June 7, 2025 12:37
@DavidBadura DavidBadura marked this pull request as ready for review June 7, 2025 12:37
@DavidBadura DavidBadura requested a review from DanielBadura June 7, 2025 12:37
@DavidBadura DavidBadura force-pushed the lazy-with-attribute branch from 81064bd to 0145bae Compare June 12, 2025 11:25
@DavidBadura DavidBadura changed the title add lazy with attribute add lazy hydration feature Jun 12, 2025
@DavidBadura DavidBadura merged commit b8f09d2 into 1.11.x Jun 12, 2025
14 of 15 checks passed
@DavidBadura DavidBadura deleted the lazy-with-attribute branch June 12, 2025 11:27
@DavidBadura DavidBadura added the enhancement New feature or request label Jun 12, 2025
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