Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added String Agg function #1389

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Conversation

norberttech
Copy link
Member

Change Log

Added

  • Added String Agg function

Fixed

  • Links in documentation
  • padding in documentation

Changed

Removed

Deprecated

Security


Description

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.762mb +0.06%  | 536.737ms -1.10% | ±0.65% -30.12%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.829mb +0.06%  | 1.059s -0.64%    | ±0.33% -60.38%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.483mb +0.00% | 898.096ms -0.15% | ±0.19% -76.36%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.494mb +0.06%  | 35.787ms +5.07%  | ±3.02% +466.00% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.471mb +0.06%  | 598.368ms -1.48% | ±0.48% -36.47%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 108.489mb +0.00% | 57.652ms -2.10% | ±1.38% +1.12% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.037mb +0.00%  | 100.829ms +0.08% | ±1.46% -14.92%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 76.798mb +0.00%  | 91.497ms -1.38%  | ±1.45% +21.24%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.981mb +0.00% | 20.522s -0.41%   | ±0.33% +403.08% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.081mb +0.02%  | 31.136ms +5.69%  | ±1.35% -35.85%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 80.254mb +0.00%  | 3.367ms +5.29%   | ±3.43% +206.84% |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 97.533mb +0.00%  | 189.302ms -1.97% | ±0.66% -16.28%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 80.253mb +0.00%  | 18.969ms -0.91%  | ±0.45% +78.15%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 81.129mb +0.00%  | 1.679ms +14.01%  | ±0.84% -42.93%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 81.129mb +0.00%  | 1.580ms +6.30%   | ±2.12% +170.07% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 79.290mb +0.00%  | 3.730ms +3.83%   | ±0.18% -55.73%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 79.819mb +0.00%  | 15.006ms +2.22%  | ±0.06% -97.54%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 79.819mb +0.00%  | 14.986ms +1.08%  | ±0.05% -98.55%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 78.510mb +0.00%  | 1.806μs 0.00%    | ±2.57% 0.00%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 78.510mb +0.00%  | 0.400μs +33.33%  | ±0.00% +0.00%   |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.847mb +0.00%  | 12.817ms +0.97%  | ±0.30% -77.68%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 114.195mb +0.00% | 59.902ms +2.46%  | ±1.99% +195.10% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 80.339mb +0.00%  | 1.660ms +27.29%  | ±3.02% +146.24% |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 83.632mb +0.00%  | 60.962ms -1.08%  | ±0.81% +362.62% |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 81.391mb +0.00%  | 3.846ms +2.36%   | ±0.23% -70.57%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 78.795mb +0.00%  | 42.188ms +0.17%  | ±0.70% +19.10%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 78.795mb +0.00%  | 41.963ms +0.16%  | ±0.51% -52.39%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 78.795mb +0.00%  | 42.059ms -0.42%  | ±1.35% +123.58% |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 80.951mb +0.00%  | 8.129ms -0.98%   | ±1.09% +157.53% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 78.701mb +0.00%  | 29.248ms -0.55%  | ±0.37% -86.23%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 78.510mb +0.00%  | 15.044μs +10.52% | ±2.46% +256.59% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 78.510mb +0.00%  | 16.352μs +6.10%  | ±3.23% +430.33% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 97.534mb +0.00%  | 193.637ms -1.16% | ±0.39% +240.15% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 98.646mb +0.00%  | 446.478ms +1.15% | ±0.80% -26.49%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 51.476mb +0.01%  | 230.126ms +4.01% | ±0.98% +1.83%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 13.648mb +0.02%  | 49.869ms +3.16%  | ±0.96% -9.16%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 43.780mb +0.01%  | 365.566ms +1.15% | ±0.38% -48.91%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 11.589mb +0.02%  | 73.699ms -0.46%  | ±0.46% -61.14%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

Copy link

codecov bot commented Jan 18, 2025

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.52%. Comparing base (f244135) to head (52ed443).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1389      +/-   ##
==========================================
+ Coverage   82.51%   82.52%   +0.01%     
==========================================
  Files         649      650       +1     
  Lines       17418    17434      +16     
==========================================
+ Hits        14372    14387      +15     
- Misses       3046     3047       +1     
Components Coverage Δ
etl 85.83% <93.75%> (+0.01%) ⬆️
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 6d17959 into flow-php:1.x Jan 18, 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