Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Exclude certain methods from being executed through rdsl access control configuration

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 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.130mb +0.00%  | 695.123ms -1.77% | ±0.67% -38.15%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.829mb +0.02%   | 302.945ms +0.37% | ±0.76% +559.42% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.927mb +0.02%   | 927.432ms +0.01% | ±2.05% +293.61% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.633mb +0.00% | 1.099s -0.27%    | ±0.13% -77.76%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.706mb +0.02%   | 24.950ms +2.49%  | ±1.02% -17.88%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.708mb +0.02%   | 410.221ms +0.62% | ±0.60% +11.51%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.392mb +0.00% | 63.624ms +1.52% | ±1.38% -12.36% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.791mb +0.00%  | 460.249ms +3.55% | ±3.23% +37.80% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.869mb +0.00%  | 71.456ms +1.38%  | ±1.62% -4.23%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.452mb +0.00% | 54.161ms -0.19%  | ±1.81% -24.42% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.661mb +0.00% | 1.287s +3.42%    | ±1.34% -39.05% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.746mb +0.01%  | 42.176ms +3.31%  | ±0.67% -14.41% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.443mb +0.00%  | 2.681ms +0.69%   | ±0.66% -26.52%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.236mb +0.00%  | 184.503ms +1.98% | ±0.40% +71.26%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.761mb +0.00%  | 18.549ms +1.00%  | ±0.50% +223.68% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.683mb +0.00%  | 1.663ms -0.37%   | ±1.40% +87.05%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.683mb +0.00%  | 1.645ms -2.59%   | ±0.82% +45.33%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.795mb +0.00%  | 2.584ms +0.16%   | ±2.90% +40.30%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.324mb +0.00%  | 15.565ms +9.73%  | ±1.29% +12.23%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.324mb +0.00%  | 15.211ms +9.06%  | ±2.12% +191.42% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.226mb +0.00%  | 1.800μs +0.34%   | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.226mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.783mb +0.00%  | 12.509ms -1.70%  | ±1.45% -30.12%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.143mb +0.00% | 62.365ms +0.19%  | ±1.22% +11.52%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.844mb +0.00%  | 1.746ms -3.31%   | ±1.86% +90.36%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 78.117mb +0.00%  | 33.729ms -5.69%  | ±1.28% +32.29%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.945mb +0.00%  | 3.779ms -2.05%   | ±0.88% -4.82%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.372mb +0.00%  | 40.533ms +3.04%  | ±1.00% -25.33%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.372mb +0.00%  | 40.336ms +1.83%  | ±1.01% -15.65%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.372mb +0.00%  | 41.133ms +5.00%  | ±2.54% +432.84% |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.669mb +0.00%  | 7.364ms +0.79%   | ±1.87% +78.54%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.226mb +0.00%  | 29.191ms +1.14%  | ±1.11% -25.81%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.226mb +0.00%  | 13.112μs +1.60%  | ±0.72% +96.46%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.226mb +0.00%  | 15.606μs +0.68%  | ±0.30% -42.76%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.237mb +0.00%  | 184.532ms +1.05% | ±0.81% +159.76% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.387mb +0.00%  | 327.890ms -1.86% | ±1.92% +551.24% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.310mb +0.01%  | 64.806ms -1.09%  | ±1.93% -2.81%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.985mb +0.00% | 376.824ms -1.49% | ±1.96% +87.09%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.704mb +0.00%  | 188.670ms +1.42% | ±0.86% -72.79%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.828mb +0.01%  | 39.920ms +0.74%  | ±1.09% -21.21%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 6679ffc into flow-php:1.x Dec 8, 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