Skip to content

Conversation

@stloyd
Copy link
Member

@stloyd stloyd commented Dec 28, 2024

Change Log

Added

Fixed

Changed

  • Update & adjust Infection configuration

Removed

Deprecated

Security


Description

Fixes #1286

@github-actions
Copy link
Contributor

github-actions bot commented Dec 28, 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          |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.714mb +0.02%  | 525.052ms +1.08% | ±0.96% -1.37%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.818mb +0.02%  | 1.097s -2.04%    | ±0.17% -83.55%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.464mb +0.00% | 910.032ms -0.24% | ±0.53% +4.74%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.447mb +0.02%  | 34.297ms +0.39%  | ±3.20% +520.49% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.424mb +0.02%  | 680.719ms +0.24% | ±1.35% -56.46%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 114.444mb +0.00% | 61.602ms -0.69% | ±0.90% +40.80% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 55.188mb +0.00%  | 110.503ms -2.55% | ±1.08% +24.71%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 85.655mb +0.00%  | 103.503ms +0.16% | ±1.49% +334.20% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 167.440mb +0.00% | 19.413s -4.68%   | ±0.35% -83.63%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.272mb +0.00%  | 44.375ms -0.42%  | ±0.55% +33.82%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 85.501mb +0.00%  | 3.105ms -11.39%  | ±0.79% +42.83%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.770mb +0.00% | 186.497ms -3.42% | ±0.43% -66.78%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.490mb +0.00%  | 18.734ms -0.48%  | ±3.19% +156.24%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 86.375mb +0.00%  | 1.394ms -4.32%   | ±1.89% -0.93%    |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 86.375mb +0.00%  | 1.585ms +5.19%   | ±2.32% +57.47%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 84.536mb +0.00%  | 2.352ms +1.90%   | ±2.40% +1815.62% |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.065mb +0.00%  | 15.545ms +2.60%  | ±0.72% -43.78%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.065mb +0.00%  | 15.416ms -2.66%  | ±2.16% +164.28%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.756mb +0.00%  | 1.800μs -10.00%  | ±0.00% 0.00%     |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.756mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 92.334mb +0.00%  | 12.812ms +0.09%  | ±2.74% +383.95%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 120.641mb +0.00% | 62.562ms +1.85%  | ±0.49% +6.08%    |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 85.585mb +0.00%  | 1.300ms +11.55%  | ±1.33% -37.20%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 88.873mb +0.00%  | 58.392ms -1.82%  | ±1.62% +63.26%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 86.638mb +0.00%  | 3.658ms +1.88%   | ±2.38% +33.63%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.032mb +0.00%  | 40.519ms -1.49%  | ±2.34% +48.02%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.032mb +0.00%  | 41.673ms +0.24%  | ±0.95% -23.98%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.032mb +0.00%  | 40.762ms +0.55%  | ±0.52% +27.34%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.197mb +0.00%  | 7.763ms +2.26%   | ±2.09% +114.76%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.947mb +0.00%  | 30.786ms +3.57%  | ±1.10% +91.67%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.756mb +0.00%  | 12.924μs -3.84%  | ±1.45% -32.56%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.756mb +0.00%  | 15.320μs 0.00%   | ±1.12% 0.00%     |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.775mb +0.00% | 190.246ms -1.48% | ±0.68% +5.23%    |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 50.655mb +0.00%  | 400.143ms -0.16% | ±0.24% -60.17%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.070mb +0.01%  | 81.840ms +0.67%  | ±0.43% -34.91%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.913mb +0.00% | 479.453ms -0.27% | ±0.57% +34.83%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.103mb +0.00%  | 244.459ms +1.09% | ±1.07% -9.62%    |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.625mb +0.01%  | 52.360ms -0.21%  | ±0.13% -91.46%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@stloyd stloyd marked this pull request as ready for review December 28, 2024 10:48
@stloyd stloyd requested a review from norberttech December 28, 2024 10:48
@stloyd stloyd changed the title Update & adjust Infection Update & adjust Infection configuration Dec 28, 2024
@norberttech norberttech merged commit c61bb55 into flow-php:1.x Dec 28, 2024
23 checks passed
@stloyd stloyd deleted the feature/1286 branch December 28, 2024 14:59
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.

Revisit mutation tests

2 participants