Skip to content

Conversation

@stloyd
Copy link
Member

@stloyd stloyd commented Nov 28, 2023

Change Log

Added

Fixed

Changed

  • Rework Doctrine Bulk tests to not use deprecated code

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Nov 28, 2023

Flow PHP - Benchmarks

Results of the benchmarks from this PR are compared with the results from 1.x branch.

Extractors
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| benchmark             | subject           | revs | its | mem_peak         | mode             | rstdev          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 34.765mb +0.00%  | 676.245ms +1.57% | ±1.54% -42.79%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.630mb +0.01%   | 295.358ms +0.39% | ±0.77% +629.72% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.789mb +0.01%   | 900.318ms -0.46% | ±0.91% +58.78%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.499mb +0.00% | 1.103s +1.19%    | ±1.68% +460.48% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.570mb +0.01%   | 23.879ms -0.14%  | ±1.80% +155.61% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.571mb +0.01%   | 406.873ms -0.11% | ±0.44% -2.46%   |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.254mb +0.00% | 62.743ms -2.84% | ±0.50% +43.07% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+------------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev           |
+--------------------+----------------+------+-----+------------------+------------------+------------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.426mb +0.00%  | 443.753ms -2.78% | ±0.23% -92.61%   |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.736mb +0.00%  | 72.018ms +1.71%  | ±0.59% -16.91%   |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.008mb +0.00% | 54.819ms +0.58%  | ±0.47% +5.55%    |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.486mb +0.00% | 1.486s +2.35%    | ±1.68% +1123.92% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.610mb +0.00%  | 41.368ms +2.87%  | ±2.08% +1007.30% |
+--------------------+----------------+------+-----+------------------+------------------+------------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.303mb +0.00%  | 2.726ms +2.75%   | ±1.74% +45.70%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.096mb +0.00%  | 180.261ms +1.75% | ±0.67% +59.43%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.622mb +0.00%  | 17.975ms +0.65%  | ±0.45% -59.54%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.543mb +0.00%  | 1.706ms +2.37%   | ±2.92% +194.03%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.543mb +0.00%  | 1.692ms +1.20%   | ±0.17% -75.77%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.655mb +0.00%  | 2.788ms +13.83%  | ±2.60% +276.72%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.184mb +0.00%  | 14.817ms +5.26%  | ±0.58% -73.55%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.184mb +0.00%  | 15.772ms +6.64%  | ±3.22% -11.53%   |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.087mb +0.00%  | 1.706μs -5.54%   | ±2.72% +5.77%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.087mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.644mb +0.00%  | 12.221ms +0.02%  | ±2.83% +3.84%    |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.003mb +0.00% | 67.178ms +5.02%  | ±0.22% -89.91%   |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.705mb +0.00%  | 1.863ms +5.11%   | ±1.56% +217.57%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.978mb +0.00%  | 34.608ms +0.45%  | ±1.14% +143.89%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.805mb +0.00%  | 3.869ms +1.81%   | ±0.26% +10.71%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.232mb +0.00%  | 39.811ms +0.09%  | ±0.53% -59.66%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.233mb +0.00%  | 39.679ms -0.15%  | ±0.44% -54.52%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.232mb +0.00%  | 40.374ms +0.56%  | ±0.50% -67.79%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.529mb +0.00%  | 7.379ms +0.46%   | ±0.78% -37.55%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.087mb +0.00%  | 28.794ms -0.59%  | ±0.68% +23.05%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.087mb +0.00%  | 13.318μs +0.18%  | ±1.06% +197.01%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.087mb +0.00%  | 15.900μs +0.76%  | ±1.03% -4.12%    |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.097mb +0.00%  | 183.028ms +0.63% | ±1.09% +5295.41% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.175mb +0.00%  | 313.722ms -0.00% | ±0.11% -87.94%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.098mb +0.00%  | 62.239ms -0.02%  | ±2.31% +106.78%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.845mb +0.00% | 362.607ms +1.78% | ±0.60% -41.05%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.564mb +0.00%  | 182.047ms +1.69% | ±1.18% -24.45%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.688mb +0.00%  | 39.507ms +2.30%  | ±0.60% -78.91%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@stloyd stloyd force-pushed the chore/doctrine-deprecations branch from 266a947 to 5a1cc53 Compare November 28, 2023 20:14
@norberttech norberttech merged commit 3cbcdb9 into flow-php:1.x Nov 29, 2023
@stloyd stloyd deleted the chore/doctrine-deprecations branch November 29, 2023 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants