Skip to content

Conversation

@norberttech
Copy link
Member

Related to: #1752

Change Log


Added

Fixed

Changed

  • Moved Filesystem test double to Filesystem package

Removed

Deprecated

Security

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 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.840mb +0.01%  | 439.538ms +0.49% | ±0.49% -51.17%  |
| ExcelExtractorBench   | bench_extract_10k_ods  | 1    | 3   | 65.535mb +0.00% | 1.052s -0.74%    | ±1.01% +170.09% |
| ExcelExtractorBench   | bench_extract_10k_xlsx | 1    | 3   | 67.581mb +0.00% | 1.677s -0.39%    | ±2.15% +78.42%  |
| JsonExtractorBench    | bench_extract_10k      | 1    | 3   | 5.106mb +3.81%  | 1.145s -0.87%    | ±0.17% -64.60%  |
| ParquetExtractorBench | bench_extract_10k      | 1    | 3   | 86.394mb +0.00% | 889.910ms -0.51% | ±0.18% +4.28%   |
| TextExtractorBench    | bench_extract_10k      | 1    | 3   | 4.564mb +0.01%  | 41.759ms -0.53%  | ±0.80% +8.00%   |
| XmlExtractorBench     | bench_extract_10k      | 1    | 3   | 4.549mb +0.01%  | 609.207ms +1.27% | ±0.83% +85.92%  |
+-----------------------+------------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                       | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 18.559mb +0.00%  | 72.227ms -0.35% | ±0.23% -79.35% |
| RenameEntryTransformerBench     | bench_transform_10k_rows | 1    | 3   | 123.297mb +0.00% | 65.388ms -0.03% | ±0.46% -51.55% |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 62.501mb +0.00%  | 85.264ms -2.92%  | ±0.92% -43.62% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 80.582mb +0.00%  | 103.250ms +0.80% | ±0.45% +8.93%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.294mb +0.00% | 2.001s +0.32%    | ±0.35% -61.47% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.865mb +0.00%  | 29.809ms +0.46%  | ±0.23% -40.81% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 42.510mb +0.00%  | 405.829ms +0.48% | ±1.68% +132.14%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.567mb +0.00%  | 81.132ms -0.50%  | ±1.54% +34.87%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.979mb +0.00% | 649.772ms +0.85% | ±0.40% -50.00%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.255mb +0.00%  | 324.224ms -2.21% | ±1.02% -11.56%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.840mb +0.00%  | 68.340ms -1.96%  | ±0.75% +26.16%   |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 93.450mb +0.00%  | 3.258ms -1.30%   | ±1.28% +98.58%   |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 110.821mb +0.00% | 239.318ms +0.78% | ±0.65% +136.02%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 93.541mb +0.00%  | 23.990ms +0.70%  | ±0.23% -80.29%   |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 94.325mb +0.00%  | 1.307ms -4.37%   | ±1.37% +111.21%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 94.325mb +0.00%  | 1.389ms +1.95%   | ±2.97% +129.47%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 92.485mb +0.00%  | 3.322ms -0.96%   | ±0.67% -58.66%   |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 93.014mb +0.00%  | 15.780ms +2.59%  | ±2.46% +292.84%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 93.014mb +0.00%  | 15.704ms +2.35%  | ±0.79% +11.36%   |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 91.703mb +0.00%  | 1.894μs +5.22%   | ±2.53% +0.00%    |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 91.703mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 100.764mb +0.00% | 14.205ms +0.90%  | ±1.62% +1614.74% |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 130.191mb +0.00% | 66.238ms -1.65%  | ±0.81% +57.10%   |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 93.534mb +0.00%  | 1.127ms -13.33%  | ±1.08% -71.96%   |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 96.903mb +0.00%  | 62.791ms -0.29%  | ±1.49% +114.60%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 94.587mb +0.00%  | 3.436ms -2.63%   | ±3.27% +49.35%   |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 92.065mb +0.00%  | 40.258ms +1.51%  | ±1.34% +148.17%  |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 92.065mb +0.00%  | 39.984ms -0.07%  | ±1.02% -13.91%   |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 92.065mb +0.00%  | 39.917ms -0.88%  | ±0.84% -42.57%   |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 94.146mb +0.00%  | 8.206ms +0.57%   | ±1.12% +91.24%   |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 91.896mb +0.00%  | 29.061ms -0.59%  | ±1.55% +222.28%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 91.703mb +0.00%  | 14.446μs +4.73%  | ±3.13% +814.10%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 91.703mb +0.00%  | 15.461μs +0.43%  | ±3.00% +876.69%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 110.822mb +0.00% | 241.917ms -0.19% | ±1.83% +180.01%  |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+

@codecov
Copy link

codecov bot commented Jul 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.30%. Comparing base (6158974) to head (a10fd5a).
Report is 1 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1753   +/-   ##
=======================================
  Coverage   81.30%   81.30%           
=======================================
  Files         717      717           
  Lines       19948    19948           
=======================================
+ Hits        16218    16219    +1     
+ Misses       3730     3729    -1     
Components Coverage Δ
etl 88.40% <ø> (ø)
cli 85.46% <ø> (ø)
lib-array-dot 94.56% <ø> (ø)
lib-azure-sdk 61.35% <ø> (ø)
lib-doctrine-dbal-bulk 93.88% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-types 53.43% <ø> (ø)
lib-parquet 84.17% <ø> (ø)
lib-parquet-viewer 83.11% <ø> (ø)
lib-snappy 91.16% <ø> (+0.46%) ⬆️
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 97.04% <ø> (ø)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.70% <ø> (ø)
adapter-csv 88.85% <ø> (ø)
adapter-doctrine 89.89% <ø> (ø)
adapter-elasticsearch 97.23% <ø> (ø)
adapter-google-sheet 83.87% <ø> (ø)
adapter-http 58.10% <ø> (ø)
adapter-json 87.98% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.95% <ø> (ø)
adapter-parquet 78.64% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 82.73% <ø> (ø)
🚀 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 e846b40 into 1.x Jul 3, 2025
21 checks passed
@norberttech norberttech deleted the chore/fs-cleanup branch July 3, 2025 01:14
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