Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Updated dependencies

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

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.279mb +0.00%  | 820.194ms +0.35% | ±0.24% -2.27%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 5.002mb +0.01%   | 342.935ms +0.44% | ±0.21% +16.10% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.152mb +0.01%   | 1.051s +0.63%    | ±0.92% -16.12% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 135.823mb +0.00% | 902.377ms -0.39% | ±0.95% -65.42% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.909mb +0.01%   | 35.588ms -0.02%  | ±0.62% -17.32% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.915mb +0.01%   | 439.302ms +3.21% | ±1.78% +79.63% |
+-----------------------+-------------------+------+-----+------------------+------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.615mb +0.00% | 65.394ms -1.60% | ±0.98% -53.26% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 95.659mb +0.00%  | 471.115ms +0.93% | ±1.03% -18.98%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.141mb +0.00%  | 73.189ms +3.68%  | ±1.21% +222.31% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 106.566mb +0.00% | 53.791ms +3.39%  | ±0.59% -13.34%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 224.386mb +0.00% | 1.430s +0.46%    | ±0.46% -67.52%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.956mb +0.00%  | 40.679ms +3.05%  | ±0.44% +12.56%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.682mb +0.00%  | 3.660ms -0.62%   | ±1.61% +21.56%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.409mb +0.00%  | 182.770ms -2.78% | ±2.38% +633.42%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.935mb +0.00%  | 18.252ms -2.15%  | ±3.38% +1583.09% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.922mb +0.00%  | 1.929ms +8.21%   | ±1.24% -55.68%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.922mb +0.00%  | 1.837ms +3.66%   | ±3.48% +1.58%    |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 75.034mb +0.00%  | 2.827ms -0.59%   | ±3.31% +28.52%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.563mb +0.00%  | 15.728ms -3.75%  | ±3.81% +909.93%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.563mb +0.00%  | 15.101ms -7.48%  | ±0.89% -60.47%   |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.467mb +0.00%  | 1.906μs 0.00%    | ±2.44% 0.00%     |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.467mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 87.022mb +0.00%  | 13.173ms -8.17%  | ±1.36% +10.05%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.382mb +0.00% | 67.150ms -1.71%  | ±0.93% +1096.27% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 76.083mb +0.00%  | 1.674ms +22.44%  | ±1.72% -9.69%    |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 79.430mb +0.00%  | 60.234ms -2.29%  | ±0.41% -34.58%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 78.184mb +0.00%  | 4.047ms -1.95%   | ±3.14% -1.80%    |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.545mb +0.00%  | 41.673ms +0.73%  | ±1.07% -32.75%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.546mb +0.00%  | 41.907ms -0.00%  | ±0.68% -76.88%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.545mb +0.00%  | 41.571ms +0.05%  | ±0.77% -36.85%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.909mb +0.00%  | 7.337ms -3.15%   | ±1.00% -28.22%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.467mb +0.00%  | 28.941ms -0.63%  | ±0.59% -56.67%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.467mb +0.00%  | 14.210μs +4.44%  | ±3.72% +975.31%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.467mb +0.00%  | 18.400μs +12.19% | ±0.44% +0.00%    |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.476mb +0.00%  | 189.490ms -0.88% | ±0.20% -70.98%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.714mb +0.00% | 504.696ms -0.07% | ±0.59% -28.12%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 60.192mb +0.00%  | 251.780ms +2.22% | ±1.34% +14.37%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 15.127mb +0.00%  | 52.915ms -2.34%  | ±0.84% +10.81%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.958mb +0.00%  | 434.815ms -0.61% | ±1.11% +26.85%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.497mb +0.00%  | 85.763ms -1.76%  | ±0.33% -81.51%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 4edd24c into flow-php:1.x Mar 18, 2024
@norberttech norberttech deleted the bug/bump-dependencies branch May 9, 2024 08:55
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