Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • between scalar function

Fixed

Changed

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Dec 28, 2023

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           |
+-----------------------+-------------------+------+-----+------------------+------------------+------------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 35.159mb -0.02%  | 755.939ms +0.32% | ±0.87% +157.17%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.801mb +0.05%   | 368.366ms +7.37% | ±3.69% +2069.16% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.899mb +0.05%   | 978.592ms -0.79% | ±0.90% -2.33%    |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.605mb +0.00% | 1.145s +0.72%    | ±0.23% -76.89%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.668mb +0.05%   | 57.394ms +0.60%  | ±0.47% -56.20%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.669mb +0.05%   | 471.422ms +1.33% | ±0.34% -70.64%   |
+-----------------------+-------------------+------+-----+------------------+------------------+------------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.391mb +0.00% | 63.700ms +0.42% | ±0.52% +91.39% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.763mb +0.00%  | 444.510ms -2.25% | ±2.50% +222.06% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.841mb +0.00%  | 73.166ms -0.71%  | ±0.36% -46.46%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.357mb +0.00% | 58.362ms +3.39%  | ±0.65% -42.49%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.567mb +0.00% | 1.273s +2.77%    | ±0.55% +103.34% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.718mb +0.01%  | 41.117ms -0.43%  | ±0.15% -87.98%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.011mb +0.00% | 396.128ms +0.90% | ±0.97% +86.33%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.729mb +0.00%  | 196.261ms -0.44% | ±1.84% +87.20%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.854mb +0.02%  | 41.346ms -1.38%  | ±1.70% +135.41% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.402mb +0.00%  | 334.660ms +2.59% | ±0.82% -7.40%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.325mb +0.02%  | 66.899ms +2.82%  | ±1.19% +134.63% |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.468mb +0.00%  | 4.072ms +8.73%   | ±3.16% +126.08% |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.260mb +0.00%  | 180.508ms +0.10% | ±1.53% +215.83% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.786mb +0.00%  | 18.036ms +1.10%  | ±0.41% -29.57%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.708mb +0.00%  | 1.780ms +8.07%   | ±2.29% +35.45%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.708mb +0.00%  | 1.846ms +13.03%  | ±3.05% +207.41% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.820mb +0.00%  | 2.812ms +10.95%  | ±1.85% +90.82%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.349mb +0.00%  | 15.001ms +5.15%  | ±2.27% +256.49% |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.349mb +0.00%  | 14.950ms +3.81%  | ±2.52% +570.58% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.252mb +0.00%  | 1.894μs +11.01%  | ±2.53% -7.14%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.252mb +0.00%  | 0.300μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.875mb +0.00%  | 13.060ms +0.58%  | ±0.23% -72.63%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.168mb +0.00% | 65.239ms +5.05%  | ±1.14% -28.01%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.869mb +0.00%  | 1.585ms +30.74%  | ±3.46% +302.73% |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 78.142mb +0.00%  | 38.474ms +4.26%  | ±2.17% +223.68% |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.970mb +0.00%  | 4.308ms +13.62%  | ±2.39% +260.47% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.397mb +0.00%  | 40.479ms +0.33%  | ±0.35% +22.18%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.398mb +0.00%  | 41.058ms -3.58%  | ±2.24% -10.14%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.397mb +0.00%  | 41.198ms +0.70%  | ±0.25% -72.55%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.695mb +0.00%  | 7.467ms +1.16%   | ±0.41% -86.26%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.252mb +0.00%  | 29.247ms -0.74%  | ±1.92% +36.52%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.252mb +0.00%  | 13.721μs +3.07%  | ±0.91% +29.38%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.252mb +0.00%  | 16.366μs +2.29%  | ±1.25% +22.51%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.262mb +0.00%  | 184.204ms +1.19% | ±0.56% +8.12%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 34fcf22 into flow-php:1.x Dec 28, 2023
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