Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Updated dependencies

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 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          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 35.261mb +0.01%  | 827.479ms +1.20% | ±1.25% +41.29%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.981mb +0.08%   | 341.512ms -0.17% | ±0.63% +5.97%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.130mb +0.07%   | 1.048s -0.44%    | ±1.35% -38.29%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.835mb +0.00% | 1.272s +0.48%    | ±2.27% +225.70% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.899mb +0.08%   | 35.101ms -0.72%  | ±1.58% +96.92%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.901mb +0.08%   | 431.136ms +0.03% | ±1.40% +173.34% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.601mb +0.00% | 65.042ms +0.51% | ±1.10% +248.97% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 95.641mb +0.00%  | 468.043ms +2.88% | ±0.92% +66.06%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.117mb +0.01%  | 72.361ms -0.47%  | ±1.09% +388.56% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 106.546mb +0.00% | 51.804ms -1.79%  | ±0.39% -86.97%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 321.757mb +0.00% | 1.487s -0.00%    | ±1.59% +168.08% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.939mb +0.02%  | 40.737ms -1.79%  | ±0.24% -54.54%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.707mb +0.00% | 484.937ms -1.51% | ±0.59% +65.42%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 60.186mb +0.01%  | 243.490ms -2.16% | ±0.85% -38.74%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 15.119mb +0.02%  | 51.270ms -2.64%  | ±1.84% +11.36%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.958mb +0.01%  | 437.065ms -0.39% | ±0.55% +46.44%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.497mb +0.02%  | 85.476ms -3.20%  | ±0.11% -91.73%  |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.676mb +0.00%  | 3.576ms -2.41%   | ±1.49% -24.26%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.403mb +0.00%  | 180.865ms -0.25% | ±0.61% +349.64% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.928mb +0.00%  | 18.230ms -0.29%  | ±1.17% +386.49% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.916mb +0.00%  | 1.805ms +4.39%   | ±1.23% -56.56%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.916mb +0.00%  | 1.921ms +7.70%   | ±2.90% +57.55%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 75.028mb +0.00%  | 2.514ms -4.78%   | ±1.72% -32.38%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.557mb +0.00%  | 14.511ms -2.50%  | ±1.49% +67.31%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.557mb +0.00%  | 14.447ms -1.15%  | ±2.56% +33.40%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.461mb +0.00%  | 1.700μs -10.24%  | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.461mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 87.015mb +0.00%  | 12.905ms -0.13%  | ±0.65% -54.57%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.376mb +0.00% | 63.739ms -2.92%  | ±0.41% +1.81%   |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 76.076mb +0.00%  | 1.457ms -3.66%   | ±1.33% +16.36%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 79.423mb +0.00%  | 59.482ms +3.25%  | ±1.70% +6.38%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 78.178mb +0.00%  | 3.927ms -1.00%   | ±2.12% +210.65% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.539mb +0.00%  | 40.463ms +0.66%  | ±1.08% +168.23% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.540mb +0.00%  | 42.203ms +3.00%  | ±1.72% +26.69%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.539mb +0.00%  | 41.155ms -0.30%  | ±1.18% +19.69%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.902mb +0.00%  | 7.402ms -0.59%   | ±3.27% +257.65% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.461mb +0.00%  | 29.437ms +1.52%  | ±1.36% -34.62%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.461mb +0.00%  | 13.279μs -2.40%  | ±0.94% +170.53% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.461mb +0.00%  | 16.640μs +3.24%  | ±2.06% +136.48% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.404mb +0.00%  | 188.055ms +0.79% | ±1.51% +34.05%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 5a2fc52 into flow-php:1.x Feb 2, 2024
@norberttech norberttech deleted the chores/updated-dependencies branch December 5, 2024 20:22
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