Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Update dependencies

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 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.279mb +0.00%  | 811.206ms -0.83% | ±0.31% -71.76%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 5.002mb +0.00%   | 341.319ms -0.49% | ±0.18% -55.68%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.152mb +0.00%   | 1.047s -0.69%    | ±0.34% -86.60%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 135.823mb +0.00% | 901.821ms -0.19% | ±0.56% -73.35%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.909mb +0.00%   | 35.209ms +0.36%  | ±1.13% +270.21% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.915mb +0.00%   | 434.470ms +1.38% | ±0.90% +23.17%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.616mb +0.00% | 63.610ms -2.31% | ±0.28% -40.95% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 95.659mb +0.00%  | 463.154ms +1.40% | ±1.10% +532.10% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.141mb +0.00%  | 71.005ms -0.12%  | ±1.52% +101.23% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 106.567mb +0.00% | 53.129ms +0.12%  | ±1.58% +10.07%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 224.386mb +0.00% | 1.424s +0.72%    | ±0.41% +35.95%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.957mb +0.00%  | 39.455ms +0.11%  | ±1.54% +944.18% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.958mb +0.00%  | 435.658ms +0.62% | ±0.58% +95.55%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.497mb +0.00%  | 88.588ms +1.83%  | ±1.26% +45.99%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.714mb +0.00% | 492.660ms -2.40% | ±0.68% -64.50%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 60.192mb +0.00%  | 250.675ms +0.70% | ±1.51% +831.54% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 15.127mb +0.00%  | 53.719ms -0.69%  | ±1.28% -58.58%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.682mb +0.00%  | 3.844ms +15.25%  | ±2.70% +102.00% |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.409mb +0.00%  | 181.607ms -0.42% | ±0.41% -37.81%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.935mb +0.00%  | 18.087ms -2.92%  | ±0.72% -56.37%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.922mb +0.00%  | 2.094ms +15.09%  | ±2.38% -25.45%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.922mb +0.00%  | 1.808ms +12.00%  | ±2.96% -21.53%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 75.034mb +0.00%  | 2.961ms +7.15%   | ±0.85% +21.41%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.563mb +0.00%  | 14.796ms -0.80%  | ±1.17% -49.63%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.563mb +0.00%  | 14.834ms -3.19%  | ±1.20% -48.76%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.468mb +0.00%  | 2.000μs +11.49%  | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.468mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 87.022mb +0.00%  | 14.587ms +13.36% | ±2.45% +64.01%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.383mb +0.00% | 68.239ms +1.17%  | ±1.20% -36.89%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 76.083mb +0.00%  | 1.678ms +5.33%   | ±2.33% -32.73%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 79.430mb +0.00%  | 58.081ms -1.42%  | ±0.60% -45.87%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 78.184mb +0.00%  | 4.284ms +4.00%   | ±2.01% +81.25%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.545mb +0.00%  | 41.345ms +1.66%  | ±1.49% +49.86%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.546mb +0.00%  | 40.794ms -0.03%  | ±1.68% +76.21%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.545mb +0.00%  | 41.211ms +0.66%  | ±1.01% -60.39%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.909mb +0.00%  | 7.391ms -2.42%   | ±1.15% +4.62%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.468mb +0.00%  | 29.881ms +4.94%  | ±1.24% +12.08%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.468mb +0.00%  | 13.706μs -0.44%  | ±0.34% -76.89%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.468mb +0.00%  | 16.358μs -0.30%  | ±1.78% +521.98% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.476mb +0.00%  | 185.273ms +0.87% | ±0.94% +48.80%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 11314c5 into flow-php:1.x Mar 6, 2024
@norberttech norberttech deleted the chores/update-dependencies-03-06-2024 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