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

Infer automatically array value types & enable their normalization #62

Open
wants to merge 1 commit into
base: 1.6.x
Choose a base branch
from

Conversation

DavidBadura
Copy link
Member

No description provided.

Copy link

github-actions bot commented Dec 2, 2024

Hello 👋

here is the most recent benchmark result:

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

+-------------------------------+------------------+------------------+-----------------+------------+
|                               | time (kde mode)                     | memory                       |
+-------------------------------+------------------+------------------+-----------------+------------+
| subject                       | Tag: <current>   | Tag: base        | Tag: <current>  | Tag: base  |
+-------------------------------+------------------+------------------+-----------------+------------+
| benchHydrate1Object ()        | 3.000μs (±0.00%) | 2.900μs (±0.00%) | 5.089mb         | 4.762mb    |
| benchExtract1Object ()        | 3.100μs (±0.00%) | 3.100μs (±0.00%) | 5.089mb         | 4.762mb    |
| benchHydrate1000Objects ()    | 2.599ms (±0.00%) | 2.637ms (±0.00%) | 5.089mb         | 4.762mb    |
| benchExtract1000Objects ()    | 2.248ms (±0.00%) | 2.228ms (±0.00%) | 5.089mb         | 4.762mb    |
| benchHydrate1000000Objects () | 2.618s (±0.00%)  | 2.586s (±0.00%)  | 5.089mb         | 4.762mb    |
| benchExtract1000000Objects () | 2.211s (±0.00%)  | 2.198s (±0.00%)  | 5.089mb         | 4.762mb    |
+-------------------------------+------------------+------------------+-----------------+------------+

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

+-------------------------------+-------------------+-------------------+-----------------+------------+
|                               | time (kde mode)                       | memory                       |
+-------------------------------+-------------------+-------------------+-----------------+------------+
| subject                       | Tag: <current>    | Tag: base         | Tag: <current>  | Tag: base  |
+-------------------------------+-------------------+-------------------+-----------------+------------+
| benchHydrate1Object ()        | 12.500μs (±0.00%) | 13.500μs (±0.00%) | 5.131mb         | 4.762mb    |
| benchExtract1Object ()        | 7.400μs (±0.00%)  | 7.400μs (±0.00%)  | 5.130mb         | 4.762mb    |
| benchHydrate1000Objects ()    | 7.395ms (±0.00%)  | 7.349ms (±0.00%)  | 5.131mb         | 4.762mb    |
| benchExtract1000Objects ()    | 5.906ms (±0.00%)  | 5.914ms (±0.00%)  | 5.130mb         | 4.762mb    |
| benchHydrate1000000Objects () | 7.347s (±0.00%)   | 7.372s (±0.00%)   | 5.131mb         | 4.762mb    |
| benchExtract1000000Objects () | 5.858s (±0.00%)   | 5.813s (±0.00%)   | 5.130mb         | 4.762mb    |
+-------------------------------+-------------------+-------------------+-----------------+------------+

This comment gets update everytime a new commit comes in!

@DanielBadura
Copy link
Member

Needs symfony/symfony#59066

@DanielBadura DanielBadura changed the title automatic array normalization Infer automatically array value types & enable their normalization Dec 2, 2024
@DavidBadura DavidBadura force-pushed the automatic-array-normalizer branch from c41b35c to 18240dd Compare December 3, 2024 15:59
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.

2 participants