Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • cleanup schema namespace

Removed

  • SchemaMatcher replaced by SchemaValidator

Deprecated

Security


Description

@norberttech norberttech linked an issue Apr 15, 2025 that may be closed by this pull request
@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.878mb -0.07%  | 609.892ms -0.93% | ±2.92% +158.89%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.466mb -2.03%  | 1.336s -0.98%    | ±1.71% +1257.82% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.476mb -0.01% | 944.302ms +2.42% | ±0.38% -25.75%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.603mb -0.09%  | 38.598ms -0.64%  | ±1.42% +276.37%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.577mb -0.08%  | 601.334ms -1.55% | ±1.03% +25.02%   |
+-----------------------+-------------------+------+-----+-----------------+------------------+------------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.400mb -0.00% | 70.290ms +2.19% | ±0.43% +0.57% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.045mb -0.01%  | 106.004ms +2.79% | ±1.17% -13.06% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.077mb -0.00%  | 97.981ms -0.33%  | ±0.73% -48.45% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.560mb -0.00% | 20.924s +1.38%   | ±0.13% -59.74% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.135mb -0.02%  | 31.342ms +5.84%  | ±0.66% +26.24% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 44.043mb -0.01%  | 465.803ms +2.76% | ±0.95% -17.34%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.853mb -0.03%  | 94.490ms +1.42%  | ±0.47% +5.31%    |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.508mb -0.00% | 717.702ms -0.42% | ±1.39% +92.99%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.019mb -0.01%  | 361.668ms +0.23% | ±0.78% +13.09%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.797mb -0.03%  | 78.980ms +2.56%  | ±0.87% -11.44%   |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.062mb -0.00%  | 3.569ms +15.01%  | ±1.36% +1105.74% |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.418mb -0.00% | 182.489ms +0.98% | ±0.73% +51.11%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.138mb -0.00%  | 18.409ms +1.28%  | ±0.60% -52.20%   |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.937mb -0.00%  | 1.981ms +40.49%  | ±1.43% +36.11%   |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.937mb -0.00%  | 2.090ms +42.90%  | ±2.11% +48.45%   |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.097mb -0.00%  | 5.718ms +46.16%  | ±0.56% -53.90%   |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.626mb -0.00%  | 16.808ms +1.95%  | ±0.49% -67.96%   |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.626mb -0.00%  | 16.842ms +5.91%  | ±1.18% +61.72%   |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.318mb -0.00%  | 1.806μs +6.62%   | ±2.57% -9.09%    |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.318mb -0.00%  | 0.400μs +33.33%  | ±0.00% +0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.536mb -0.00% | 15.865ms +8.13%  | ±0.89% -7.96%    |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.603mb -0.00% | 74.047ms +5.46%  | ±0.75% +18.93%   |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.146mb -0.00%  | 1.764ms +37.97%  | ±3.23% +267.92%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.518mb -0.00% | 64.045ms +1.93%  | ±0.35% -45.67%   |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.199mb -0.00%  | 4.479ms +23.78%  | ±1.74% -43.84%   |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.680mb -0.00%  | 41.072ms +2.16%  | ±0.57% -71.78%   |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.681mb -0.00%  | 41.629ms +3.57%  | ±1.00% +38.85%   |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.680mb -0.00%  | 41.638ms +2.95%  | ±1.91% +65.15%   |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.758mb -0.00%  | 8.329ms +1.15%   | ±2.01% +88.62%   |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.508mb -0.00%  | 30.600ms +3.06%  | ±1.18% +79.36%   |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.318mb -0.00%  | 14.424μs +9.27%  | ±1.30% +109.75%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.318mb -0.00%  | 16.779μs +10.35% | ±0.74% +139.43%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.419mb -0.00% | 186.094ms +0.25% | ±1.51% +61.03%   |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+

@codecov
Copy link

codecov bot commented Apr 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.16%. Comparing base (68911af) to head (12e34de).
Report is 2 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1599      +/-   ##
==========================================
- Coverage   83.19%   83.16%   -0.03%     
==========================================
  Files         702      700       -2     
  Lines       18983    18956      -27     
==========================================
- Hits        15792    15765      -27     
  Misses       3191     3191              
Components Coverage Δ
etl 86.25% <100.00%> (-0.05%) ⬇️
cli 84.59% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 90.11% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-parquet 84.36% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-snappy 91.16% <ø> (ø)
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 96.38% <ø> (ø)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.57% <ø> (ø)
adapter-doctrine 89.14% <ø> (ø)
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% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@norberttech norberttech merged commit 65b2c67 into 1.x Apr 15, 2025
22 of 23 checks passed
@norberttech norberttech deleted the 1595-cleanup-schema-namespace branch April 15, 2025 07:06
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.

Cleanup Schema Namespace

2 participants