Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Renamed is_nullable() into type_is_nullable()

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented May 19, 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.775mb +0.01%  | 597.337ms -0.81% | ±0.66% +106.77% |
| ExcelExtractorBench   | bench_extract_10k | 1    | 3   | 75.288mb +0.00% | 1.526s +0.10%    | ±0.73% -49.88%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.018mb +0.01%  | 1.267s -2.03%    | ±1.21% +92.54%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.321mb +0.00% | 925.784ms +1.26% | ±0.58% +183.39% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.499mb +0.01%  | 38.491ms -0.56%  | ±0.84% +449.46% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.494mb +0.01%  | 605.529ms +0.72% | ±0.69% +52.63%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                       | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench     | bench_transform_10k_rows | 1    | 3   | 123.236mb +0.00% | 68.054ms +1.15% | ±1.92% +20.14% |
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 18.498mb +0.00%  | 73.792ms +1.22% | ±0.90% +91.03% |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+-----------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode            | rstdev          |
+--------------------+----------------+------+-----+------------------+-----------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 62.435mb +0.00%  | 87.597ms +3.84% | ±1.52% +22.49%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 79.706mb +0.00%  | 98.908ms +3.65% | ±2.20% +697.08% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 165.387mb +0.00% | 21.180s +1.96%  | ±0.18% -56.85%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.805mb +0.00%  | 32.052ms +2.03% | ±0.89% +57.46%  |
+--------------------+----------------+------+-----+------------------+-----------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 101.784mb +0.00% | 648.381ms -0.04% | ±0.67% +29.81%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 53.134mb +0.00%  | 327.993ms -0.64% | ±0.64% -46.03%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.384mb +0.00%  | 68.968ms +1.21%  | ±1.55% -13.86%   |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 93.389mb +0.00%  | 4.133ms +23.50%  | ±3.31% -9.27%    |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 110.758mb +0.00% | 240.714ms +1.00% | ±1.03% -49.92%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 93.478mb +0.00%  | 24.351ms +3.22%  | ±0.06% -86.38%   |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 94.264mb +0.00%  | 1.833ms +41.68%  | ±2.19% +6.52%    |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 94.264mb +0.00%  | 1.893ms +30.22%  | ±1.79% -37.78%   |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 92.424mb +0.00%  | 3.951ms +19.25%  | ±2.89% +77.93%   |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 92.953mb +0.00%  | 16.429ms +5.21%  | ±1.45% -23.88%   |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 92.953mb +0.00%  | 16.111ms +5.41%  | ±2.86% +162.51%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 91.642mb +0.00%  | 2.000μs +4.93%   | ±0.00% -100.00%  |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 91.642mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 100.703mb +0.00% | 15.052ms +0.89%  | ±1.63% -23.74%   |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 130.130mb +0.00% | 69.804ms +3.46%  | ±1.29% -49.73%   |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 93.473mb +0.00%  | 1.659ms +4.37%   | ±2.29% -29.93%   |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 96.841mb +0.00%  | 63.210ms -3.43%  | ±0.83% -53.37%   |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 94.526mb +0.00%  | 4.127ms +10.73%  | ±2.16% +3.57%    |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 92.003mb +0.00%  | 44.181ms +10.84% | ±3.69% +1359.85% |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 92.004mb +0.00%  | 40.864ms +1.25%  | ±0.50% -33.23%   |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 92.003mb +0.00%  | 40.424ms -0.45%  | ±1.61% +85.37%   |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 94.085mb +0.00%  | 8.258ms +2.79%   | ±1.05% +28.57%   |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 91.835mb +0.00%  | 31.509ms +6.25%  | ±1.46% +233.09%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 91.642mb +0.00%  | 15.252μs -4.15%  | ±3.46% +108.13%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 91.642mb +0.00%  | 18.396μs +0.52%  | ±2.22% +24.23%   |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 110.759mb +0.00% | 242.839ms +1.52% | ±0.52% -6.32%    |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 42.070mb +0.00%  | 423.599ms -1.09% | ±0.68% -19.71%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.448mb +0.00%  | 85.441ms -0.73%  | ±0.41% -54.79%   |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+

@codecov
Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.04%. Comparing base (2e6b89b) to head (e95b155).
Report is 4 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1660   +/-   ##
=======================================
  Coverage   82.04%   82.04%           
=======================================
  Files         703      703           
  Lines       19068    19068           
=======================================
  Hits        15644    15644           
  Misses       3424     3424           
Components Coverage Δ
etl 88.27% <ø> (ø)
cli 84.42% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 90.11% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-parquet 84.37% <ø> (ø)
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.69% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 80.00% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.62% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 78.42% <ø> (ø)
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 b48198c into 1.x May 19, 2025
23 checks passed
@norberttech norberttech deleted the 1657-new-types-positive_integer-and-non_empty_string-01 branch May 19, 2025 11:38
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