Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • missing entry types to JSON/CSV entry normalizers

Changed

Removed

Deprecated

Security


Description

@norberttech norberttech self-assigned this Feb 10, 2025
@norberttech norberttech added this to the 0.11.0 milestone Feb 10, 2025
@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.798mb +0.02%  | 554.370ms -0.39% | ±0.78% +54.78%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.871mb +0.02%  | 1.066s +1.25%    | ±0.34% +39.31%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.313mb +0.00% | 895.790ms +0.90% | ±0.12% +82.99%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.528mb +0.02%  | 35.813ms +1.77%  | ±2.39% +522.86% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.503mb +0.02%  | 607.807ms +2.28% | ±1.09% -7.18%   |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.325mb +0.00% | 72.219ms +0.66% | ±0.74% -39.37% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 63.996mb +0.00%  | 102.428ms -2.06% | ±0.81% -68.29%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.342mb +0.00%  | 97.272ms -1.35%  | ±0.27% -66.37%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.184mb +0.00% | 20.550s -0.98%   | ±1.27% +629.22% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.994mb +0.01%  | 31.001ms +0.25%  | ±0.43% -77.67%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.967mb +0.00% | 450.948ms -1.26% | ±1.54% +54.41%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.158mb +0.00%  | 227.554ms -3.28% | ±0.79% -39.78%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.680mb +0.01%  | 50.375ms -4.02%  | ±1.19% -55.60%   |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.011mb +0.00%  | 3.253ms +2.50%   | ±2.94% +287.59%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.294mb +0.00% | 187.941ms +1.15% | ±0.39% -53.71%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.014mb +0.00%  | 18.725ms +0.11%  | ±0.66% +13.65%   |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.886mb +0.00%  | 1.575ms -0.27%   | ±3.08% +10.05%   |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.886mb +0.00%  | 1.496ms +0.65%   | ±2.22% -33.19%   |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.046mb +0.00%  | 4.526ms -20.83%  | ±2.82% +276.87%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.575mb +0.00%  | 17.122ms +2.11%  | ±0.76% -27.97%   |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.575mb +0.00%  | 17.213ms +5.27%  | ±1.48% +210.35%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.267mb +0.00%  | 1.800μs -5.56%   | ±0.00% -100.00%  |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.267mb +0.00%  | 0.400μs +33.33%  | ±0.00% +0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.485mb +0.00% | 14.243ms -3.51%  | ±1.07% +44.45%   |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.552mb +0.00% | 71.068ms -2.00%  | ±1.63% +48.09%   |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.095mb +0.00%  | 1.384ms -39.17%  | ±2.49% +27.98%   |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.393mb +0.00% | 66.217ms +1.07%  | ±0.21% -77.14%   |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.148mb +0.00%  | 3.754ms -5.19%   | ±1.19% +77.82%   |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.556mb +0.00%  | 42.173ms -3.39%  | ±0.18% -92.51%   |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.556mb +0.00%  | 42.547ms -0.13%  | ±1.21% +33.18%   |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.556mb +0.00%  | 42.900ms +2.60%  | ±0.57% +40.54%   |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.707mb +0.00%  | 8.108ms -0.91%   | ±1.33% +1447.08% |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.457mb +0.00%  | 29.674ms -1.51%  | ±0.75% +3.76%    |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.267mb +0.00%  | 13.158μs +0.73%  | ±2.21% -23.90%   |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.267mb +0.00%  | 15.299μs +0.55%  | ±1.60% -50.04%   |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.295mb +0.00% | 189.762ms -0.46% | ±0.78% +17.20%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.803mb +0.00%  | 362.319ms +1.43% | ±0.18% -69.52%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.612mb +0.01%  | 72.597ms -1.33%  | ±0.26% -79.31%   |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+

@codecov
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.03%. Comparing base (2c6768b) to head (76a3430).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1457      +/-   ##
==========================================
- Coverage   83.04%   83.03%   -0.01%     
==========================================
  Files         663      663              
  Lines       17842    17846       +4     
==========================================
+ Hits        14816    14819       +3     
- Misses       3026     3027       +1     
Components Coverage Δ
etl 85.76% <ø> (ø)
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 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.57% <100.00%> (+0.08%) ⬆️
adapter-doctrine 88.68% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.90% <100.00%> (+0.09%) ⬆️
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

@norberttech norberttech merged commit 3024d41 into flow-php:1.x Feb 10, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant