Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

Removed

  • RDSL library

Deprecated

Security


Description

Resolves: #1461

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2025

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          |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.863mb -0.12%  | 557.901ms +3.71% | ±0.34% -45.97%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.936mb -0.11%  | 1.078s +3.09%    | ±0.51% -15.53%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.390mb -0.01% | 892.901ms +2.11% | ±1.57% +80.19%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.593mb -0.12%  | 36.134ms +0.42%  | ±3.18% +310.46% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.568mb -0.12%  | 611.887ms +4.06% | ±0.45% -1.66%   |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.390mb -0.00% | 72.512ms +0.86% | ±0.48% -29.39% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.062mb -0.01%  | 102.437ms +0.74% | ±0.65% -50.68% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.409mb -0.01%  | 95.644ms +2.33%  | ±0.50% -62.35% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.261mb -0.00% | 20.650s +3.64%   | ±0.21% -65.94% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.125mb -0.03%  | 31.548ms +10.81% | ±0.29% -90.54% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.906mb -0.01%  | 363.552ms +2.16% | ±0.82% +64.95%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.716mb -0.05%  | 73.316ms -0.54%  | ±0.48% -46.70%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 106.009mb -0.01% | 462.283ms +1.50% | ±0.64% -48.97%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.199mb -0.01%  | 232.918ms +1.05% | ±0.24% -88.02%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.721mb -0.04%  | 50.502ms -0.31%  | ±0.64% +7.41%   |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.052mb -0.01%  | 3.135ms +1.57%   | ±0.65% -48.98%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.342mb -0.00% | 183.827ms +1.60% | ±1.30% -14.14%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.062mb -0.01%  | 18.370ms +2.70%  | ±0.34% -69.92%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.927mb -0.01%  | 1.521ms +10.61%  | ±3.07% +162.05% |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.927mb -0.01%  | 1.523ms +11.44%  | ±0.61% -74.11%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.088mb -0.01%  | 4.578ms +8.73%   | ±3.47% +173.69% |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.617mb -0.01%  | 16.519ms -0.59%  | ±1.46% -50.78%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.617mb -0.01%  | 16.257ms +2.14%  | ±0.85% -6.31%   |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.308mb -0.01%  | 1.700μs -10.53%  | ±0.00% -100.00% |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.308mb -0.01%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.526mb -0.01% | 14.840ms +3.22%  | ±1.02% +15.81%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.593mb -0.00% | 71.838ms +0.70%  | ±1.05% +131.35% |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.136mb -0.01%  | 1.318ms +5.58%   | ±2.13% -18.50%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.507mb -0.01% | 63.846ms +2.52%  | ±0.43% -48.53%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.189mb -0.01%  | 3.717ms +5.88%   | ±1.29% -25.20%  |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.604mb -0.01%  | 42.826ms +2.63%  | ±0.60% -76.92%  |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.604mb -0.01%  | 42.716ms +2.64%  | ±1.80% -44.11%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.604mb -0.01%  | 43.089ms +2.33%  | ±0.50% -76.52%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.748mb -0.01%  | 8.275ms +1.68%   | ±0.73% -58.27%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.498mb -0.01%  | 29.381ms +1.24%  | ±0.99% -23.95%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.308mb -0.01%  | 13.266μs -2.06%  | ±1.54% -51.69%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.308mb -0.01%  | 15.221μs -2.64%  | ±0.82% -37.70%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.343mb -0.00% | 184.661ms +2.85% | ±0.79% -35.45%  |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.15%. Comparing base (e9635d8) to head (82e7bec).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1520      +/-   ##
==========================================
- Coverage   83.19%   83.15%   -0.04%     
==========================================
  Files         696      681      -15     
  Lines       18770    18512     -258     
==========================================
- Hits        15615    15393     -222     
+ Misses       3155     3119      -36     
Components Coverage Δ
etl 86.48% <ø> (-0.04%) ⬇️
cli 83.73% <100.00%> (+0.66%) ⬆️
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 90.11% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-parquet 84.33% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-snappy 90.69% <ø> (ø)
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 96.38% <ø> (ø)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.57% <ø> (ø)
adapter-doctrine 89.14% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.62% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@norberttech norberttech merged commit 5f882d5 into flow-php:1.x Mar 9, 2025
22 of 23 checks passed
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.

Archive RDSL

1 participant