Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • link to GitHub next to each dsl function documentation

Fixed

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.350mb +3.26%  | 517.405ms +0.51% | ±0.90% -73.75%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.483mb +1.70%  | 1.062s -0.77%    | ±0.33% -11.88%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 28.988mb +0.26% | 433.665ms -0.61% | ±1.32% +199.62% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.110mb +3.45%  | 33.264ms -2.30%  | ±0.32% -80.94%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.099mb +3.47%  | 762.645ms +0.59% | ±1.07% -40.23%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.451mb +0.07% | 59.260ms -4.98% | ±0.43% +61.05% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.611mb +0.14%  | 138.708ms -1.55% | ±1.32% +351.37% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.224mb +0.08%  | 116.851ms -0.47% | ±1.35% +260.01% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 124.272mb +0.07% | 1.234s -0.79%    | ±0.22% +1.80%   |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.367mb +0.44%  | 44.222ms -0.81%  | ±0.31% +22.43%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.032mb +0.27%  | 387.968ms -6.83% | ±0.36% -72.20%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.298mb +1.07%  | 84.880ms -0.25%  | ±0.32% -88.74%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.225mb +0.14% | 479.974ms +0.57% | ±0.43% -59.54%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.583mb +0.26%  | 242.671ms +2.42% | ±1.52% +344.33% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.421mb +1.01%  | 52.778ms +0.55%  | ±0.52% -56.65%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.208mb +0.09%  | 3.545ms -12.19%  | ±1.43% -34.36%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.811mb +0.07% | 191.935ms +3.91% | ±1.86% +159.17% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.531mb +0.09%  | 18.803ms -0.23%  | ±0.86% +64.60%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.448mb +0.09%  | 1.688ms -10.24%  | ±0.57% -54.97%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.448mb +0.09%  | 1.670ms -23.78%  | ±2.59% -5.00%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.560mb +0.09%  | 2.759ms -11.81%  | ±1.13% -41.62%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.089mb +0.09%  | 16.599ms -2.72%  | ±1.81% +188.79% |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.089mb +0.09%  | 16.534ms -2.72%  | ±1.03% +73.36%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.993mb +0.09%  | 1.506μs -11.41%  | ±3.07% +0.00%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.993mb +0.09%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.343mb +0.08%  | 12.730ms -1.10%  | ±0.78% -51.10%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.714mb +0.06% | 62.478ms -1.32%  | ±0.59% -20.62%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.608mb +0.09%  | 1.489ms -24.74%  | ±2.78% +19.71%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 89.960mb +0.09%  | 64.472ms -1.65%  | ±1.53% +9.32%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.710mb +0.09%  | 4.349ms -13.89%  | ±2.35% -34.53%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.142mb +0.09%  | 38.921ms -6.36%  | ±0.77% -57.97%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.143mb +0.09%  | 39.855ms -2.89%  | ±1.81% +188.94% |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.142mb +0.09%  | 39.537ms -0.90%  | ±0.74% -57.89%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.434mb +0.09%  | 7.394ms -3.21%   | ±0.96% -12.90%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.993mb +0.09%  | 29.208ms -2.99%  | ±1.53% +45.73%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.993mb +0.09%  | 13.299μs -4.46%  | ±1.84% +104.76% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.993mb +0.09%  | 16.276μs -0.76%  | ±3.17% +0.00%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.812mb +0.07% | 194.788ms +2.45% | ±1.95% +119.42% |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit fc0a437 into flow-php:1.x Aug 13, 2024
@norberttech norberttech deleted the feature/dsl-docs-gh-links 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