Skip to content

Conversation

@norberttech
Copy link
Member

Resolves: #1316

Change Log


Added

  • Covered functions from Symfony/String component with Scalar Functions

Fixed

Changed

Removed

Deprecated

Security

@codecov
Copy link

codecov bot commented Jul 22, 2025

Codecov Report

Attention: Patch coverage is 97.20000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 82.20%. Comparing base (4e186e2) to head (a148c00).
Report is 2 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1782      +/-   ##
==========================================
+ Coverage   82.02%   82.20%   +0.17%     
==========================================
  Files         729      750      +21     
  Lines       20945    21188     +243     
==========================================
+ Hits        17180    17417     +237     
- Misses       3765     3771       +6     
Components Coverage Δ
etl 89.05% <97.20%> (+0.30%) ⬆️
cli 85.46% <ø> (ø)
lib-array-dot 94.56% <ø> (ø)
lib-azure-sdk 61.35% <ø> (ø)
lib-doctrine-dbal-bulk 95.59% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-types 53.55% <ø> (ø)
lib-parquet 85.50% <ø> (ø)
lib-parquet-viewer 83.11% <ø> (ø)
lib-snappy 89.76% <ø> (ø)
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 97.04% <ø> (ø)
bridge-openapi-specification 93.16% <ø> (ø)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.70% <ø> (ø)
adapter-csv 88.85% <ø> (ø)
adapter-doctrine 91.03% <ø> (ø)
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.92% <ø> (ø)
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.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 22, 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.873mb +0.27%  | 438.253ms -1.76% | ±0.39% -88.85% |
| ExcelExtractorBench   | bench_extract_10k_ods  | 1    | 3   | 65.568mb +0.02% | 1.064s -1.34%    | ±1.07% -15.80% |
| ExcelExtractorBench   | bench_extract_10k_xlsx | 1    | 3   | 67.668mb +0.02% | 1.689s +0.43%    | ±0.81% +38.74% |
| JsonExtractorBench    | bench_extract_10k      | 1    | 3   | 5.465mb +0.24%  | 1.164s +1.48%    | ±0.97% +9.35%  |
| ParquetExtractorBench | bench_extract_10k      | 1    | 3   | 10.672mb +0.13% | 9.264s -19.16%   | ±0.08% -78.68% |
| TextExtractorBench    | bench_extract_10k      | 1    | 3   | 4.595mb +0.29%  | 42.496ms +1.02%  | ±0.80% +43.65% |
| XmlExtractorBench     | bench_extract_10k      | 1    | 3   | 4.581mb +0.29%  | 600.175ms -1.55% | ±0.53% -32.91% |
+-----------------------+------------------------+------+-----+-----------------+------------------+----------------+
Transformers
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                       | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 18.592mb +0.07%  | 72.674ms -0.02% | ±0.69% -27.01% |
| RenameEntryTransformerBench     | bench_transform_10k_rows | 1    | 3   | 123.330mb +0.01% | 68.232ms +2.85% | ±0.40% -8.14%  |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 62.534mb +0.02%  | 82.748ms -3.62%  | ±0.22% -69.82% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 80.615mb +0.02%  | 102.306ms +0.91% | ±0.95% +10.19% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 819.275mb +0.05% | 20.428s -24.33%  | ±0.30% -16.98% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.898mb +0.07%  | 30.113ms +2.05%  | ±0.67% -48.11% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 106.012mb +0.01% | 659.209ms -1.38% | ±0.67% -24.04%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.286mb +0.02%  | 330.112ms -1.43% | ±0.31% -58.47%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.872mb +0.09%  | 70.007ms +0.13%  | ±0.62% +69.39%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 42.542mb +0.03%  | 400.500ms -1.35% | ±0.87% +17.31%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.600mb +0.12%  | 81.756ms -1.23%  | ±0.78% +4.89%    |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 93.483mb +0.01%  | 3.357ms -8.83%   | ±1.27% -0.60%    |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 110.853mb +0.03% | 236.036ms -0.98% | ±0.27% -59.71%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 93.573mb +0.03%  | 23.926ms -0.73%  | ±0.69% +1.85%    |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 94.358mb +0.01%  | 1.414ms -14.44%  | ±2.52% -10.53%   |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 94.358mb +0.01%  | 1.367ms -12.90%  | ±2.23% +1.63%    |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 92.518mb +0.01%  | 3.609ms +5.48%   | ±2.17% +1199.33% |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 93.047mb +0.01%  | 15.352ms +2.69%  | ±1.45% +15.47%   |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 93.047mb +0.01%  | 15.517ms +0.87%  | ±1.40% -24.06%   |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 91.736mb +0.01%  | 1.894μs +4.87%   | ±2.53% -1.79%    |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 91.736mb +0.01%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 100.796mb +0.01% | 14.498ms +0.91%  | ±0.76% -61.36%   |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 130.224mb +0.01% | 69.741ms +1.39%  | ±1.29% +196.81%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 93.567mb +0.01%  | 1.331ms +11.66%  | ±2.96% +62.37%   |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 96.936mb +0.03%  | 61.927ms +4.08%  | ±0.78% -26.66%   |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 94.620mb +0.01%  | 3.584ms +3.26%   | ±2.80% +420.00%  |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 92.098mb +0.03%  | 39.850ms +0.82%  | ±0.24% +0.90%    |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 92.098mb +0.03%  | 39.984ms +0.86%  | ±0.55% +150.66%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 92.098mb +0.03%  | 40.011ms +0.81%  | ±0.83% +112.70%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 94.179mb +0.01%  | 8.105ms +2.76%   | ±1.69% +988.69%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 91.929mb +0.01%  | 29.355ms +0.32%  | ±1.86% +15.70%   |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 91.736mb +0.01%  | 14.380μs +4.11%  | ±1.17% -38.82%   |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 91.736mb +0.01%  | 15.516μs -3.75%  | ±3.14% +12.71%   |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 110.854mb +0.03% | 242.982ms +2.47% | ±0.22% -78.86%   |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
Parquet Library
+--------------------+---------------------------------+------+-----+------------------+-------------------+-----------------+
| benchmark          | subject                         | revs | its | mem_peak         | mode              | rstdev          |
+--------------------+---------------------------------+------+-----+------------------+-------------------+-----------------+
| ParquetReaderBench | bench_page_headers              | 1    | 3   | 6.670mb +0.20%   | 3.369s +0.81%     | ±1.51% -12.99%  |
| ParquetReaderBench | bench_read_metadata             | 1    | 3   | 5.355mb +0.25%   | 18.189ms +0.37%   | ±0.25% -17.57%  |
| ParquetReaderBench | bench_read_schema               | 1    | 3   | 5.355mb +0.25%   | 18.144ms +0.15%   | ±0.50% +52.26%  |
| ParquetReaderBench | bench_read_values_all_columns   | 1    | 3   | 9.105mb -0.06%   | 5.643s -28.14%    | ±0.76% -2.53%   |
| ParquetReaderBench | bench_read_values_single_column | 1    | 3   | 6.402mb -0.08%   | 232.530ms -49.33% | ±0.38% -18.47%  |
| ParquetReaderBench | bench_read_values_with_limit    | 1    | 3   | 6.932mb -0.26%   | 28.847ms -13.50%  | ±0.40% -32.63%  |
| ParquetWriterBench | bench_write_batch               | 1    | 3   | 11.722mb -14.33% | 193.470ms -12.74% | ±0.65% +183.86% |
| ParquetWriterBench | bench_write_gzip                | 1    | 3   | 10.347mb +0.15%  | 220.857ms +1.17%  | ±0.17% -72.08%  |
| ParquetWriterBench | bench_write_row_by_row          | 1    | 3   | 11.722mb -14.33% | 191.978ms -13.56% | ±0.58% +148.69% |
| ParquetWriterBench | bench_write_snappy              | 1    | 3   | 11.722mb -14.33% | 192.467ms -13.26% | ±0.21% -57.56%  |
| ParquetWriterBench | bench_write_uncompressed        | 1    | 3   | 10.023mb +0.15%  | 190.390ms -0.79%  | ±1.05% +48.99%  |
+--------------------+---------------------------------+------+-----+------------------+-------------------+-----------------+

@norberttech norberttech enabled auto-merge (squash) July 22, 2025 10:27
@norberttech norberttech merged commit 9cd72c0 into 1.x Jul 22, 2025
19 checks passed
@norberttech norberttech deleted the 1316-integration-with-symfonystring-for-better-strings-manipulation branch July 22, 2025 10:35
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.

Integration with symfony/string for better strings manipulation

2 participants