Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • capitalize scalar function

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          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 34.764mb +0.00%  | 677.664ms +1.91% | ±0.05% -85.30%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.629mb +0.04%   | 296.260ms -0.26% | ±0.94% +199.21% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.788mb +0.03%   | 904.202ms -0.12% | ±0.90% +180.32% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.498mb +0.00% | 1.088s -0.75%    | ±0.71% +56.04%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.569mb +0.04%   | 24.016ms +1.93%  | ±0.35% -53.48%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.569mb +0.04%   | 410.103ms +1.19% | ±0.29% +30.64%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.252mb +0.00% | 62.975ms -0.67% | ±1.23% -0.42% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.425mb +0.00%  | 444.106ms -0.15% | ±1.85% +23.13% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.734mb +0.00%  | 71.261ms -2.10%  | ±0.37% -27.08% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.006mb +0.00% | 55.860ms -1.47%  | ±0.64% +60.12% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.485mb +0.00% | 1.498s +0.47%    | ±0.45% -76.83% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.609mb +0.01%  | 41.115ms -2.78%  | ±0.38% -72.98% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.302mb +0.00%  | 2.999ms +1.92%   | ±1.42% -60.91%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.094mb +0.00%  | 178.116ms -2.13% | ±0.91% -50.87%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.620mb +0.00%  | 17.872ms -4.28%  | ±0.61% +78.67%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.542mb +0.00%  | 2.003ms +4.78%   | ±1.71% -22.08%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.542mb +0.00%  | 1.932ms -11.01%  | ±2.58% +164.18%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.654mb +0.00%  | 2.840ms -7.75%   | ±1.14% -40.59%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.183mb +0.00%  | 15.006ms -1.39%  | ±1.32% -13.67%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.183mb +0.00%  | 15.775ms +5.28%  | ±0.29% -73.37%   |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.086mb +0.00%  | 1.994μs -0.30%   | ±2.40% +0.00%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.086mb +0.00%  | 0.300μs -40.00%  | ±0.00% 0.00%     |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.643mb +0.00%  | 13.966ms +2.26%  | ±1.01% +3.89%    |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.002mb +0.00% | 64.792ms -0.86%  | ±1.44% +127.03%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.703mb +0.00%  | 2.161ms -8.59%   | ±2.99% +515.70%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.976mb +0.00%  | 35.133ms +0.72%  | ±0.42% +6.39%    |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.804mb +0.00%  | 4.159ms +1.11%   | ±3.09% +244.18%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.230mb +0.00%  | 42.177ms +6.35%  | ±1.03% -42.09%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.231mb +0.00%  | 41.925ms +3.29%  | ±1.98% +267.97%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.230mb +0.00%  | 42.503ms +3.50%  | ±2.55% +5934.75% |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.528mb +0.00%  | 7.787ms +0.52%   | ±1.41% -31.48%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.086mb +0.00%  | 29.428ms +0.40%  | ±0.81% -52.06%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.086mb +0.00%  | 13.817μs -0.59%  | ±1.58% -37.53%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.086mb +0.00%  | 16.158μs -3.32%  | ±1.81% +221.19%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.095mb +0.00%  | 182.414ms -0.63% | ±0.84% +27.39%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.174mb +0.00%  | 325.833ms +0.67% | ±0.78% -55.52%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.097mb +0.01%  | 64.107ms +2.35%  | ±0.96% -64.63%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.844mb +0.00% | 363.070ms -1.36% | ±1.70% +179.72%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.562mb +0.00%  | 183.673ms -0.34% | ±0.74% -30.37%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.687mb +0.01%  | 40.139ms +0.84%  | ±1.47% -40.74%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 368e420 into flow-php:1.x Nov 28, 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