Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • Generating links to dsl functions

Changed

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.510mb +0.19%  | 508.368ms -0.45% | ±0.17% -48.39%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.577mb +0.19%  | 1.090s +1.62%    | ±0.95% +87.02%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 29.082mb +0.03% | 431.992ms -1.52% | ±0.99% +9.53%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.269mb +0.20%  | 33.359ms -0.52%  | ±2.06% +33.11%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.259mb +0.20%  | 772.253ms +2.25% | ±1.62% +442.82% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.545mb +0.01% | 60.788ms -0.80% | ±0.37% -76.43% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.706mb +0.02%  | 138.961ms -2.69% | ±0.56% -44.08% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.319mb +0.01%  | 117.803ms -0.40% | ±0.22% -10.22% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 124.370mb +0.01% | 1.242s -0.55%    | ±0.38% -45.12% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.461mb +0.05%  | 44.500ms +0.33%  | ±0.56% -84.04% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.192mb +0.02%  | 391.161ms +0.11% | ±0.44% -83.52%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.457mb +0.06%  | 83.073ms -1.58%  | ±3.61% +9.71%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.388mb +0.01% | 465.217ms -1.72% | ±0.93% -15.18%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.747mb +0.02%  | 237.431ms -1.68% | ±0.63% -30.54%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.585mb +0.06%  | 52.374ms -0.66%  | ±0.51% -64.54%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.302mb +0.01%  | 3.646ms -3.76%   | ±1.28% -54.15%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.906mb +0.01% | 189.365ms +0.26% | ±0.30% -58.01%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.626mb +0.01%  | 19.118ms +0.89%  | ±1.13% +136.83% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.542mb +0.01%  | 1.921ms +7.30%   | ±3.20% -3.76%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.542mb +0.01%  | 1.991ms +7.11%   | ±3.30% +103.81% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.654mb +0.01%  | 3.059ms +1.06%   | ±0.74% -39.33%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.183mb +0.01%  | 16.554ms -3.02%  | ±0.47% -2.83%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.183mb +0.01%  | 17.069ms +0.61%  | ±1.44% -57.07%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.087mb +0.01%  | 1.894μs +5.22%   | ±2.53% +0.00%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.087mb +0.01%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.437mb +0.01%  | 14.103ms +1.43%  | ±2.02% -35.27%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.808mb +0.01% | 62.061ms -1.77%  | ±0.25% -44.88%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.703mb +0.01%  | 1.784ms +6.79%   | ±2.13% -16.10%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.059mb +0.01%  | 60.873ms -4.05%  | ±0.84% -23.28%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.804mb +0.01%  | 4.777ms +1.92%   | ±2.93% +135.32% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.236mb +0.01%  | 40.780ms -0.52%  | ±0.67% -53.84%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.237mb +0.01%  | 42.241ms +6.65%  | ±1.20% -33.08%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.236mb +0.01%  | 41.793ms +5.20%  | ±2.16% -19.01%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.528mb +0.01%  | 7.639ms -2.02%   | ±0.93% +82.50%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.087mb +0.01%  | 29.259ms -4.27%  | ±0.99% -33.01%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.087mb +0.01%  | 14.342μs -1.62%  | ±2.07% -34.33%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.087mb +0.01%  | 16.757μs +0.99%  | ±1.98% +7.60%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.907mb +0.01% | 192.629ms +0.94% | ±0.44% -0.69%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit fdb67e9 into flow-php:1.x Aug 16, 2024
@norberttech norberttech deleted the bug/examples-auto-linker 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