Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Uuid Logical Type
  • DateTime Logical Type
  • Json Logical Type
  • XML Logical Type
  • XML Node Logical Type

Fixed

  • Missing nullable property in Map/Struct/List logical types

Changed

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 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          |
+-----------------------+-------------------+------+-----+------------------+-------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 35.134mb -0.07%  | 831.656ms +15.88% | ±1.13% +26.23%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.829mb +0.21%   | 339.760ms +3.26%  | ±0.07% -94.23%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.894mb +0.32%   | 1.046s +11.88%    | ±0.70% +173.39% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.598mb +0.01% | 1.254s +10.51%    | ±1.53% +64.70%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.664mb +0.14%   | 34.958ms +7.26%   | ±0.76% +92.26%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.666mb +0.14%   | 436.842ms +2.14%  | ±1.14% +175.03% |
+-----------------------+-------------------+------+-----+------------------+-------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.378mb +0.01% | 63.631ms -1.23% | ±1.70% +437.91% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.756mb +0.78%  | 454.654ms -0.42% | ±0.25% -87.38% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.863mb -1.73%  | 73.606ms +3.07%  | ±0.56% -3.51%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.349mb +0.93% | 52.462ms -4.57%  | ±0.51% +30.56% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.560mb +0.30% | 1.274s +0.75%    | ±0.37% +44.78% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.720mb +0.06%  | 41.187ms +1.36%  | ±0.21% -68.13% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+-------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode              | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+-------------------+-----------------+
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.008mb +0.42% | 483.199ms +22.06% | ±2.27% +121.20% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.726mb +0.42%  | 244.473ms +23.52% | ±0.61% -52.65%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.851mb +0.39%  | 50.280ms +21.77%  | ±0.79% -62.45%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.405mb +0.85%  | 434.103ms +30.04% | ±0.02% -99.02%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.328mb +0.85%  | 85.713ms +29.70%  | ±0.50% -21.22%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.458mb +0.01%  | 3.199ms -10.44%   | ±0.63% -68.27%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.251mb +0.01%  | 182.429ms -1.44%  | ±0.11% -84.94%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.777mb +0.01%  | 18.425ms -0.31%   | ±0.71% +46.59%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.698mb +0.01%  | 1.673ms -12.95%   | ±2.61% -4.65%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.698mb +0.01%  | 1.625ms -8.28%    | ±3.11% +32.99%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.810mb +0.01%  | 2.486ms -4.83%    | ±3.15% +85.54%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.339mb +0.01%  | 15.608ms +7.56%   | ±0.79% -14.68%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.339mb +0.01%  | 15.933ms +10.68%  | ±3.24% +84.88%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.242mb +0.01%  | 1.800μs -0.34%    | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.242mb +0.01%  | 0.400μs +33.33%   | ±0.00% +0.00%   |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.798mb +0.01%  | 12.685ms +0.82%   | ±2.19% +338.68% |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.158mb +0.01% | 63.368ms +0.33%   | ±0.21% -78.78%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.859mb +0.01%  | 1.213ms +1.04%    | ±0.66% -70.21%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 79.206mb +0.01%  | 57.366ms -2.97%   | ±0.50% +5.79%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.960mb +0.01%  | 3.781ms -1.64%    | ±1.17% +12.44%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.387mb +0.01%  | 39.611ms -2.37%   | ±0.85% +21.54%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.388mb +0.01%  | 39.446ms -2.56%   | ±0.71% +345.53% |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.387mb +0.01%  | 40.083ms -4.81%   | ±0.25% -89.11%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.685mb +0.01%  | 7.324ms +1.67%    | ±0.69% -57.83%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.242mb +0.01%  | 28.738ms -2.31%   | ±1.90% +28.89%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.242mb +0.01%  | 13.200μs -0.62%   | ±0.00% -100.00% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.242mb +0.01%  | 15.580μs -0.90%   | ±1.08% +36.28%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.252mb +0.01%  | 186.408ms +1.59%  | ±0.63% +275.78% |
+-------------------------+----------------------------+------+-----+------------------+-------------------+-----------------+

@norberttech norberttech merged commit 51d33a7 into flow-php:1.x Jan 19, 2024
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