Skip to content

New blog post - scalar functions#1174

Merged
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:feature/scala-functions-blog-post
Aug 8, 2024
Merged

New blog post - scalar functions#1174
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:feature/scala-functions-blog-post

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • New blog post about scalar functions

Fixed

Changed

  • Simplified posts HTML syntax
  • Minor UX adjustments on landing page and blog

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 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.131mb +0.01%  | 513.360ms +0.50% | ±0.49% +127.76% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.263mb +0.01%  | 1.063s -0.52%    | ±1.32% +242.12% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 28.725mb +0.00% | 440.779ms +1.46% | ±0.58% -59.96%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 3.890mb +0.01%  | 34.120ms -0.23%  | ±0.51% -67.30%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 3.880mb +0.01%  | 759.604ms +0.57% | ±2.35% +47.45%  |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.232mb +0.00% | 60.765ms +4.02% | ±0.71% -67.21% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+-----------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode            | rstdev         |
+--------------------+----------------+------+-----+------------------+-----------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.353mb +0.00%  | 87.301ms +3.45% | ±0.16% -90.59% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 102.675mb +0.00% | 55.380ms +5.25% | ±0.49% +7.24%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 124.005mb +0.00% | 1.253s +2.28%   | ±0.59% -6.41%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.147mb +0.00%  | 44.452ms +0.64% | ±0.09% -96.51% |
+--------------------+----------------+------+-----+------------------+-----------------+----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-------------------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev                        |
+-------------------------+----------------------------+------+-----+------------------+------------------+-------------------------------+
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 52.812mb +0.00%  | 390.455ms +0.56% | ±0.24% +35.59%                |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.078mb +0.00%  | 79.735ms +1.09%  | ±0.24% -52.84%                |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.005mb +0.00% | 479.239ms +2.91% | ±2.03% +329.90%               |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.363mb +0.00%  | 244.780ms +2.52% | ±1.56% +23.53%                |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.201mb +0.00%  | 53.811ms +6.00%  | ±1.14% +31.63%                |
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 86.988mb +0.00%  | 3.718ms +11.79%  | ±1.01% -37.23%                |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.592mb +0.00% | 188.123ms +1.48% | ±0.39% +111.63%               |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.312mb +0.00%  | 18.955ms +1.84%  | ±0.45% +45.03%                |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.228mb +0.00%  | 1.875ms +10.96%  | ±1.93% +200.87%               |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.228mb +0.00%  | 1.938ms +14.54%  | ±2.46% +114.55%               |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.340mb +0.00%  | 2.897ms +15.01%  | ±1.68% +197.54%               |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.869mb +0.00%  | 17.051ms +6.26%  | ±0.52% -39.52%                |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.869mb +0.00%  | 17.154ms +10.23% | ±0.71% -31.02%                |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.773mb +0.00%  | 1.994μs +24.62%  | ±2.40% +17272004535663000.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.773mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%                  |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.123mb +0.00%  | 13.270ms +8.05%  | ±3.68% +494.12%               |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.494mb +0.00% | 62.312ms +3.50%  | ±0.73% +187.21%               |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.389mb +0.00%  | 1.498ms +16.06%  | ±2.61% -13.43%                |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 89.740mb +0.00%  | 61.667ms +3.78%  | ±0.54% +72.22%                |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.490mb +0.00%  | 4.220ms +8.19%   | ±3.43% +307.22%               |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 83.922mb +0.00%  | 41.076ms +4.38%  | ±1.06% +1.86%                 |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 83.923mb +0.00%  | 40.794ms +3.44%  | ±1.41% +48.14%                |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 83.922mb +0.00%  | 41.608ms +6.49%  | ±0.92% -17.51%                |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.214mb +0.00%  | 7.461ms +0.10%   | ±1.20% +34.37%                |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.773mb +0.00%  | 28.954ms +0.88%  | ±1.26% +201.19%               |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.773mb +0.00%  | 14.820μs +9.12%  | ±1.15% +10.12%                |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.773mb +0.00%  | 16.718μs +6.63%  | ±0.84% +6.19%                 |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.593mb +0.00% | 195.568ms +3.83% | ±1.79% +403.77%               |
+-------------------------+----------------------------+------+-----+------------------+------------------+-------------------------------+

@norberttech norberttech merged commit 3faf80c into flow-php:1.x Aug 8, 2024
@norberttech norberttech deleted the feature/scala-functions-blog-post branch December 5, 2024 20:18
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