Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Count aggregating function does not require reference anymore

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2025

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.798mb +0.00%  | 558.119ms +0.90% | ±0.45% -39.73%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.871mb +0.00%  | 1.062s +1.24%    | ±0.32% +103.81% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.312mb +0.00% | 904.753ms +4.26% | ±1.23% +19.85%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.528mb +0.00%  | 35.545ms -1.02%  | ±1.22% +146.49% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.502mb +0.00%  | 611.182ms +2.36% | ±0.42% -69.56%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.324mb +0.00% | 70.519ms +2.50% | ±0.58% +209.12% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 63.995mb +0.00%  | 105.070ms +4.15% | ±0.81% -53.99% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.342mb +0.00%  | 97.863ms +0.71%  | ±0.80% -64.82% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.183mb +0.00% | 20.663s +1.96%   | ±0.14% -92.37% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.994mb +0.00%  | 31.473ms +5.75%  | ±0.21% -93.55% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.967mb +0.00% | 459.821ms +2.30% | ±0.62% -38.81%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.158mb +0.00%  | 235.161ms +4.64% | ±0.89% -30.41%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.680mb +0.00%  | 51.483ms +2.77%  | ±2.41% +120.95% |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.011mb +0.00%  | 3.342ms +7.82%   | ±2.12% +54.24%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.293mb +0.00% | 186.323ms -0.18% | ±0.78% -49.77%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.013mb +0.00%  | 18.974ms +0.81%  | ±0.89% +113.86% |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.885mb +0.00%  | 1.653ms +19.59%  | ±1.52% -35.01%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.885mb +0.00%  | 1.813ms +26.64%  | ±2.57% -8.04%   |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.046mb +0.00%  | 4.846ms +16.53%  | ±2.68% +149.73% |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.575mb +0.00%  | 16.872ms +3.02%  | ±2.33% -33.46%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.575mb +0.00%  | 16.899ms +2.36%  | ±0.34% -81.35%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.266mb +0.00%  | 1.894μs +11.01%  | ±2.53% -7.14%   |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.266mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.484mb +0.00% | 14.871ms +3.13%  | ±1.00% +40.59%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.552mb +0.00% | 71.480ms +0.95%  | ±0.65% -58.26%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.095mb +0.00%  | 1.392ms +14.70%  | ±2.28% +13.32%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.393mb +0.00% | 64.986ms +2.09%  | ±1.57% +79.65%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.148mb +0.00%  | 3.689ms +4.96%   | ±2.38% +43.61%  |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.555mb +0.00%  | 42.485ms +0.10%  | ±0.81% -64.57%  |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.555mb +0.00%  | 42.804ms +2.54%  | ±0.47% -39.87%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.555mb +0.00%  | 42.909ms +4.56%  | ±1.23% -26.33%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.707mb +0.00%  | 8.300ms +2.24%   | ±0.80% -55.43%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.457mb +0.00%  | 29.826ms +2.23%  | ±1.05% -33.62%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.266mb +0.00%  | 13.848μs +1.09%  | ±3.86% +29.50%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.266mb +0.00%  | 15.255μs -6.00%  | ±2.74% -8.65%   |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.294mb +0.00% | 193.781ms +1.42% | ±0.87% -49.17%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.803mb +0.00%  | 363.122ms +3.79% | ±0.38% -22.62%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.612mb +0.00%  | 75.827ms +3.53%  | ±0.91% -16.81%  |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Feb 8, 2025

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.02%. Comparing base (5dbd375) to head (6d59a68).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1456   +/-   ##
=======================================
  Coverage   83.01%   83.02%           
=======================================
  Files         662      662           
  Lines       17820    17825    +5     
=======================================
+ Hits        14794    14799    +5     
  Misses       3026     3026           
Components Coverage Δ
etl 85.72% <85.71%> (-0.01%) ⬇️
cli 86.73% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 97.36% <ø> (ø)
lib-filesystem 76.75% <ø> (ø)
lib-parquet 84.33% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-rdsl 87.09% <ø> (ø)
lib-snappy 91.16% <ø> (+0.46%) ⬆️
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 96.38% <ø> (ø)
symfony-http-foundation 77.10% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.49% <ø> (ø)
adapter-doctrine 88.68% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.81% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

@norberttech norberttech merged commit 99c9179 into flow-php:1.x Feb 8, 2025
23 checks passed
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