Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Default cache path

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           |
+-----------------------+-------------------+------+-----+------------------+------------------+------------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 34.763mb +0.00%  | 667.073ms +0.27% | ±1.86% +309.59%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.628mb +0.01%   | 297.733ms +0.05% | ±0.97% +1401.39% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.787mb +0.01%   | 894.523ms -1.51% | ±0.79% +74.78%   |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.497mb +0.00% | 1.088s +0.58%    | ±0.30% -73.14%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.568mb +0.01%   | 23.962ms +0.76%  | ±1.38% -20.16%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.568mb +0.01%   | 408.882ms +0.42% | ±0.43% +7.55%    |
+-----------------------+-------------------+------+-----+------------------+------------------+------------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.251mb +0.00% | 62.441ms -0.09% | ±0.49% -59.58% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.424mb +0.00%  | 456.965ms +5.04% | ±2.67% +33.69%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.733mb +0.00%  | 72.111ms -0.97%  | ±0.67% -51.15%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.005mb +0.00% | 55.433ms +4.14%  | ±0.32% -83.12%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.484mb +0.00% | 1.540s +5.65%    | ±1.03% +176.72% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.608mb +0.00%  | 42.861ms +2.44%  | ±0.56% -23.86%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.301mb +0.00%  | 3.271ms +24.08%  | ±3.34% +16.26%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.091mb +0.00%  | 180.618ms +2.83% | ±0.87% -13.35%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.617mb +0.00%  | 17.987ms +2.44%  | ±0.51% +261.52% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.541mb +0.00%  | 1.801ms +7.86%   | ±3.42% +231.48% |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.541mb +0.00%  | 1.917ms +14.69%  | ±2.33% +37.41%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.653mb +0.00%  | 3.034ms +18.30%  | ±0.04% -89.71%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.182mb +0.00%  | 15.084ms -5.89%  | ±1.20% -64.10%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.182mb +0.00%  | 14.864ms -9.13%  | ±1.19% -50.12%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.085mb +0.00%  | 1.906μs +11.72%  | ±2.44% -10.34%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.085mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.642mb +0.00%  | 14.555ms +18.12% | ±2.08% +32.07%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.001mb +0.00% | 62.871ms +4.63%  | ±1.01% +457.61% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.702mb +0.00%  | 2.043ms +13.48%  | ±2.38% +423.40% |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.973mb +0.00%  | 34.680ms -5.93%  | ±0.28% -52.98%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.803mb +0.00%  | 4.309ms +12.09%  | ±2.50% +10.11%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.228mb +0.00%  | 40.699ms +2.21%  | ±1.55% +641.59% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.228mb +0.00%  | 41.082ms +4.12%  | ±2.35% -11.81%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.228mb +0.00%  | 42.734ms +7.91%  | ±1.19% +49.71%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.527mb +0.00%  | 7.616ms +3.28%   | ±2.80% +152.80% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.085mb +0.00%  | 29.132ms +2.16%  | ±1.21% +117.96% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.085mb +0.00%  | 13.700μs +2.96%  | ±1.19% +237.14% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.085mb +0.00%  | 16.243μs +2.67%  | ±2.02% +154.88% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.093mb +0.00%  | 182.380ms +2.37% | ±0.28% -51.57%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.173mb +0.00%  | 316.910ms +1.49% | ±0.10% -83.59%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.096mb +0.00%  | 63.592ms +3.18%  | ±2.07% +843.26% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.843mb +0.00% | 366.592ms +2.92% | ±2.31% +77.00%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.561mb +0.00%  | 185.748ms +3.94% | ±1.52% +19.58%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.686mb +0.00%  | 40.191ms +5.20%  | ±2.21% +47.88%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 7ddca63 into flow-php:1.x Nov 26, 2023
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