Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Added php ~8.3 constraint to composer.json files

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%  | 679.300ms -0.52% | ±1.40% +15.29%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.628mb +0.01%   | 296.980ms +0.38% | ±0.42% -1.28%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.787mb +0.01%   | 898.056ms -1.21% | ±0.33% -82.21%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.497mb +0.00% | 1.079s -1.01%    | ±0.73% +555.90% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.566mb +0.01%   | 24.363ms +1.90%  | ±1.67% +6.68%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.567mb +0.01%   | 407.750ms -0.88% | ±3.22% +609.58% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.251mb +0.00% | 61.543ms +0.25% | ±1.68% +34.66% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.424mb +0.00%  | 455.117ms +2.24% | ±1.44% -13.46% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.733mb +0.00%  | 70.978ms -5.54%  | ±0.40% -89.18% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.006mb +0.00% | 54.385ms +1.15%  | ±0.72% +7.22%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.484mb +0.00% | 1.461s -0.82%    | ±0.17% -91.64% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.608mb +0.00%  | 41.225ms -0.39%  | ±0.42% -4.15%  |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.302mb +0.00%  | 2.549ms -9.02%   | ±1.34% -18.05%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.093mb +0.00%  | 175.585ms -2.13% | ±0.28% -69.66%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.618mb +0.00%  | 17.567ms -1.41%  | ±0.73% +45.25%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.542mb +0.00%  | 1.709ms -1.00%   | ±1.21% -62.00%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.542mb +0.00%  | 1.641ms -1.28%   | ±1.45% -18.51%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.654mb +0.00%  | 2.453ms -4.90%   | ±0.81% -62.95%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.183mb +0.00%  | 14.356ms -0.66%  | ±0.55% -48.07%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.183mb +0.00%  | 14.422ms -0.42%  | ±1.59% +192.14% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.086mb +0.00%  | 1.794μs -5.28%   | ±2.67% +5.66%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.086mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.643mb +0.00%  | 12.230ms -0.33%  | ±2.29% +26.25%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.002mb +0.00% | 65.617ms +5.06%  | ±3.56% +67.09%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.703mb +0.00%  | 1.818ms -0.79%   | ±2.26% +114.98% |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.973mb +0.00%  | 32.719ms -0.98%  | ±0.84% +50.71%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.804mb +0.00%  | 3.831ms +0.04%   | ±0.52% -54.67%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.229mb +0.00%  | 38.467ms -0.22%  | ±1.04% -15.18%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.229mb +0.00%  | 38.617ms +0.82%  | ±0.28% -16.55%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.229mb +0.00%  | 38.953ms +0.26%  | ±0.60% -50.23%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.528mb +0.00%  | 7.308ms +0.69%   | ±0.83% +170.16% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.086mb +0.00%  | 29.231ms +4.33%  | ±0.57% +10.97%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.086mb +0.00%  | 13.318μs -1.92%  | ±1.06% +15.36%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.086mb +0.00%  | 16.143μs +1.56%  | ±2.03% +582.79% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.094mb +0.00%  | 180.529ms -2.64% | ±0.46% -56.67%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.174mb +0.00%  | 323.058ms -1.92% | ±0.54% -37.56%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.097mb +0.00%  | 64.192ms -2.87%  | ±1.88% +89.30%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.845mb +0.00% | 371.131ms -2.27% | ±1.16% -17.92%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.563mb +0.00%  | 186.166ms -0.00% | ±1.73% +91.66%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.688mb +0.00%  | 39.962ms +1.56%  | ±2.30% +169.70% |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 6e817b5 into flow-php:1.x Nov 23, 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