Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Schema apply example
  • Running examples in the test suite
  • Fixed

    • Missing Docs attribute in functions

    Changed

    • Updated dependencies

    Removed

    • CallMethod scalar functions

    Deprecated

    Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 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.694mb +0.02%   | 516.024ms +0.06% | ±0.38% +27.38%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.797mb +0.02%   | 1.085s +0.13%    | ±1.11% +61.62%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 102.507mb +0.00% | 928.499ms -2.56% | ±0.14% -62.40%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.423mb +0.02%   | 33.264ms +0.55%  | ±0.89% +309.75% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.404mb +0.02%   | 663.544ms -0.32% | ±0.21% -35.90%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.700mb +0.00% | 59.010ms -1.92% | ±0.45% -67.46% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.892mb +0.00%  | 114.033ms +2.37% | ±2.14% +267.91% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.419mb +0.00%  | 105.319ms -1.44% | ±1.06% +72.20%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 255.378mb +0.00% | 21.297s -0.66%   | ±0.72% -31.87%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.614mb +0.01%  | 42.905ms -2.98%  | ±0.67% -63.12%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.512mb +0.00%  | 3.346ms -6.34%   | ±1.16% -44.47%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 103.050mb +0.00% | 187.597ms -0.18% | ±1.26% -64.90%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.770mb +0.00%  | 18.645ms -2.81%  | ±1.23% +14.44%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.752mb +0.00%  | 1.816ms -13.78%  | ±2.80% -12.91%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.752mb +0.00%  | 1.819ms -11.56%  | ±3.41% +140.05% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.864mb +0.00%  | 2.731ms -11.67%  | ±1.09% -59.62%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.393mb +0.00%  | 15.880ms -3.23%  | ±0.94% -6.46%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.393mb +0.00%  | 15.950ms -3.27%  | ±1.23% -16.56%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.297mb +0.00%  | 1.606μs -5.86%   | ±2.89% +6.12%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.297mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.647mb +0.00%  | 13.000ms +4.05%  | ±2.61% -18.14%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 123.018mb +0.00% | 60.800ms -3.06%  | ±1.07% +44.58%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.913mb +0.00%  | 1.380ms -20.53%  | ±1.71% -44.60%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.203mb +0.00%  | 58.620ms -2.53%  | ±1.02% +38.23%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 89.014mb +0.00%  | 4.284ms -8.79%   | ±1.76% +319.67% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.381mb +0.00%  | 39.465ms -1.81%  | ±0.53% +77.33%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.382mb +0.00%  | 39.992ms -0.99%  | ±0.46% -71.09%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.381mb +0.00%  | 39.620ms -0.48%  | ±0.74% +35.63%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.738mb +0.00%  | 7.347ms -1.11%   | ±0.64% -34.47%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.297mb +0.00%  | 28.585ms -1.90%  | ±1.05% -67.04%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.297mb +0.00%  | 13.283μs -4.29%  | ±1.61% +80.10%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.297mb +0.00%  | 15.794μs -1.29%  | ±0.30% -41.41%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 103.052mb +0.00% | 191.377ms +0.28% | ±0.35% -55.08%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.234mb +0.00%  | 391.822ms -1.07% | ±0.64% -29.96%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.500mb +0.01%  | 80.216ms +0.25%  | ±0.70% -52.29%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.537mb +0.00% | 473.566ms -0.59% | ±1.19% -11.25%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.895mb +0.00%  | 244.778ms -0.22% | ±0.11% -84.73%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.733mb +0.01%  | 52.686ms -2.29%  | ±0.97% -48.75%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 3529a44 into flow-php:1.x Dec 11, 2024
33 checks passed
@norberttech norberttech deleted the chores/dependencies-2024-12-11 branch December 11, 2024 21:52
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