Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Allow to pass options to cast scalar function

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Apr 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.878mb +0.01%  | 614.683ms -0.19% | ±1.67% +148.72% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.375mb +1.67%  | 1.341s +0.90%    | ±0.70% -45.54%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.475mb +0.00% | 939.842ms +1.10% | ±0.32% -6.54%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.602mb +0.01%  | 38.911ms +0.08%  | ±1.22% -18.71%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.576mb +0.01%  | 611.741ms +1.18% | ±0.77% -25.35%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.399mb +0.00% | 71.001ms +0.29% | ±2.27% +43.59% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.045mb +0.00%  | 106.485ms +1.55% | ±1.47% +197.79% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.077mb +0.00%  | 100.501ms +3.02% | ±1.13% +144.14% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.559mb +0.00% | 20.898s +0.23%   | ±0.08% -73.04%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.134mb +0.00%  | 31.341ms -0.14%  | ±0.26% -31.62%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 44.043mb +0.00%  | 460.955ms +0.13% | ±0.58% -32.16%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.853mb +0.00%  | 94.417ms +0.81%  | ±0.03% -93.62%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.508mb +0.00% | 738.785ms +2.21% | ±0.93% +86.45%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.019mb +0.00%  | 365.339ms +0.58% | ±0.69% +43.15%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.797mb +0.00%  | 78.453ms +1.20%  | ±1.06% +188.89% |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.062mb +0.00%  | 3.469ms +0.12%   | ±3.45% +1.52%   |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.418mb +0.00% | 183.781ms +2.24% | ±0.60% +31.20%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.138mb +0.00%  | 18.585ms +2.29%  | ±1.15% +129.67% |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.937mb +0.00%  | 1.913ms +3.66%   | ±2.65% +18.83%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.937mb +0.00%  | 1.619ms -20.70%  | ±3.41% +59.06%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.097mb +0.00%  | 4.850ms +1.39%   | ±0.97% -59.15%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.626mb +0.00%  | 18.365ms +13.51% | ±1.23% +201.49% |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.626mb +0.00%  | 18.403ms +12.46% | ±0.98% +29.17%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.318mb +0.00%  | 1.900μs +5.20%   | ±0.00% -100.00% |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.318mb +0.00%  | 0.500μs +25.00%  | ±0.00% -100.00% |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.536mb +0.00% | 16.007ms +8.35%  | ±2.95% +310.50% |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.603mb +0.00% | 76.636ms +5.97%  | ±1.61% +14.86%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.146mb +0.00%  | 1.775ms +12.68%  | ±2.73% -24.10%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.517mb +0.00% | 64.815ms +2.37%  | ±1.46% +839.97% |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.199mb +0.00%  | 4.070ms -1.64%   | ±2.58% +107.95% |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.680mb +0.00%  | 43.570ms +8.76%  | ±1.71% +135.37% |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.680mb +0.00%  | 41.599ms +1.17%  | ±3.20% +531.64% |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.680mb +0.00%  | 41.736ms +4.79%  | ±2.09% +142.98% |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.758mb +0.00%  | 8.270ms +0.56%   | ±0.18% -84.61%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.508mb +0.00%  | 32.088ms +9.38%  | ±2.30% +36.67%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.318mb +0.00%  | 14.594μs +2.78%  | ±0.32% -85.93%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.318mb +0.00%  | 17.278μs +7.58%  | ±3.20% +80.28%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.419mb +0.00% | 186.711ms +1.32% | ±0.20% -87.74%  |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@github-actions github-actions bot added size: S and removed size: XS labels Apr 9, 2025
@codecov
Copy link

codecov bot commented Apr 9, 2025

Codecov Report

Attention: Patch coverage is 92.30769% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.16%. Comparing base (b7d9039) to head (c6714ae).
Report is 3 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1588      +/-   ##
==========================================
+ Coverage   83.14%   83.16%   +0.01%     
==========================================
  Files         702      702              
  Lines       18980    18981       +1     
==========================================
+ Hits        15781    15785       +4     
+ Misses       3199     3196       -3     
Components Coverage Δ
etl 86.24% <92.30%> (+0.03%) ⬆️
cli 84.59% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 90.11% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-parquet 84.36% <ø> (ø)
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 513a43c into 1.x Apr 9, 2025
23 checks passed
@norberttech norberttech deleted the feature/cast-function-options branch April 9, 2025 16:39
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