Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Return integers from Round func when precision is set to 0

Removed

Deprecated

Security


Description

@codecov
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.58%. Comparing base (4e36234) to head (d1adada).
Report is 1 commits behind head on 1.x.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1368   +/-   ##
=======================================
  Coverage   82.58%   82.58%           
=======================================
  Files         645      645           
  Lines       17337    17337           
=======================================
  Hits        14317    14317           
  Misses       3020     3020           
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 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 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% <ø> (ø)

@github-actions
Copy link
Contributor

github-actions bot commented Jan 14, 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.746mb +0.01%  | 538.188ms -0.18% | ±0.26% -90.55%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.813mb +0.01%  | 1.060s -1.39%    | ±0.26% -88.05%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.465mb +0.00% | 917.663ms +0.11% | ±0.70% +213.69% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.479mb +0.01%  | 33.921ms +1.68%  | ±0.54% -4.29%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.456mb +0.01%  | 600.680ms -0.09% | ±0.28% +17.23%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 108.474mb +0.00% | 58.968ms +1.26% | ±2.12% +399.31% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.021mb +0.00%  | 102.304ms -1.87% | ±1.31% -48.35% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 76.782mb +0.00%  | 92.394ms -2.14%  | ±0.31% -75.07% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.962mb +0.00% | 20.709s +0.55%   | ±0.19% +2.33%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.065mb +0.00%  | 30.635ms -2.49%  | ±0.52% +34.57% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 80.249mb +0.00%  | 3.644ms +5.78%   | ±2.28% -2.73%    |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 97.524mb +0.00%  | 189.757ms +0.80% | ±0.84% +114.52%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 80.244mb +0.00%  | 19.181ms -0.38%  | ±0.64% -32.21%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 81.123mb +0.00%  | 1.820ms +9.33%   | ±1.72% -37.37%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 81.123mb +0.00%  | 1.861ms +22.09%  | ±3.56% +62.22%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 79.284mb +0.00%  | 3.982ms +9.63%   | ±3.54% +632.30%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 79.813mb +0.00%  | 15.399ms +4.06%  | ±1.31% +23.09%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 79.813mb +0.00%  | 15.355ms +0.94%  | ±2.52% +1769.79% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 78.505mb +0.00%  | 1.900μs +0.32%   | ±0.00% -100.00%  |
| 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%  | 12.800ms +0.63%  | ±1.21% -22.54%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 114.189mb +0.00% | 60.893ms +0.08%  | ±3.05% +244.00%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 80.333mb +0.00%  | 1.700ms +10.42%  | ±2.05% +13.52%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 83.623mb +0.00%  | 62.302ms +0.06%  | ±0.09% -73.49%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 81.386mb +0.00%  | 4.181ms +4.62%   | ±2.77% -15.12%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 78.786mb +0.00%  | 44.078ms +0.96%  | ±3.41% +1466.68% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 78.786mb +0.00%  | 42.193ms -4.22%  | ±1.55% +91.14%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 78.786mb +0.00%  | 42.091ms -3.00%  | ±0.64% -62.18%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 80.945mb +0.00%  | 8.178ms -0.50%   | ±1.16% -14.53%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 78.695mb +0.00%  | 29.791ms +1.61%  | ±1.29% -29.01%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 78.505mb +0.00%  | 13.940μs -1.75%  | ±3.59% +96.10%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 78.505mb +0.00%  | 15.440μs +1.31%  | ±3.25% -1.27%    |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 97.525mb +0.00%  | 194.109ms +0.37% | ±0.85% +253.90%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 98.640mb +0.00%  | 448.937ms +2.74% | ±1.36% +57.04%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 51.470mb +0.00%  | 231.058ms +5.04% | ±2.29% +36.20%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 13.642mb +0.00%  | 48.754ms +1.86%  | ±0.51% -59.67%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 43.774mb +0.00%  | 362.061ms +0.47% | ±1.19% +128.37%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 11.584mb +0.00%  | 73.343ms -0.54%  | ±0.89% +83.78%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

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