Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • Copy button scroll

Changed

  • Renamed website examples topics

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          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.700mb +0.01%   | 523.015ms +1.23% | ±0.52% +18.55%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.803mb +0.01%   | 1.094s -0.42%    | ±1.89% +596.20% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 102.512mb +0.00% | 963.637ms +0.82% | ±0.32% +105.52% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.429mb +0.01%   | 33.632ms +1.30%  | ±0.33% -15.98%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.410mb +0.01%   | 672.932ms -0.73% | ±0.27% -86.70%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.705mb +0.00% | 60.913ms +1.47% | ±0.85% +41.61% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.897mb +0.00%  | 110.907ms -0.75% | ±1.09% +42.05% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.425mb +0.00%  | 106.771ms +1.41% | ±0.16% -66.08% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 255.383mb +0.00% | 21.437s +0.14%   | ±0.98% -4.96%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.619mb +0.00%  | 44.696ms +0.53%  | ±0.23% -26.15% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.517mb +0.00%  | 3.724ms +2.38%   | ±0.10% -88.87%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 103.055mb +0.00% | 188.270ms -1.33% | ±0.44% -16.28%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.775mb +0.00%  | 19.092ms +0.09%  | ±1.44% +52.80%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.757mb +0.00%  | 2.069ms -3.77%   | ±1.53% +34.46%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.757mb +0.00%  | 1.940ms -13.51%  | ±1.62% -53.56%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.869mb +0.00%  | 3.188ms +0.73%   | ±3.42% +84.42%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.398mb +0.00%  | 16.640ms +2.11%  | ±2.08% +5.56%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.398mb +0.00%  | 17.042ms +4.45%  | ±2.01% +45.03%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.303mb +0.00%  | 1.806μs +5.86%   | ±2.57% -5.45%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.303mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.652mb +0.00%  | 12.861ms +4.05%  | ±3.26% +274.58% |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 123.023mb +0.00% | 64.372ms +5.03%  | ±0.92% -38.23%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.918mb +0.00%  | 1.777ms +15.59%  | ±1.51% +83.75%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.208mb +0.00%  | 62.200ms +2.11%  | ±1.70% -3.90%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 89.020mb +0.00%  | 4.426ms +1.32%   | ±1.33% +26.44%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.386mb +0.00%  | 41.423ms +2.57%  | ±1.44% +4.12%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.387mb +0.00%  | 40.394ms +3.00%  | ±0.45% -69.59%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.386mb +0.00%  | 42.937ms +8.01%  | ±2.50% +164.64% |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.744mb +0.00%  | 7.493ms +3.51%   | ±1.41% +702.01% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.303mb +0.00%  | 28.997ms +0.33%  | ±0.08% -93.98%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.303mb +0.00%  | 14.317μs +5.12%  | ±1.52% +21.13%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.303mb +0.00%  | 16.399μs -2.05%  | ±2.14% +42.96%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 103.056mb +0.00% | 194.721ms +1.19% | ±0.84% +170.27% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.305mb +0.00%  | 400.503ms +2.38% | ±1.08% -32.18%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.571mb +0.00%  | 80.576ms +2.31%  | ±0.18% -87.12%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.543mb +0.00% | 489.072ms +3.12% | ±0.39% -79.20%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.901mb +0.00%  | 245.477ms +1.05% | ±1.38% -20.23%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.739mb +0.00%  | 54.378ms +6.09%  | ±1.11% -49.57%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 02802b2 into flow-php:1.x Dec 13, 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