Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Api References to all packages

Fixed

Changed

Removed

Deprecated

Security


Description

Resolves: #1445

image image

@github-actions
Copy link
Contributor

github-actions bot commented Feb 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.798mb +0.01%  | 553.340ms -0.12% | ±1.20% +829.78% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.871mb +0.00%  | 1.069s +1.40%    | ±0.28% -53.94%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.312mb +0.00% | 927.390ms +4.38% | ±1.31% -50.32%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.528mb +0.01%  | 35.587ms -0.35%  | ±0.57% -11.59%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.502mb +0.01%  | 605.167ms -0.38% | ±0.10% -87.57%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.324mb +0.00% | 71.905ms +1.37% | ±0.61% +33.86% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 63.995mb +0.00%  | 103.548ms +1.04% | ±2.19% +168.47% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.342mb +0.00%  | 99.154ms +2.51%  | ±0.81% +173.74% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.183mb +0.00% | 20.928s +1.35%   | ±0.88% +251.05% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.994mb +0.00%  | 32.202ms +0.42%  | ±0.29% -80.81%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.967mb +0.00% | 463.036ms -0.74% | ±2.16% +358.91% |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.158mb +0.00%  | 228.200ms -1.93% | ±0.67% -7.43%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.680mb +0.00%  | 50.779ms +0.63%  | ±1.30% +49.06%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.011mb +0.00%  | 3.369ms -0.53%   | ±2.66% -14.04%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.293mb +0.00% | 185.440ms -1.14% | ±0.31% -56.59%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.013mb +0.00%  | 18.696ms -0.08%  | ±0.99% +62.38%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.885mb +0.00%  | 1.631ms +8.72%   | ±1.49% +83.82%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.885mb +0.00%  | 1.444ms +0.35%   | ±2.20% -34.05%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.046mb +0.00%  | 4.161ms -1.87%   | ±2.59% +52.46%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.575mb +0.00%  | 16.403ms -0.99%  | ±0.21% -74.40%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.575mb +0.00%  | 16.624ms +2.41%  | ±0.41% -59.43%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.266mb +0.00%  | 1.894μs +5.57%   | ±2.53% -5.36%   |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.266mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.484mb +0.00% | 15.653ms +7.30%  | ±2.81% +684.21% |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.552mb +0.00% | 74.381ms +1.82%  | ±1.27% +165.57% |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.095mb +0.00%  | 1.296ms -4.11%   | ±3.35% -9.43%   |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.393mb +0.00% | 64.078ms -0.06%  | ±0.57% -33.02%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.148mb +0.00%  | 3.942ms +6.32%   | ±3.46% +570.81% |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.555mb +0.00%  | 41.883ms -0.36%  | ±0.98% +46.22%  |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.555mb +0.00%  | 41.563ms -1.63%  | ±0.20% -79.85%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.555mb +0.00%  | 41.680ms -1.83%  | ±0.51% -36.30%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.707mb +0.00%  | 8.199ms -0.54%   | ±0.24% -45.60%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.457mb +0.00%  | 29.480ms -0.32%  | ±0.49% +11.50%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.266mb +0.00%  | 14.066μs +4.55%  | ±1.45% -56.25%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.266mb +0.00%  | 16.534μs +10.14% | ±2.65% +323.58% |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.294mb +0.00% | 188.121ms -1.41% | ±0.66% +21.75%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.803mb +0.00%  | 361.702ms +0.11% | ±0.77% +6.99%   |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.612mb +0.00%  | 73.011ms +0.53%  | ±0.41% -70.20%  |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

}

#[Route('/documentation/api/{page}', name: 'documentation_api', requirements: ['page' => '.*'])]
public function apiPage(string $page) : Response
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is only for development, it's not being dumped to a static html build but without it we won't be able to see those api references static html's during development

@codecov
Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.02%. Comparing base (75fbfea) to head (48fac20).
Report is 7 commits behind head on 1.x.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1454   +/-   ##
=======================================
  Coverage   83.02%   83.02%           
=======================================
  Files         662      662           
  Lines       17816    17816           
=======================================
  Hits        14791    14791           
  Misses       3025     3025           
Components Coverage Δ
etl 85.73% <ø> (ø)
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% <ø> (ø)
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 88.54% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.81% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

@norberttech norberttech merged commit 58acd71 into flow-php:1.x Feb 7, 2025
23 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.

Auto generate Flow API documentation

1 participant