Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • schema validation error message

Changed

Removed

Deprecated

Security


Description

Reference: #1528

@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.869mb +0.01%  | 555.639ms -0.09% | ±0.31% -49.30% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.947mb +0.01%  | 1.081s +0.97%    | ±1.61% -48.57% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.465mb +0.00% | 902.233ms -0.77% | ±0.72% +3.64%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.599mb +0.01%  | 36.045ms -0.55%  | ±0.12% -63.06% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.574mb +0.01%  | 603.403ms -1.45% | ±0.62% -17.11% |
+-----------------------+-------------------+------+-----+-----------------+------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.396mb +0.00% | 72.608ms -3.67% | ±0.76% +30.64% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.069mb +0.00%  | 102.578ms -3.36% | ±0.14% -86.32%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.420mb +0.00%  | 94.440ms -5.82%  | ±0.88% +349.71% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.271mb +0.00% | 21.150s +2.45%   | ±0.82% +95.53%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.131mb +0.00%  | 31.552ms -0.96%  | ±0.54% -36.06%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.912mb +0.00%  | 368.539ms +0.57% | ±0.42% -4.92%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.721mb +0.00%  | 75.140ms +1.33%  | ±0.82% +128.19% |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 106.018mb +0.00% | 466.229ms -0.26% | ±1.32% +28.67%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.209mb +0.00%  | 238.981ms +1.19% | ±0.31% -86.35%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.731mb +0.00%  | 53.035ms +4.73%  | ±0.26% -39.17%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.058mb +0.00%  | 3.134ms -4.27%   | ±1.15% -61.29%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.348mb +0.00% | 187.524ms -0.50% | ±0.36% -7.09%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.068mb +0.00%  | 18.421ms -0.31%  | ±1.16% -21.93%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.933mb +0.00%  | 1.481ms -12.29%  | ±0.54% +83.12%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.933mb +0.00%  | 1.536ms -7.88%   | ±0.12% -95.62%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.094mb +0.00%  | 5.863ms +13.34%  | ±0.86% -70.15%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.623mb +0.00%  | 16.740ms +0.76%  | ±1.50% +85.43%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.623mb +0.00%  | 16.510ms -4.89%  | ±0.45% -70.06%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.314mb +0.00%  | 1.706μs -14.70%  | ±2.72% +0.00%   |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.314mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.532mb +0.00% | 15.844ms +2.65%  | ±3.31% +158.45% |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.599mb +0.00% | 76.339ms -4.45%  | ±0.55% -60.99%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.143mb +0.00%  | 1.837ms +18.38%  | ±3.30% +48.88%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.513mb +0.00% | 66.066ms -2.43%  | ±2.06% +70.77%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.195mb +0.00%  | 4.855ms +21.98%  | ±3.52% +168.30% |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.610mb +0.00%  | 46.260ms +5.20%  | ±2.44% +110.15% |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.611mb +0.00%  | 43.556ms +1.32%  | ±0.60% -56.02%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.610mb +0.00%  | 43.971ms +1.20%  | ±2.23% +394.99% |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.755mb +0.00%  | 8.954ms +6.50%   | ±1.70% -2.13%   |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.504mb +0.00%  | 32.540ms +11.19% | ±1.47% +89.81%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.314mb +0.00%  | 14.576μs -5.58%  | ±3.53% +47.21%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.314mb +0.00%  | 16.896μs -6.45%  | ±2.42% -6.02%   |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.349mb +0.00% | 188.710ms +0.10% | ±0.67% +109.64% |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit a07b98e into flow-php:1.x Mar 14, 2025
22 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