Skip to content

Cleanup examples and prepare them to be used on landing page#955

Merged
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:feature/examples-cleanup
Feb 3, 2024
Merged

Cleanup examples and prepare them to be used on landing page#955
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:feature/examples-cleanup

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Cleanup examples and prepare them to be used on landing page

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 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.264mb +0.00%  | 821.818ms +0.68% | ±0.37% +46.68%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.984mb +0.01%   | 341.349ms +0.45% | ±0.32% +58.85%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.134mb +0.00%   | 1.051s +0.39%    | ±1.06% +27.91%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.838mb +0.00% | 1.274s +1.66%    | ±0.70% -1.68%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.903mb +0.01%   | 34.786ms -0.60%  | ±0.54% +52.41%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.904mb +0.01%   | 430.507ms -0.49% | ±0.80% +680.26% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.604mb +0.00% | 68.738ms +3.99% | ±2.31% +130.11% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 95.645mb +0.00%  | 457.708ms +0.09% | ±0.75% +70.59%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.120mb +0.00%  | 71.847ms -1.38%  | ±0.86% +24.41%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 106.549mb +0.00% | 52.581ms -1.26%  | ±1.10% -60.83%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 321.760mb +0.00% | 1.499s -0.43%    | ±0.70% +109.97% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.943mb +0.00%  | 40.976ms -1.16%  | ±0.63% -24.03%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.710mb +0.00% | 495.316ms +0.77% | ±1.15% +392.14% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 60.189mb +0.00%  | 246.667ms -0.29% | ±1.48% +216.64% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 15.122mb +0.00%  | 52.539ms -0.05%  | ±1.54% +46.94%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.961mb +0.00%  | 438.848ms +0.25% | ±1.07% +95.15%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.500mb +0.00%  | 84.914ms -1.59%  | ±0.75% -26.51%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.679mb +0.00%  | 3.305ms -11.57%  | ±0.04% -88.61%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.405mb +0.00%  | 184.160ms -0.09% | ±0.64% -17.42%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.931mb +0.00%  | 18.600ms -0.50%  | ±1.89% +95.94%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.919mb +0.00%  | 1.665ms -22.85%  | ±0.37% -89.71%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.919mb +0.00%  | 1.667ms -29.16%  | ±0.26% -92.40%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 75.031mb +0.00%  | 2.470ms -13.86%  | ±1.52% -56.46%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.560mb +0.00%  | 14.483ms -3.73%  | ±1.04% +19.14%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.560mb +0.00%  | 14.264ms -5.67%  | ±1.37% -47.29%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.464mb +0.00%  | 1.700μs -10.81%  | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.464mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 87.018mb +0.00%  | 12.916ms -8.13%  | ±1.17% -63.19%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.379mb +0.00% | 64.374ms -1.68%  | ±0.74% +188.39% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 76.079mb +0.00%  | 1.635ms -7.35%   | ±1.61% -12.65%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 79.426mb +0.00%  | 58.065ms -4.41%  | ±1.78% -34.03%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 78.181mb +0.00%  | 4.009ms -2.84%   | ±3.81% +71.30%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.542mb +0.00%  | 40.297ms -2.04%  | ±0.57% -37.83%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.542mb +0.00%  | 40.862ms +1.35%  | ±1.20% +92.89%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.542mb +0.00%  | 40.451ms -1.70%  | ±1.65% +41.59%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.905mb +0.00%  | 7.357ms -1.27%   | ±0.44% -41.23%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.464mb +0.00%  | 28.715ms -0.25%  | ±0.54% -60.14%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.464mb +0.00%  | 13.817μs +0.17%  | ±1.58% +360.49% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.464mb +0.00%  | 16.121μs -0.64%  | ±0.78% -32.76%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.407mb +0.00%  | 186.414ms -1.62% | ±0.69% -19.97%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 548fe31 into flow-php:1.x Feb 3, 2024
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