Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Added breadcrumbs to blog posts
  • Data Sink examples topic

Fixed

Changed

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Sep 14, 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.541mb +0.01%  | 506.580ms -0.36% | ±0.16% -72.79%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.655mb +0.01%  | 1.068s +0.27%    | ±0.38% -33.91%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 29.112mb +0.00% | 426.809ms -1.81% | ±2.72% +426.52% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.297mb +0.01%  | 33.535ms -0.76%  | ±1.64% +188.29% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.279mb +0.01%  | 664.101ms -1.94% | ±1.55% +1.46%   |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.573mb +0.00% | 59.566ms -0.65% | ±1.44% +33.69% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.738mb +0.00%  | 140.424ms -0.08% | ±0.76% +472.05% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.348mb +0.00%  | 115.940ms -2.38% | ±0.05% -77.36%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 124.466mb +0.00% | 1.228s +0.49%    | ±0.42% -51.01%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.488mb +0.00%  | 43.538ms -2.04%  | ±0.26% -48.44%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-------------------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev                        |
+-------------------------+----------------------------+------+-----+------------------+------------------+-------------------------------+
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.416mb +0.00% | 468.551ms +0.43% | ±1.52% -47.30%                |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.774mb +0.00%  | 235.936ms +0.16% | ±1.10% +95.91%                |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.613mb +0.00%  | 51.359ms -3.34%  | ±0.73% -56.39%                |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.330mb +0.00%  | 3.369ms -12.83%  | ±1.05% +87.13%                |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.934mb +0.00% | 186.145ms -0.47% | ±0.61% +207.68%               |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.654mb +0.00%  | 18.726ms -1.24%  | ±1.18% +54.02%                |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.570mb +0.00%  | 1.735ms -7.50%   | ±2.92% +152.48%               |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.570mb +0.00%  | 1.848ms -6.32%   | ±1.20% -52.23%                |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.682mb +0.00%  | 2.965ms -7.13%   | ±1.48% -57.43%                |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.211mb +0.00%  | 16.944ms -7.91%  | ±0.60% +32.10%                |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.211mb +0.00%  | 16.426ms -11.85% | ±1.72% -37.88%                |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.115mb +0.00%  | 1.694μs -10.85%  | ±2.83% +24202396355598000.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.115mb +0.00%  | 0.200μs -50.00%  | ±0.00% 0.00%                  |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.465mb +0.00%  | 12.512ms -0.40%  | ±1.83% +377.76%               |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.836mb +0.00% | 59.938ms -2.02%  | ±0.54% -38.19%                |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.730mb +0.00%  | 1.462ms -14.90%  | ±1.66% -35.74%                |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.086mb +0.00%  | 58.617ms -4.18%  | ±1.65% +15.25%                |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.832mb +0.00%  | 4.195ms -6.72%   | ±0.18% -95.18%                |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.264mb +0.00%  | 39.598ms -1.25%  | ±0.05% -97.90%                |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.265mb +0.00%  | 39.509ms -0.35%  | ±0.76% -44.15%                |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.264mb +0.00%  | 39.554ms +1.55%  | ±2.85% +33.66%                |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.556mb +0.00%  | 7.370ms -0.47%   | ±0.75% -2.32%                 |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.115mb +0.00%  | 28.671ms -0.18%  | ±0.39% -51.96%                |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.115mb +0.00%  | 13.383μs -0.82%  | ±1.60% +357.13%               |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.115mb +0.00%  | 15.924μs +0.28%  | ±1.18% +50.24%                |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.935mb +0.00% | 190.529ms +1.56% | ±1.37% +236.04%               |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.219mb +0.00%  | 386.473ms -2.31% | ±0.20% -93.56%                |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.485mb +0.00%  | 78.199ms -0.16%  | ±0.63% -30.13%                |
+-------------------------+----------------------------+------+-----+------------------+------------------+-------------------------------+

@norberttech norberttech merged commit b3d9811 into flow-php:1.x Sep 15, 2024
@norberttech norberttech deleted the feature/blog-breadcrumbs 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