Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • FloatEntry with value 0

Changed

Removed

Deprecated

Security


Description

@github-actions github-actions bot added size: M and removed size: XS labels Jan 14, 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.746mb +0.01%  | 536.342ms -0.53% | ±0.19% -93.16%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.813mb +0.01%  | 1.060s -1.40%    | ±2.58% +20.85%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.465mb +0.00% | 910.207ms -0.70% | ±0.61% +171.23% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.479mb +0.01%  | 33.851ms +1.47%  | ±0.39% -30.38%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.456mb +0.01%  | 602.953ms +0.29% | ±0.81% +244.04% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 108.474mb +0.00% | 58.560ms +0.56% | ±1.72% +303.55% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.021mb +0.00%  | 101.455ms -2.68% | ±1.34% -47.03% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 76.782mb +0.00%  | 93.058ms -1.44%  | ±0.38% -69.04% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.962mb +0.00% | 20.888s +1.42%   | ±0.25% +38.83% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.065mb +0.00%  | 31.227ms -0.60%  | ±0.58% +48.14% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 80.249mb +0.00%  | 3.993ms +15.91%  | ±0.86% -63.18%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 97.524mb +0.00%  | 187.986ms -0.14% | ±0.53% +35.05%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 80.244mb +0.00%  | 18.953ms -1.56%  | ±1.24% +31.87%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 81.123mb +0.00%  | 2.052ms +23.29%  | ±2.65% -3.91%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 81.123mb +0.00%  | 1.982ms +30.07%  | ±2.96% +34.93%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 79.284mb +0.00%  | 4.142ms +14.05%  | ±2.94% +508.34% |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 79.813mb +0.00%  | 15.686ms +6.00%  | ±1.34% +26.36%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 79.813mb +0.00%  | 15.852ms +4.22%  | ±0.48% +259.69% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 78.505mb +0.00%  | 2.194μs +15.84%  | ±2.18% -13.85%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 78.505mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.842mb +0.00%  | 14.014ms +10.17% | ±2.55% +63.69%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 114.189mb +0.00% | 62.360ms +2.49%  | ±0.75% -15.48%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 80.333mb +0.00%  | 1.953ms +26.86%  | ±2.64% +46.20%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 83.623mb +0.00%  | 62.079ms -0.30%  | ±0.16% -50.61%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 81.386mb +0.00%  | 4.479ms +12.09%  | ±1.67% -48.83%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 78.786mb +0.00%  | 44.232ms +1.32%  | ±0.69% +218.64% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 78.786mb +0.00%  | 42.582ms -3.34%  | ±0.48% -41.07%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 78.786mb +0.00%  | 44.238ms +1.95%  | ±0.50% -70.48%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 80.945mb +0.00%  | 8.653ms +5.28%   | ±1.74% +28.51%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 78.695mb +0.00%  | 30.528ms +4.13%  | ±2.04% +12.25%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 78.505mb +0.00%  | 14.588μs +2.82%  | ±0.65% -64.57%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 78.505mb +0.00%  | 17.000μs +11.55% | ±0.96% -70.80%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 97.525mb +0.00%  | 194.014ms +0.32% | ±0.12% -49.42%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 98.640mb +0.00%  | 445.100ms +1.86% | ±1.03% +19.16%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 51.470mb +0.00%  | 225.982ms +2.73% | ±0.82% -51.07%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 13.642mb +0.00%  | 50.516ms +5.54%  | ±1.04% -17.54%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 43.774mb +0.00%  | 365.018ms +1.29% | ±0.19% -64.34%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 11.584mb +0.00%  | 74.197ms +0.62%  | ±0.50% +3.16%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.57%. Comparing base (a2f2a0f) to head (890d2fa).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1369      +/-   ##
==========================================
- Coverage   82.58%   82.57%   -0.01%     
==========================================
  Files         645      645              
  Lines       17337    17337              
==========================================
- Hits        14317    14316       -1     
- Misses       3020     3021       +1     
Components Coverage Δ
etl 86.01% <100.00%> (ø)
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% <ø> (-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.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 57bdf56 into flow-php:1.x Jan 14, 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.

1 participant