Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • greatest scalar function
  • least scalar function

Fixed

Changed

Removed

Deprecated

Security


Description

@codecov
Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.51%. Comparing base (9bdf060) to head (a1181a7).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1320      +/-   ##
==========================================
+ Coverage   82.45%   82.51%   +0.05%     
==========================================
  Files         638      640       +2     
  Lines       17322    17350      +28     
==========================================
+ Hits        14283    14316      +33     
+ Misses       3039     3034       -5     
Components Coverage Δ
etl 85.67% <100.00%> (+0.12%) ⬆️
cli 85.17% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.60% <ø> (ø)
lib-doctrine-dbal-bulk 97.36% <ø> (ø)
lib-filesystem 76.24% <ø> (ø)
lib-parquet 84.16% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-rdsl 87.09% <ø> (ø)
lib-snappy 91.24% <ø> (ø)
bridge-filesystem-async-aws 90.60% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 96.38% <ø> (ø)
symfony-http-foundation 77.10% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.57% <ø> (ø)
adapter-doctrine 90.14% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 92.85% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.80% <ø> (ø)
adapter-parquet 63.46% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.02% <ø> (ø)

@github-actions
Copy link
Contributor

github-actions bot commented Jan 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.717mb +0.08%  | 521.695ms +0.03% | ±0.35% +0.77%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.820mb +0.08%  | 1.109s -0.54%    | ±1.74% +441.32% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.465mb +0.00% | 907.927ms -0.26% | ±1.53% +88.49%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.449mb +0.08%  | 33.842ms +0.85%  | ±0.24% -63.15%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.426mb +0.08%  | 663.222ms -0.09% | ±0.43% -55.16%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 114.446mb +0.00% | 61.677ms +0.39% | ±0.53% +23.27% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 55.189mb +0.01%  | 114.564ms +1.43% | ±1.90% +2.80%   |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 85.657mb +0.00%  | 102.082ms -0.59% | ±0.88% +70.37%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 167.440mb +0.00% | 19.268s +0.07%   | ±2.68% +738.33% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.274mb +0.02%  | 44.759ms +1.25%  | ±0.69% +3.83%   |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 85.503mb +0.00%  | 3.268ms +6.05%   | ±1.64% +3.93%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.773mb +0.00% | 185.231ms -1.57% | ±0.30% -77.58%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.493mb +0.00%  | 18.915ms +1.81%  | ±0.17% -85.77%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 86.378mb +0.00%  | 1.504ms +7.06%   | ±3.08% +105.87% |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 86.378mb +0.00%  | 1.563ms +12.47%  | ±2.28% +116.83% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 84.539mb +0.00%  | 2.322ms -5.49%   | ±2.86% -23.36%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.068mb +0.00%  | 15.207ms +2.41%  | ±0.78% -12.85%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.068mb +0.00%  | 15.239ms +1.83%  | ±1.87% +327.61% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.759mb +0.00%  | 1.894μs +11.01%  | ±2.53% -7.14%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.759mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 92.337mb +0.00%  | 12.890ms +0.77%  | ±0.76% +95.86%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 120.644mb +0.00% | 61.241ms +1.59%  | ±0.90% +180.61% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 85.588mb +0.00%  | 1.282ms +8.03%   | ±0.19% -85.71%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 88.876mb +0.00%  | 60.142ms +0.22%  | ±1.99% -9.29%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 86.640mb +0.00%  | 3.756ms +6.50%   | ±0.39% -51.48%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.034mb +0.00%  | 41.034ms +0.57%  | ±1.48% +256.15% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.035mb +0.00%  | 40.309ms -0.61%  | ±0.44% -31.79%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.034mb +0.00%  | 40.752ms -0.81%  | ±0.65% -46.04%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.200mb +0.00%  | 7.662ms +1.47%   | ±0.18% -75.28%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.949mb +0.00%  | 30.091ms +1.44%  | ±1.04% +110.46% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.759mb +0.00%  | 13.080μs +0.33%  | ±1.29% -39.76%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.759mb +0.00%  | 15.166μs -0.21%  | ±1.35% -41.63%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.778mb +0.00% | 190.559ms -0.84% | ±0.13% -77.93%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 50.658mb +0.01%  | 401.948ms +0.78% | ±1.14% +56.57%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.073mb +0.03%  | 80.991ms -1.43%  | ±0.98% -3.76%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.915mb +0.00% | 483.488ms -0.38% | ±0.99% +29.28%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.106mb +0.01%  | 247.730ms +0.54% | ±0.88% -20.33%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.628mb +0.02%  | 53.123ms +0.76%  | ±3.48% +252.85% |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 9f418b6 into flow-php:1.x Jan 3, 2025
23 checks passed
@norberttech
Copy link
Member Author

Resolves: #1319

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.

1 participant