Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Updated dependencies

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 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.533mb +0.09%  | 511.165ms -0.00% | ±0.03% -84.49% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.598mb +0.09%  | 1.068s -0.71%    | ±0.41% -54.50% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 29.104mb +0.01% | 441.661ms +1.10% | ±0.96% +62.33% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.290mb +0.09%  | 33.834ms -0.38%  | ±1.14% +11.60% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.280mb +0.09%  | 752.148ms -0.40% | ±0.39% -81.41% |
+-----------------------+-------------------+------+-----+-----------------+------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.566mb +0.00% | 60.477ms -0.32% | ±0.44% -41.72% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+------------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev           |
+--------------------+----------------+------+-----+------------------+------------------+------------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.731mb +0.01%  | 142.208ms +0.86% | ±0.47% +1462.05% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.340mb +0.00%  | 115.724ms -2.11% | ±1.70% +223.70%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 124.459mb +0.00% | 1.234s -0.64%    | ±0.22% +29.48%   |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.481mb +0.02%  | 44.850ms +0.67%  | ±0.97% +543.56%  |
+--------------------+----------------+------+-----+------------------+------------------+------------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.409mb +0.00% | 467.070ms -0.52% | ±0.26% -27.17%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.767mb +0.01%  | 235.565ms -0.55% | ±0.59% -72.07%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.605mb +0.03%  | 51.224ms -1.54%  | ±0.93% -63.26%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.322mb +0.00%  | 3.676ms +3.16%   | ±1.47% +77.64%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.926mb +0.00% | 192.172ms +0.79% | ±1.08% +233.75% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.646mb +0.00%  | 19.224ms +0.37%  | ±0.73% +53.72%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.562mb +0.00%  | 1.957ms +5.18%   | ±2.84% -10.74%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.562mb +0.00%  | 1.969ms -3.37%   | ±1.94% -39.24%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.674mb +0.00%  | 2.942ms -0.90%   | ±3.44% +220.74% |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.203mb +0.00%  | 20.519ms +33.26% | ±2.98% +243.20% |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.203mb +0.00%  | 19.899ms +30.19% | ±2.47% +225.08% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.107mb +0.00%  | 1.794μs +5.15%   | ±2.67% -1.89%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.107mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.457mb +0.00%  | 12.964ms +1.91%  | ±1.81% +87.05%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.828mb +0.00% | 62.099ms +0.50%  | ±0.85% +30.34%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.723mb +0.00%  | 1.677ms -4.82%   | ±2.51% +13.91%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.079mb +0.00%  | 65.106ms -0.05%  | ±0.58% +669.40% |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.824mb +0.00%  | 4.665ms +3.54%   | ±0.17% -94.80%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.257mb +0.00%  | 38.937ms -1.81%  | ±0.90% +5.19%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.257mb +0.00%  | 39.107ms -1.21%  | ±2.75% +55.50%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.257mb +0.00%  | 39.460ms -4.89%  | ±1.61% -12.90%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.548mb +0.00%  | 7.392ms -0.50%   | ±0.43% -54.15%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.107mb +0.00%  | 28.629ms -0.83%  | ±1.29% +22.91%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.107mb +0.00%  | 13.760μs -4.67%  | ±2.07% -31.87%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.107mb +0.00%  | 17.653μs +5.97%  | ±3.47% +133.39% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.927mb +0.00% | 193.932ms -0.31% | ±1.16% +88.65%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.212mb +0.01%  | 385.907ms -7.39% | ±0.77% -69.79%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.478mb +0.03%  | 79.941ms +0.42%  | ±3.48% +9.23%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 2aa6bd2 into flow-php:1.x Sep 5, 2024
@norberttech norberttech deleted the chores/dependencies-2024-09-05 branch December 5, 2024 20:18
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