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 Dec 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.635mb +0.10%   | 515.112ms +0.09% | ±0.21% -27.55%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.730mb +0.13%   | 1.095s -1.03%    | ±0.63% -54.51%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 102.365mb +0.00% | 949.462ms +1.88% | ±2.07% +885.12% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.364mb +0.11%   | 33.143ms +0.27%  | ±0.29% -37.97%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.345mb +0.11%   | 668.952ms +1.58% | ±0.82% -7.81%   |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.639mb +0.00% | 60.541ms +0.00% | ±1.41% +131.77% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.833mb +0.01%  | 139.603ms -1.14% | ±1.49% +91.46% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.424mb +0.05%  | 119.021ms -1.38% | ±1.62% +22.27% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 255.236mb +0.00% | 21.733s -0.20%   | ±0.31% -13.27% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.555mb +0.03%  | 42.114ms -4.85%  | ±0.11% -51.75% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.387mb +0.01%  | 3.410ms +2.16%   | ±3.21% +80.54%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.991mb +0.00% | 188.185ms -2.46% | ±2.03% +425.71% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.711mb +0.01%  | 18.851ms -2.33%  | ±1.04% +185.60% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.627mb +0.01%  | 1.884ms -0.34%   | ±1.10% +508.11% |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.627mb +0.01%  | 1.869ms -2.25%   | ±0.52% -47.96%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.739mb +0.01%  | 2.830ms +0.15%   | ±1.71% -28.93%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.268mb +0.01%  | 16.007ms -4.41%  | ±1.15% -8.73%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.268mb +0.01%  | 16.357ms -4.26%  | ±0.97% -44.79%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.172mb +0.01%  | 1.706μs -5.54%   | ±2.72% +5.77%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.172mb +0.01%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.522mb +0.01%  | 12.541ms -3.33%  | ±0.46% -74.02%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.893mb +0.00% | 61.959ms -2.80%  | ±0.50% -65.51%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.788mb +0.01%  | 1.407ms -5.04%   | ±0.72% -70.42%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.139mb +0.01%  | 64.262ms -2.00%  | ±1.78% +6.92%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.889mb +0.01%  | 4.182ms -0.98%   | ±0.42% -40.45%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.321mb +0.01%  | 39.113ms -2.61%  | ±0.49% +62.89%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.322mb +0.01%  | 39.586ms -0.64%  | ±1.21% +223.22% |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.321mb +0.01%  | 39.838ms -1.78%  | ±0.71% -56.31%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.613mb +0.01%  | 7.297ms -0.68%   | ±0.77% +216.42% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.172mb +0.01%  | 28.600ms -0.45%  | ±1.35% +309.72% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.172mb +0.01%  | 13.794μs +3.09%  | ±0.34% -72.87%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.172mb +0.01%  | 16.099μs +1.33%  | ±1.52% -7.06%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.992mb +0.00% | 188.473ms -4.86% | ±0.97% +27.52%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.213mb +0.01%  | 390.179ms -1.44% | ±0.97% +77.62%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.479mb +0.03%  | 79.355ms -0.53%  | ±1.53% +83.15%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.475mb +0.00% | 474.477ms -1.12% | ±0.28% -86.35%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.834mb +0.01%  | 249.606ms +1.71% | ±1.76% +116.62% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.672mb +0.03%  | 52.643ms +3.45%  | ±0.41% -70.47%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 01b6133 into flow-php:1.x Dec 5, 2024
33 checks passed
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