Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • definition of list_entry function in dsl

Changed

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented May 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          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 35.422mb +0.00%  | 834.705ms +2.36% | ±0.62% +2.56%   |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 5.142mb +0.00%   | 336.750ms -0.08% | ±0.58% +155.52% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.173mb +0.00%   | 1.093s +1.91%    | ±0.95% +39.83%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 135.845mb +0.00% | 922.584ms +0.91% | ±0.24% -8.14%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.933mb +0.00%   | 36.690ms +2.08%  | ±1.40% +172.28% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.939mb +0.00%   | 429.481ms -0.77% | ±0.97% +646.26% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.239mb +0.00% | 60.567ms +0.72% | ±1.03% +453.66% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 96.807mb +0.00%  | 458.041ms +1.98% | ±0.76% +23.03% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 55.220mb +0.00%  | 69.927ms +2.77%  | ±0.74% +99.80% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 107.593mb +0.00% | 53.304ms +3.71%  | ±0.85% +33.77% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 227.013mb +0.00% | 1.424s +1.10%    | ±0.53% -49.66% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.976mb +0.00%  | 38.437ms -0.05%  | ±0.19% -82.78% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.059mb +0.00%  | 3.426ms +1.24%   | ±0.60% -62.23%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.657mb +0.00% | 183.525ms -2.07% | ±0.51% -58.56%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.377mb +0.00%  | 18.427ms -1.42%  | ±0.88% -14.68%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.299mb +0.00%  | 1.866ms +6.70%   | ±1.54% -30.75%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.299mb +0.00%  | 1.794ms -1.39%   | ±0.89% -56.54%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.411mb +0.00%  | 2.685ms -4.59%   | ±0.99% -25.35%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.940mb +0.00%  | 16.138ms +0.30%  | ±1.57% +22.85%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.940mb +0.00%  | 16.313ms +1.95%  | ±2.03% +7168.13% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.845mb +0.00%  | 1.794μs 0.00%    | ±2.67% 0.00%     |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.845mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00%  |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.194mb +0.00%  | 12.394ms -0.05%  | ±1.08% -25.69%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.565mb +0.00% | 62.305ms +0.20%  | ±0.43% +92.76%   |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.460mb +0.00%  | 1.419ms -16.12%  | ±2.78% -14.24%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 89.807mb +0.00%  | 64.785ms -0.59%  | ±0.10% -94.54%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.561mb +0.00%  | 3.968ms -0.13%   | ±0.21% -85.38%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 83.988mb +0.00%  | 39.532ms +1.19%  | ±2.03% +188.50%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 83.989mb +0.00%  | 38.624ms -0.99%  | ±1.42% -23.14%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 83.988mb +0.00%  | 39.056ms -0.11%  | ±1.42% +93.30%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.286mb +0.00%  | 7.423ms +0.79%   | ±0.42% -40.38%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.845mb +0.00%  | 28.616ms +0.04%  | ±0.23% -69.24%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.845mb +0.00%  | 13.521μs -1.45%  | ±0.93% -25.71%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.845mb +0.00%  | 15.779μs -1.38%  | ±0.79% +54.36%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.659mb +0.00% | 188.011ms -1.39% | ±0.99% +310.95%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.789mb +0.00% | 503.548ms +1.24% | ±1.77% -32.11%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 60.267mb +0.00%  | 251.523ms -1.07% | ±0.41% -78.01%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 15.201mb +0.00%  | 53.812ms +2.90%  | ±2.25% +158.75%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.975mb +0.00%  | 431.135ms +0.35% | ±0.71% -74.05%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.514mb +0.00%  | 86.521ms -6.13%  | ±3.30% +662.00%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 0332b37 into flow-php:1.x May 9, 2024
@norberttech norberttech deleted the bug/entry-dsl branch December 5, 2024 20:19
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