Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Simplified how charts are handling references

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%  | 675.736ms -0.25% | ±0.73% -24.69%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.628mb +0.03%   | 296.157ms -0.52% | ±0.36% +98.66%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.787mb +0.03%   | 900.422ms -1.91% | ±0.82% +4.09%   |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.497mb +0.00% | 1.095s +1.14%    | ±0.69% +110.06% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.566mb +0.03%   | 24.376ms +3.61%  | ±1.45% -12.41%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.567mb +0.03%   | 409.712ms +0.94% | ±0.58% +73.88%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.251mb +0.00% | 63.593ms +2.02% | ±2.03% +51.48% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.424mb +0.00%  | 438.800ms -0.39% | ±0.84% -16.71% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.733mb +0.00%  | 69.704ms -3.08%  | ±0.41% -15.52% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.006mb +0.00% | 54.331ms -0.72%  | ±0.35% -43.12% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.484mb +0.00% | 1.454s +0.20%    | ±0.12% -89.22% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.608mb +0.01%  | 41.478ms +0.08%  | ±0.10% -84.65% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.302mb +0.00%  | 2.738ms +4.51%   | ±2.73% -5.91%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.093mb +0.00%  | 175.714ms -0.52% | ±0.17% -45.09%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.618mb +0.00%  | 17.360ms -1.25%  | ±0.80% +123.84% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.542mb +0.00%  | 1.654ms +1.29%   | ±1.00% -21.75%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.542mb +0.00%  | 1.653ms +0.25%   | ±0.27% -73.02%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.654mb +0.00%  | 2.480ms -4.18%   | ±3.20% +32.31%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.183mb +0.00%  | 14.122ms -0.06%  | ±0.87% -60.39%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.183mb +0.00%  | 14.484ms +0.31%  | ±1.22% +69.11%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.086mb +0.00%  | 1.700μs -14.74%  | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.086mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.643mb +0.00%  | 12.519ms +3.78%  | ±1.28% +115.82% |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.002mb +0.00% | 65.087ms +4.77%  | ±2.22% +143.79% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.703mb +0.00%  | 1.749ms -2.99%   | ±0.97% -72.02%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.973mb +0.00%  | 34.766ms +4.03%  | ±0.49% +160.79% |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.804mb +0.00%  | 3.799ms -2.36%   | ±1.45% +0.13%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.229mb +0.00%  | 39.025ms +0.73%  | ±0.79% -59.58%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.229mb +0.00%  | 39.045ms +1.17%  | ±0.36% -44.83%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.229mb +0.00%  | 38.874ms +0.11%  | ±0.40% -84.96%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.528mb +0.00%  | 7.290ms +0.08%   | ±0.37% +276.54% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.086mb +0.00%  | 28.521ms +1.27%  | ±1.38% +111.20% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.086mb +0.00%  | 13.079μs -1.70%  | ±0.95% +168.60% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.086mb +0.00%  | 15.860μs +0.71%  | ±1.80% -23.81%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.094mb +0.00%  | 179.344ms -0.24% | ±1.29% +397.76% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.174mb +0.00%  | 323.126ms -1.33% | ±0.47% -20.01%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.097mb +0.00%  | 63.904ms -0.90%  | ±0.96% +11.47%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.845mb +0.00% | 371.157ms -0.80% | ±0.76% -40.14%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.563mb +0.00%  | 186.469ms -0.27% | ±0.41% -56.40%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.688mb +0.00%  | 39.093ms -1.76%  | ±2.23% +74.89%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 04fc60b 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