Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Improve error message when schema definition is duplicated

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.799mb +0.01%  | 554.910ms +0.05% | ±0.69% +270.39% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.872mb +0.01%  | 1.055s -0.80%    | ±0.52% +49.15%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.314mb +0.00% | 916.412ms +2.11% | ±0.17% -28.06%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.529mb +0.01%  | 35.646ms +0.47%  | ±0.42% -66.18%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.503mb +0.01%  | 605.576ms -0.32% | ±0.44% +22.19%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.325mb +0.00% | 71.856ms +2.15% | ±2.47% +147.94% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 63.998mb +0.00%  | 102.019ms +1.06% | ±0.64% +24.08% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.345mb +0.00%  | 97.285ms -0.82%  | ±0.75% +54.35% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.185mb +0.00% | 20.648s -0.32%   | ±0.29% +4.54%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.995mb +0.00%  | 31.338ms +0.98%  | ±0.48% +70.77% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.968mb +0.00% | 451.055ms -2.76% | ±0.50% -49.15%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.159mb +0.00%  | 228.703ms -0.68% | ±1.32% +75.93%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.681mb +0.00%  | 50.847ms +1.80%  | ±1.57% +113.38% |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.012mb +0.00%  | 3.349ms +1.05%   | ±0.89% -50.50%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.295mb +0.00% | 189.354ms +1.04% | ±0.27% -47.84%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.015mb +0.00%  | 19.005ms +0.84%  | ±0.85% +203.67% |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.886mb +0.00%  | 1.691ms -7.89%   | ±0.92% -56.87%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.886mb +0.00%  | 1.657ms -10.32%  | ±0.89% -72.17%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.047mb +0.00%  | 4.831ms +3.32%   | ±1.63% -39.29%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.576mb +0.00%  | 16.703ms +0.61%  | ±0.16% -79.45%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.576mb +0.00%  | 16.700ms +1.39%  | ±0.54% -36.42%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.267mb +0.00%  | 1.900μs +0.32%   | ±0.00% -100.00% |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.267mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.486mb +0.00% | 14.896ms +2.98%  | ±1.81% +93.99%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.553mb +0.00% | 72.053ms +0.56%  | ±0.38% -38.39%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.096mb +0.00%  | 1.585ms +9.86%   | ±2.80% +330.40% |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.394mb +0.00% | 63.847ms -1.30%  | ±0.06% -92.25%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.149mb +0.00%  | 3.878ms +1.72%   | ±0.35% -57.34%  |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.557mb +0.00%  | 41.967ms -0.44%  | ±0.69% +214.96% |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.557mb +0.00%  | 41.842ms +0.33%  | ±0.37% +10.51%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.557mb +0.00%  | 41.847ms -1.02%  | ±0.87% -19.03%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.708mb +0.00%  | 8.279ms +0.56%   | ±2.28% +306.76% |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.458mb +0.00%  | 29.621ms +1.00%  | ±0.88% +42.15%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.267mb +0.00%  | 14.483μs +9.04%  | ±3.50% +226.39% |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.267mb +0.00%  | 15.500μs -7.60%  | ±0.53% -53.44%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.296mb +0.00% | 190.911ms +0.48% | ±0.53% +15.17%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.804mb +0.00%  | 364.169ms +0.43% | ±0.75% -40.59%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.613mb +0.00%  | 72.874ms +0.42%  | ±0.54% +51.24%  |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.05%. Comparing base (3024d41) to head (9311417).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1462      +/-   ##
==========================================
+ Coverage   83.03%   83.05%   +0.01%     
==========================================
  Files         663      663              
  Lines       17846    17853       +7     
==========================================
+ Hits        14819    14827       +8     
+ Misses       3027     3026       -1     
Components Coverage Δ
etl 85.77% <100.00%> (+0.01%) ⬆️
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 91.16% <ø> (+0.46%) ⬆️
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% <ø> (ø)
adapter-doctrine 88.68% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.90% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

@norberttech norberttech merged commit b7920bb 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

None yet

Development

Successfully merging this pull request may close these issues.

1 participant