Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • high resolution time to pipeline report execution time

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.772mb +0.02%  | 551.795ms -0.84% | ±0.64% -36.32%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.841mb +0.02%  | 1.071s +0.56%    | ±0.46% -16.53%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.490mb +0.00% | 901.320ms +1.36% | ±0.84% +145.73% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.502mb +0.02%  | 35.943ms -0.18%  | ±0.47% +213.32% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.479mb +0.02%  | 604.022ms -0.00% | ±0.48% -37.46%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.301mb +0.00% | 70.686ms +0.24% | ±1.00% +16.88% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 63.904mb +0.00%  | 104.476ms +1.90% | ±0.55% -6.33%   |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.313mb +0.00%  | 99.403ms +0.05%  | ±0.16% -79.68%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.207mb +0.00% | 20.693s +0.73%   | ±0.56% +244.74% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.968mb +0.00%  | 31.604ms +4.78%  | ±0.75% -0.59%   |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.939mb +0.00% | 452.738ms +0.20% | ±1.03% +324.47% |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.129mb +0.00%  | 233.677ms -0.02% | ±1.44% +7.51%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.651mb +0.01%  | 52.364ms +3.52%  | ±0.77% -56.64%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 96.987mb +0.00%  | 4.426ms +27.20%  | ±2.13% -20.34%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.269mb +0.00% | 190.671ms -0.37% | ±0.31% +102.00% |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 96.989mb +0.00%  | 19.552ms +0.13%  | ±0.44% -82.61%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.862mb +0.00%  | 2.016ms +12.84%  | ±1.20% -45.33%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.862mb +0.00%  | 2.178ms +40.63%  | ±2.58% +5.99%   |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.023mb +0.00%  | 5.751ms +18.71%  | ±0.85% -34.97%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.552mb +0.00%  | 17.212ms +6.35%  | ±0.96% -11.69%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.552mb +0.00%  | 17.003ms +4.46%  | ±0.80% -43.60%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.243mb +0.00%  | 2.000μs +5.26%   | ±0.00% -100.00% |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.243mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.461mb +0.00% | 16.732ms +15.90% | ±0.50% +148.81% |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.528mb +0.00% | 75.183ms +2.48%  | ±0.40% -71.74%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.072mb +0.00%  | 1.993ms +1.97%   | ±2.26% -14.31%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.369mb +0.00% | 65.867ms +1.36%  | ±0.69% -36.90%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.124mb +0.00%  | 4.726ms +15.88%  | ±3.49% +27.66%  |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.531mb +0.00%  | 44.349ms +5.26%  | ±0.26% -52.19%  |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.532mb +0.00%  | 44.620ms +7.65%  | ±2.50% +243.50% |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.531mb +0.00%  | 44.804ms +6.81%  | ±1.14% -8.17%   |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.684mb +0.00%  | 9.042ms +9.10%   | ±2.55% +576.99% |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.433mb +0.00%  | 30.253ms +2.81%  | ±0.31% -34.90%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.243mb +0.00%  | 14.406μs +8.18%  | ±0.33% -91.14%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.243mb +0.00%  | 17.683μs +14.67% | ±3.74% +360.20% |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.270mb +0.00% | 195.484ms +1.18% | ±1.11% +648.98% |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.777mb +0.00%  | 368.322ms +1.50% | ±1.30% +23.01%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.587mb +0.01%  | 74.061ms +0.92%  | ±0.55% +5.38%   |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

Attention: Patch coverage is 92.59259% with 2 lines in your changes missing coverage. Please review.

Project coverage is 82.56%. Comparing base (841ad67) to head (39a700f).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1410      +/-   ##
==========================================
+ Coverage   82.55%   82.56%   +0.01%     
==========================================
  Files         654      655       +1     
  Lines       17576    17601      +25     
==========================================
+ Hits        14510    14533      +23     
- Misses       3066     3068       +2     
Components Coverage Δ
etl 85.85% <92.59%> (+0.02%) ⬆️
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 91.16% <ø> (ø)
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 3731b3f into flow-php:1.x Jan 27, 2025
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