Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • Moved FlowIntegrationTestCase to the same namespace as FlowTestCase

Removed

Deprecated

Security


Description

The purpose of this pr is to mostly test codecov integration

@github-actions
Copy link
Contributor

github-actions bot commented Dec 29, 2024

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.715mb +0.01%  | 519.840ms +0.85% | ±1.41% +270.75% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.819mb +0.01%  | 1.113s +0.29%    | ±0.79% +19.44%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.465mb +0.00% | 916.662ms -0.31% | ±2.91% +174.51% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.448mb +0.01%  | 34.371ms +0.46%  | ±1.16% +30.31%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.424mb +0.01%  | 663.235ms +1.02% | ±0.81% -27.06%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 114.445mb +0.00% | 62.872ms +1.47% | ±1.20% -21.97% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 55.188mb +0.00%  | 114.748ms +1.28% | ±1.12% -7.40%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 85.655mb +0.00%  | 103.290ms +0.12% | ±1.34% +14.93% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 167.441mb +0.00% | 19.323s -0.29%   | ±0.25% -50.68% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.273mb +0.00%  | 44.212ms -0.69%  | ±0.20% -81.84% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 85.501mb +0.00%  | 3.089ms -10.32%  | ±0.26% -91.14%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.771mb +0.00% | 190.809ms +0.58% | ±1.01% +55.58%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.491mb +0.00%  | 18.264ms -1.90%  | ±1.01% -34.50%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 86.376mb +0.00%  | 1.494ms -8.63%   | ±1.58% -52.95%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 86.376mb +0.00%  | 1.423ms -12.66%  | ±0.22% -93.47%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 84.537mb +0.00%  | 2.320ms -7.86%   | ±0.76% -67.15%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.066mb +0.00%  | 14.380ms -2.67%  | ±1.27% -24.00%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.066mb +0.00%  | 14.586ms -5.60%  | ±0.70% -71.94%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.757mb +0.00%  | 1.800μs +5.88%   | ±0.00% 0.00%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.757mb +0.00%  | 0.400μs +33.33%  | ±0.00% +0.00%   |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 92.335mb +0.00%  | 13.054ms -0.27%  | ±1.44% -7.21%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 120.642mb +0.00% | 60.712ms -4.24%  | ±1.44% +968.32% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 85.585mb +0.00%  | 1.208ms -11.46%  | ±2.72% +37.87%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 88.874mb +0.00%  | 62.495ms +1.03%  | ±1.79% +32.84%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 86.638mb +0.00%  | 3.492ms -3.59%   | ±0.94% -54.01%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.032mb +0.00%  | 40.593ms -4.10%  | ±0.42% -70.26%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.033mb +0.00%  | 41.390ms -2.45%  | ±0.44% -68.15%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.032mb +0.00%  | 41.355ms -1.22%  | ±1.98% +91.20%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.197mb +0.00%  | 7.702ms -1.57%   | ±0.85% -10.03%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.947mb +0.00%  | 29.283ms -1.76%  | ±0.42% +79.64%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.757mb +0.00%  | 13.294μs -3.26%  | ±0.36% -80.58%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.757mb +0.00%  | 15.321μs -3.57%  | ±0.82% +37.20%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.776mb +0.00% | 188.376ms -0.46% | ±0.88% -7.31%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 50.656mb +0.00%  | 400.037ms +0.31% | ±0.77% +108.78% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.071mb +0.00%  | 80.828ms -2.16%  | ±0.43% -61.55%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.913mb +0.00% | 488.186ms +0.59% | ±0.85% -20.95%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.104mb +0.00%  | 243.397ms -1.37% | ±0.41% -44.10%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.626mb +0.00%  | 52.347ms -2.47%  | ±0.49% -40.25%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Dec 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (1.x@945ecd9). Learn more about missing BASE report.
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@          Coverage Diff           @@
##             1.x    #1305   +/-   ##
======================================
  Coverage       ?   80.75%           
======================================
  Files          ?      583           
  Lines          ?    16037           
  Branches       ?        0           
======================================
  Hits           ?    12951           
  Misses         ?     3086           
  Partials       ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@norberttech norberttech merged commit 4b8cf2b into flow-php:1.x Dec 29, 2024
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