Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Improved Type template

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.744mb +0.01%  | 536.531ms -1.20% | ±1.87% -11.85%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.811mb +0.01%  | 1.058s +0.39%    | ±0.20% -53.27%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.463mb +0.00% | 904.582ms +0.35% | ±0.34% -38.52%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.477mb +0.01%  | 34.230ms +1.43%  | ±0.60% +52.00%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.454mb +0.01%  | 598.417ms -1.19% | ±2.35% +329.41% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 108.472mb +0.00% | 59.867ms +1.15% | ±1.17% +339.45% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.020mb +0.00%  | 100.400ms -2.38% | ±0.65% -58.73%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 76.780mb +0.00%  | 92.960ms -0.13%  | ±0.37% -56.72%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.960mb +0.00% | 20.460s +0.12%   | ±0.06% -2.28%   |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.063mb +0.00%  | 30.721ms -0.26%  | ±0.24% +139.06% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 80.247mb +0.00%  | 3.520ms +9.80%   | ±1.66% -23.95%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 97.523mb +0.00%  | 189.740ms +1.59% | ±0.78% -52.16%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 80.243mb +0.00%  | 19.253ms +3.48%  | ±0.60% -33.37%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 81.122mb +0.00%  | 1.472ms +0.61%   | ±2.05% +4.29%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 81.122mb +0.00%  | 1.535ms +0.65%   | ±2.62% +86.25%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 79.283mb +0.00%  | 3.612ms -2.07%   | ±1.92% -8.06%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 79.812mb +0.00%  | 15.024ms -0.99%  | ±0.34% -55.32%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 79.812mb +0.00%  | 15.188ms +2.37%  | ±1.14% +52.23%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 78.503mb +0.00%  | 1.900μs +11.76%  | ±0.00% +0.00%   |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 78.503mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.840mb +0.00%  | 12.685ms +1.48%  | ±0.77% -7.64%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 114.188mb +0.00% | 59.725ms -1.03%  | ±1.65% +4.90%   |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 80.332mb +0.00%  | 1.365ms -3.86%   | ±0.54% -59.79%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 83.622mb +0.00%  | 61.772ms +2.58%  | ±0.53% -67.53%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 81.384mb +0.00%  | 3.744ms -6.55%   | ±2.02% +566.05% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 78.784mb +0.00%  | 44.238ms +6.29%  | ±2.07% +247.53% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 78.785mb +0.00%  | 43.855ms +4.92%  | ±1.84% +428.83% |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 78.784mb +0.00%  | 42.963ms +2.20%  | ±3.21% +202.06% |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 80.944mb +0.00%  | 8.092ms -1.97%   | ±0.65% -11.11%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 78.693mb +0.00%  | 29.118ms -1.88%  | ±1.31% +523.73% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 78.503mb +0.00%  | 13.899μs -0.45%  | ±1.76% -35.30%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 78.503mb +0.00%  | 16.430μs +1.21%  | ±1.42% -56.28%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 97.524mb +0.00%  | 195.332ms +1.94% | ±0.16% -72.33%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 98.639mb +0.00%  | 441.321ms +0.19% | ±0.38% +44.55%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 51.469mb +0.00%  | 222.516ms -0.27% | ±0.60% -29.67%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 13.641mb +0.00%  | 48.555ms -1.38%  | ±1.41% +6.82%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 43.773mb +0.00%  | 360.152ms -0.32% | ±0.65% +10.96%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 11.582mb +0.00%  | 73.044ms -0.91%  | ±3.24% +275.76% |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Jan 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.55%. Comparing base (432fee2) to head (b7628a2).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1357   +/-   ##
=======================================
  Coverage   82.55%   82.55%           
=======================================
  Files         643      643           
  Lines       17307    17307           
=======================================
  Hits        14288    14288           
  Misses       3019     3019           
Components Coverage Δ
etl 85.97% <ø> (ø)
cli 85.17% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 97.36% <ø> (ø)
lib-filesystem 76.23% <ø> (ø)
lib-parquet 84.57% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-rdsl 87.09% <ø> (ø)
lib-snappy 90.69% <ø> (ø)
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 90.14% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 92.85% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 59.88% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

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