Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • coalesce scalar function

Fixed

Changed

Removed

Deprecated

Security


Description

@norberttech norberttech force-pushed the feature/coalesce-function branch from 7cd8ee5 to d6f6f77 Compare December 9, 2024 18:49
@github-actions github-actions bot added size: S and removed size: XS labels Dec 9, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2024

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.642mb +0.05%   | 516.585ms -0.97% | ±0.17% -91.86%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.740mb +0.05%   | 1.098s +1.34%    | ±0.57% +185.96% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 102.374mb +0.00% | 970.092ms +1.79% | ±0.50% -53.11%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.369mb +0.05%   | 33.144ms -0.99%  | ±0.05% -87.39%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.350mb +0.05%   | 684.049ms +4.47% | ±1.47% +233.62% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.646mb +0.00% | 63.197ms +5.60% | ±1.61% -0.18% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.839mb +0.00%  | 144.308ms +5.52% | ±0.96% -62.15% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.475mb +0.00%  | 121.602ms +5.08% | ±1.18% -17.84% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 255.245mb +0.00% | 22.475s +5.37%   | ±0.05% -58.27% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.560mb +0.01%  | 44.235ms +1.67%  | ±0.45% -42.69% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.394mb +0.00%  | 3.903ms +15.81%  | ±0.85% -66.37%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.997mb +0.00% | 188.182ms -1.39% | ±2.97% +359.81% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.717mb +0.00%  | 19.023ms +2.32%  | ±1.98% +37.92%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.634mb +0.00%  | 2.450ms +28.74%  | ±1.08% -50.19%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.634mb +0.00%  | 2.351ms +30.35%  | ±3.25% +88.22%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.746mb +0.00%  | 3.213ms +10.81%  | ±2.30% +38.19%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.275mb +0.00%  | 15.240ms +4.68%  | ±0.90% -36.93%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.275mb +0.00%  | 15.692ms +5.93%  | ±1.56% +194.39% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.178mb +0.00%  | 1.994μs +17.71%  | ±2.40% -15.25%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.178mb +0.00%  | 0.500μs +25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.529mb +0.00%  | 14.713ms +17.26% | ±1.68% +89.03%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.900mb +0.00% | 66.581ms +7.83%  | ±0.34% -61.40%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.794mb +0.00%  | 1.826ms +25.37%  | ±1.23% -19.89%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.146mb +0.00%  | 67.405ms +9.64%  | ±1.42% -30.61%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.896mb +0.00%  | 4.863ms +16.05%  | ±2.87% +577.61% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.328mb +0.00%  | 40.675ms +2.87%  | ±1.25% +249.67% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.328mb +0.00%  | 42.376ms +6.18%  | ±0.95% -48.99%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.328mb +0.00%  | 40.602ms +1.36%  | ±1.56% +53.45%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.620mb +0.00%  | 7.546ms +2.08%   | ±1.50% -2.63%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.178mb +0.00%  | 30.028ms +3.04%  | ±1.01% +133.76% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.178mb +0.00%  | 13.738μs +1.85%  | ±2.69% +283.54% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.178mb +0.00%  | 16.394μs +4.42%  | ±0.29% -72.31%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.998mb +0.00% | 192.416ms +2.03% | ±0.78% +325.58% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.218mb +0.00%  | 398.325ms +0.71% | ±2.21% +203.28% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.484mb +0.02%  | 81.396ms -0.99%  | ±0.71% -57.65%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.484mb +0.00% | 479.684ms +2.17% | ±0.19% -76.49%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.842mb +0.00%  | 245.155ms +3.97% | ±1.87% +77.31%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.680mb +0.01%  | 54.016ms +4.13%  | ±1.30% +166.76% |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 7bc7779 into flow-php:1.x Dec 9, 2024
32 checks passed
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