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   | 34.760mb +0.00%  | 666.481ms -2.36% | ±0.39% -88.95%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.625mb +0.00%   | 298.228ms +1.22% | ±0.32% +5.60%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.784mb +0.00%   | 918.210ms +0.34% | ±0.04% -62.62%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.494mb +0.00% | 1.092s -0.74%    | ±0.90% +244.24% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.563mb +0.00%   | 24.610ms +3.95%  | ±2.25% +327.26% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.563mb +0.00%   | 405.494ms +0.54% | ±1.07% +18.72%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.248mb +0.00% | 60.954ms -2.54% | ±0.74% -70.14% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.421mb +0.00%  | 438.139ms -1.92% | ±0.56% -53.66%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.730mb +0.00%  | 70.486ms -0.09%  | ±0.98% +109.68% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.002mb +0.00% | 54.908ms -1.46%  | ±1.22% +94.37%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.481mb +0.00% | 1.469s -1.23%    | ±1.31% +282.42% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.604mb +0.00%  | 40.606ms -1.03%  | ±1.70% -36.51%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.301mb +0.00%  | 2.613ms -10.67%  | ±0.27% -65.98%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.092mb +0.00%  | 191.982ms +9.08% | ±3.53% +287.41%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.618mb +0.00%  | 17.407ms -0.01%  | ±0.54% -6.70%    |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.541mb +0.00%  | 1.656ms -18.35%  | ±1.01% -67.43%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.541mb +0.00%  | 1.845ms -3.45%   | ±2.36% +137.92%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.653mb +0.00%  | 2.559ms -7.24%   | ±0.67% -40.26%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.182mb +0.00%  | 16.616ms +15.44% | ±1.11% +12.07%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.182mb +0.00%  | 16.439ms +12.97% | ±0.99% -37.49%   |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.085mb +0.00%  | 1.706μs -5.54%   | ±2.72% +5.77%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.085mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.642mb +0.00%  | 12.160ms +0.53%  | ±2.19% +513.20%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.001mb +0.00% | 63.946ms +2.72%  | ±2.96% +2329.62% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.703mb +0.00%  | 1.813ms -14.31%  | ±0.93% -56.28%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.970mb +0.00%  | 36.245ms +8.40%  | ±0.75% +15.92%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.803mb +0.00%  | 3.793ms -5.18%   | ±0.08% -97.14%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.228mb +0.00%  | 38.708ms -0.24%  | ±0.34% +163.66%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.229mb +0.00%  | 38.559ms -0.58%  | ±1.48% +137.13%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.228mb +0.00%  | 38.792ms +0.44%  | ±0.65% +9.32%    |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.528mb +0.00%  | 7.290ms -1.86%   | ±1.29% +86.84%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.085mb +0.00%  | 28.310ms -1.72%  | ±0.50% -42.85%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.085mb +0.00%  | 13.159μs -2.44%  | ±1.88% +167.90%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.085mb +0.00%  | 16.020μs -2.59%  | ±1.07% -61.18%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.093mb +0.00%  | 178.062ms -1.42% | ±0.77% -36.24%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.174mb +0.00%  | 323.458ms -1.88% | ±1.14% +269.21%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.097mb +0.00%  | 63.838ms -1.76%  | ±0.73% +57.94%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.844mb +0.00% | 368.421ms -0.82% | ±0.29% -67.27%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.562mb +0.00%  | 187.100ms +0.05% | ±1.35% +59.59%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.687mb +0.00%  | 40.045ms -0.32%  | ±1.55% +139.38%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 16a887c into flow-php:1.x Nov 23, 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