Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Respect limit/offset from query builder in dbal query loader

Fixed

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   | 4.804mb +0.02%  | 558.401ms -0.45% | ±1.21% +61.98%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.877mb +0.02%  | 1.058s -1.76%    | ±0.47% -67.30%   |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.324mb +0.00% | 925.318ms +2.74% | ±2.40% +1086.38% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.534mb +0.02%  | 35.539ms -0.99%  | ±0.79% -31.51%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.508mb +0.02%  | 604.709ms -0.62% | ±0.41% -80.14%   |
+-----------------------+-------------------+------+-----+-----------------+------------------+------------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.330mb +0.00% | 71.798ms +1.84% | ±1.33% +246.08% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.003mb +0.00%  | 104.676ms -0.92% | ±0.43% +1.68%   |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.350mb +0.00%  | 96.952ms -3.07%  | ±0.69% +139.57% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.194mb +0.00% | 20.851s -0.08%   | ±0.38% -32.87%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.000mb +0.01%  | 31.641ms +2.42%  | ±0.68% +117.75% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.973mb +0.00% | 460.330ms +1.51% | ±0.93% +18.15%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.163mb +0.00%  | 231.169ms +0.92% | ±0.57% +4.05%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.685mb +0.01%  | 50.798ms +0.80%  | ±0.99% -10.01%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.808mb +0.00%  | 365.504ms +0.53% | ±0.83% +299.10% |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.617mb +0.01%  | 73.492ms +0.15%  | ±0.79% +3.65%   |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.016mb +0.00%  | 3.529ms +0.24%   | ±2.94% +994.92% |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.304mb +0.00% | 186.809ms -1.82% | ±1.12% +335.71% |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.024mb +0.00%  | 18.645ms -3.24%  | ±0.81% +68.82%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.891mb +0.00%  | 1.876ms +5.64%   | ±2.76% -22.99%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.891mb +0.00%  | 1.810ms +5.26%   | ±3.49% +91.82%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.052mb +0.00%  | 5.445ms +16.81%  | ±3.35% +74.84%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.581mb +0.00%  | 16.992ms -0.01%  | ±0.45% +114.96% |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.581mb +0.00%  | 16.751ms -0.95%  | ±1.81% +431.40% |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.272mb +0.00%  | 2.006μs +0.61%   | ±2.32% -3.28%   |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.272mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.490mb +0.00% | 14.699ms -2.87%  | ±0.39% -68.60%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.557mb +0.00% | 73.278ms -1.74%  | ±1.14% +107.21% |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.101mb +0.00%  | 1.893ms +15.02%  | ±1.59% -54.01%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.403mb +0.00% | 64.550ms -1.87%  | ±0.04% -84.33%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.153mb +0.00%  | 4.118ms +2.16%   | ±2.49% +209.36% |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.565mb +0.00%  | 43.525ms +2.80%  | ±2.52% +42.33%  |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.566mb +0.00%  | 45.523ms +7.58%  | ±2.17% +254.46% |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.565mb +0.00%  | 43.656ms +1.66%  | ±1.75% +120.19% |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.713mb +0.00%  | 8.928ms +7.00%   | ±0.91% -21.07%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.462mb +0.00%  | 32.377ms +8.98%  | ±1.63% +640.66% |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.272mb +0.00%  | 14.618μs +4.12%  | ±0.96% -60.76%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.272mb +0.00%  | 17.300μs +8.53%  | ±0.47% -85.01%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.305mb +0.00% | 187.107ms -1.54% | ±0.61% +189.51% |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

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

Project coverage is 83.12%. Comparing base (a6457ef) to head (9a647a6).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1492      +/-   ##
==========================================
- Coverage   83.13%   83.12%   -0.01%     
==========================================
  Files         671      671              
  Lines       17975    17985      +10     
==========================================
+ Hits        14943    14950       +7     
- Misses       3032     3035       +3     
Components Coverage Δ
etl 86.00% <ø> (ø)
cli 86.73% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 97.43% <ø> (ø)
lib-filesystem 76.75% <ø> (ø)
lib-parquet 84.33% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-rdsl 87.09% <ø> (ø)
lib-snappy 90.69% <ø> (-0.94%) ⬇️
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 96.38% <ø> (ø)
symfony-http-foundation 74.19% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.57% <ø> (ø)
adapter-doctrine 88.72% <92.30%> (+0.03%) ⬆️
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.62% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

@norberttech norberttech merged commit acf1376 into flow-php:1.x Feb 21, 2025
21 of 22 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