Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • Monolog http bridge http-message dependency range

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          |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 3.914mb +0.01%  | 507.773ms -0.02% | ±0.21% -91.57%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 3.946mb +0.01%  | 1.076s +1.40%    | ±1.55% +235.22% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 28.506mb +0.00% | 422.726ms -0.71% | ±1.44% +121.65% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 3.674mb +0.01%  | 33.940ms -0.81%  | ±1.10% -35.91%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 3.620mb +0.01%  | 433.345ms -1.05% | ±0.46% -44.24%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 115.966mb +0.00% | 60.503ms +1.49% | ±1.23% +343.67% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+-----------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode            | rstdev         |
+--------------------+----------------+------+-----+------------------+-----------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.069mb +0.00%  | 85.108ms +1.58% | ±1.16% +49.96% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 106.501mb +0.00% | 52.549ms +0.17% | ±0.78% -16.04% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 123.783mb +0.00% | 1.234s +0.48%   | ±0.01% -99.50% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 16.862mb +0.00%  | 44.627ms -0.05% | ±2.06% +8.32%  |
+--------------------+----------------+------+-----+------------------+-----------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.697mb +0.00%  | 439.660ms +1.68% | ±2.96% -7.21%    |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.236mb +0.00%  | 85.605ms +1.12%  | ±0.42% -31.90%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.516mb +0.00% | 494.267ms -3.32% | ±0.99% -46.57%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.994mb +0.00%  | 247.989ms -1.32% | ±1.12% -1.72%    |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.928mb +0.00%  | 55.779ms +4.37%  | ±0.92% +223.43%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 86.786mb +0.00%  | 3.650ms +10.33%  | ±2.96% +54.24%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.384mb +0.00% | 188.058ms +0.20% | ±0.69% -45.92%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.104mb +0.00%  | 19.129ms +1.94%  | ±0.64% -29.24%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.026mb +0.00%  | 1.844ms +2.10%   | ±2.33% -9.95%    |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.026mb +0.00%  | 1.898ms +6.28%   | ±1.02% -2.59%    |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.138mb +0.00%  | 2.803ms +7.71%   | ±1.38% -7.12%    |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.667mb +0.00%  | 16.680ms +2.28%  | ±2.17% +63.43%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.667mb +0.00%  | 15.907ms -2.08%  | ±0.93% +9.16%    |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.571mb +0.00%  | 1.894μs +17.92%  | ±2.53% -12.50%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.571mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 92.921mb +0.00%  | 12.292ms +2.10%  | ±1.92% +459.17%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.292mb +0.00% | 60.360ms -2.70%  | ±1.21% -7.93%    |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.187mb +0.00%  | 1.555ms +18.41%  | ±1.67% -23.52%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 89.532mb +0.00%  | 59.312ms -1.14%  | ±1.11% +107.82%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.288mb +0.00%  | 4.096ms +3.82%   | ±2.53% +3958.77% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 83.714mb +0.00%  | 39.352ms -1.70%  | ±0.33% -69.31%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 83.715mb +0.00%  | 40.617ms +0.75%  | ±1.50% -6.54%    |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 83.714mb +0.00%  | 39.628ms -0.77%  | ±1.50% +38.81%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.012mb +0.00%  | 7.572ms +3.29%   | ±1.36% +19.04%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.571mb +0.00%  | 28.882ms +0.48%  | ±0.64% -51.75%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.571mb +0.00%  | 13.894μs +4.23%  | ±0.34% -80.58%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.571mb +0.00%  | 16.566μs +3.07%  | ±1.24% -57.83%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.385mb +0.00% | 189.816ms -2.45% | ±1.15% +5.85%    |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 1d4d54f into flow-php:1.x Jul 21, 2024
@norberttech norberttech deleted the feature/psr-message-dependency branch December 5, 2024 20:19
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