Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Updated dependencies

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.785mb -0.25%  | 555.209ms -0.20% | ±0.16% -80.02%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.853mb -0.24%  | 1.065s +0.69%    | ±1.05% +334.87% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.502mb -0.01% | 911.706ms +1.42% | ±0.52% -19.74%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.514mb -0.26%  | 35.723ms +0.98%  | ±0.90% +43.46%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.491mb -0.26%  | 604.757ms -0.57% | ±1.72% +346.80% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.313mb -0.01% | 72.873ms +3.08% | ±0.53% -7.30% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 63.917mb -0.02%  | 106.294ms +3.15% | ±0.44% -44.42%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.325mb -0.01%  | 99.042ms +0.94%  | ±0.57% +53.64%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.221mb -0.01% | 20.816s +0.64%   | ±0.38% +114.69% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.981mb -0.07%  | 31.504ms +2.09%  | ±0.40% -20.74%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.951mb -0.01% | 456.467ms +0.22% | ±1.42% +83.08%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.141mb -0.02%  | 236.167ms +1.08% | ±1.32% +3.53%    |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.663mb -0.08%  | 51.857ms +3.08%  | ±3.18% +211.81%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.000mb -0.01%  | 3.680ms +16.94%  | ±0.63% -59.91%   |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.282mb -0.01% | 192.232ms -0.54% | ±0.53% -77.43%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.002mb -0.01%  | 19.564ms +1.53%  | ±1.26% +320.20%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.875mb -0.01%  | 1.793ms +18.74%  | ±1.31% +40.77%   |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.875mb -0.01%  | 2.047ms +35.20%  | ±1.17% +31.12%   |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.035mb -0.01%  | 5.017ms +18.14%  | ±1.30% -7.55%    |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.564mb -0.01%  | 16.769ms +0.83%  | ±0.67% -4.68%    |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.564mb -0.01%  | 16.652ms +0.99%  | ±0.85% -0.33%    |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.256mb -0.01%  | 1.994μs +11.15%  | ±2.40% -10.17%   |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.256mb -0.01%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.474mb -0.01% | 15.241ms +4.82%  | ±1.14% +73.51%   |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.541mb -0.01% | 74.285ms +4.65%  | ±0.21% -70.78%   |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.084mb -0.01%  | 2.016ms +46.26%  | ±2.97% +262.92%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.381mb -0.01% | 66.283ms +4.35%  | ±0.58% +133.01%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.137mb -0.01%  | 4.466ms +18.48%  | ±2.95% +63.32%   |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.544mb -0.01%  | 43.227ms +1.46%  | ±0.61% +82.01%   |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.544mb -0.01%  | 43.950ms +3.48%  | ±2.95% +151.17%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.544mb -0.01%  | 43.265ms +1.02%  | ±0.50% +20.62%   |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.696mb -0.01%  | 8.737ms +3.43%   | ±3.34% +150.48%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.446mb -0.01%  | 30.039ms +1.38%  | ±3.57% +329.16%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.256mb -0.01%  | 14.479μs +12.14% | ±0.86% +18.03%   |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.256mb -0.01%  | 17.100μs +12.50% | ±0.95% +77.78%   |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.283mb -0.01% | 193.649ms -0.77% | ±2.56% +4353.81% |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.789mb -0.03%  | 366.394ms +2.00% | ±0.29% -72.79%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.599mb -0.10%  | 73.521ms +1.66%  | ±0.26% -63.33%   |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+

@codecov
Copy link

codecov bot commented Jan 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.51%. Comparing base (cb23d67) to head (399a2a9).
Report is 5 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1404      +/-   ##
==========================================
- Coverage   82.51%   82.51%   -0.01%     
==========================================
  Files         654      654              
  Lines       17538    17538              
==========================================
- Hits        14472    14471       -1     
- Misses       3066     3067       +1     
Components Coverage Δ
etl 85.76% <ø> (ø)
cli 85.17% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 97.36% <ø> (ø)
lib-filesystem 76.23% <ø> (ø)
lib-parquet 84.57% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-rdsl 87.09% <ø> (ø)
lib-snappy 90.69% <ø> (-0.47%) ⬇️
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 90.14% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 92.85% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 59.88% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

@norberttech norberttech merged commit 3919df3 into flow-php:1.x Jan 25, 2025
21 of 22 checks passed
@norberttech norberttech deleted the chores/2025-01-24-updated-dependnecies branch January 25, 2025 03:13
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