Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Tool - rector

Fixed

Changed

  • Upgraded codebase to PHP 8.2

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 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.751mb -0.00%  | 516.832ms +1.40%  | ±0.48% +199.46% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.859mb +0.00%  | 1.079s +1.07%     | ±0.24% -77.42%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.496mb -0.00% | 911.731ms +1.11%  | ±0.42% +35.47%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.484mb +0.00%  | 32.335ms +0.67%   | ±0.33% -90.19%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.460mb +0.01%  | 595.080ms -10.31% | ±1.21% +90.97%  |
+-----------------------+-------------------+------+-----+-----------------+-------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 108.479mb +0.00% | 58.351ms +1.08% | ±0.98% +99.70% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.025mb -0.00%  | 118.527ms +1.91% | ±0.58% -58.90% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 82.571mb +0.00%  | 105.481ms -3.08% | ±0.90% +80.50% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.993mb +0.00% | 19.443s -3.89%   | ±0.34% -86.12% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.068mb +0.00%  | 44.482ms -0.22%  | ±0.59% -9.96%  |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 80.255mb +0.00%  | 3.644ms +8.11%   | ±2.88% -1.27%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 97.531mb +0.00%  | 179.663ms -0.96% | ±0.57% -39.95%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 80.251mb +0.00%  | 18.268ms +0.65%  | ±0.52% -67.78%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 81.130mb +0.00%  | 1.817ms +1.75%   | ±0.56% -78.63%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 81.130mb +0.00%  | 1.772ms -7.91%   | ±3.90% +153.19% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 79.291mb +0.00%  | 3.598ms +4.22%   | ±1.35% +55.22%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 79.820mb +0.00%  | 15.301ms -3.75%  | ±0.03% -98.61%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 79.820mb +0.00%  | 15.354ms -1.02%  | ±0.61% -71.25%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 78.511mb +0.00%  | 1.994μs +11.15%  | ±2.40% -10.17%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 78.511mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.848mb +0.00%  | 12.918ms +1.24%  | ±0.71% -55.69%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 114.196mb +0.00% | 59.262ms +0.36%  | ±0.45% -69.80%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 80.340mb +0.00%  | 1.693ms +17.76%  | ±1.08% -56.98%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 83.630mb +0.00%  | 60.843ms -3.55%  | ±1.21% +4.00%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 81.392mb +0.00%  | 4.031ms +10.92%  | ±1.82% -44.16%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 78.792mb +0.00%  | 41.830ms -1.26%  | ±2.26% +206.48% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 78.793mb +0.00%  | 42.337ms +0.27%  | ±0.98% +3.80%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 78.792mb +0.00%  | 42.152ms +0.38%  | ±1.59% +34.75%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 80.952mb +0.00%  | 8.625ms +8.38%   | ±3.42% +34.38%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 78.701mb +0.00%  | 30.406ms +1.12%  | ±0.29% -74.31%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 78.511mb +0.00%  | 14.280μs +1.13%  | ±1.18% -2.32%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 78.511mb +0.00%  | 15.824μs -2.72%  | ±1.18% -53.54%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 97.532mb +0.00%  | 183.862ms -0.49% | ±0.32% +1.62%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 49.237mb +0.00%  | 383.674ms +1.06% | ±0.42% +136.67% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 12.804mb +0.00%  | 76.889ms -1.48%  | ±0.72% -66.27%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 103.313mb +0.00% | 455.736ms -1.95% | ±0.60% -31.12%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 53.824mb +0.00%  | 231.333ms +0.41% | ±1.28% +2.13%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.402mb +0.00%  | 51.838ms +2.10%  | ±1.60% +55.17%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

Attention: Patch coverage is 84.32836% with 21 lines in your changes missing coverage. Please review.

Project coverage is 82.55%. Comparing base (fc8898f) to head (97d66b4).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1339      +/-   ##
==========================================
- Coverage   82.57%   82.55%   -0.02%     
==========================================
  Files         645      645              
  Lines       17449    17436      -13     
==========================================
- Hits        14409    14395      -14     
- Misses       3040     3041       +1     
Components Coverage Δ
etl 85.86% <81.73%> (-0.02%) ⬇️
cli 85.17% <100.00%> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.60% <ø> (ø)
lib-doctrine-dbal-bulk 97.36% <ø> (ø)
lib-filesystem 76.24% <ø> (ø)
lib-parquet 84.16% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-rdsl 87.09% <ø> (ø)
lib-snappy 90.78% <ø> (-0.47%) ⬇️
bridge-filesystem-async-aws 90.60% <83.33%> (ø)
bridge-filesystem-azure 89.92% <100.00%> (ø)
bridge-monolog-http 96.38% <100.00%> (ø)
symfony-http-foundation 77.10% <100.00%> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.49% <100.00%> (-0.09%) ⬇️
adapter-doctrine 90.14% <100.00%> (ø)
adapter-elasticsearch 97.19% <100.00%> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 92.85% <100.00%> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <75.00%> (-0.05%) ⬇️
adapter-parquet 60.74% <100.00%> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <100.00%> (ø)

@norberttech norberttech merged commit 7fbaff9 into flow-php:1.x Jan 7, 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