Skip to content

Conversation

@stloyd
Copy link
Member

@stloyd stloyd commented Nov 12, 2023

Change Log

Added

Fixed

Changed

Removed

  • Removed DSL functions: `datetime_string()`, `json_string()`

Deprecated

Security


Description

Those functions were removed in favor of accepting string values in related DSL functions:

  • datetime_string() => datetime(),
  • json_string() => json() & json_object()

@github-actions
Copy link
Contributor

github-actions bot commented Nov 12, 2023

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           |
+-----------------------+-------------------+------+-----+------------------+-------------------+------------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 35.272mb +0.01%  | 362.270ms -18.46% | ±0.37% +171.54%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.838mb +0.00%   | 263.668ms -24.22% | ±0.16% -5.05%    |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.008mb +0.00%   | 591.139ms -16.34% | ±1.50% +2553.97% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.705mb +0.00% | 755.729ms -24.75% | ±0.86% +576.58%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.832mb +0.00%   | 19.329ms -17.39%  | ±2.06% +72.47%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.832mb +0.00%   | 403.706ms -27.93% | ±0.67% -22.62%   |
+-----------------------+-------------------+------+-----+------------------+-------------------+------------------+
Transformers
+-----------------------------+--------------------------+------+-----+-----------------+------------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak        | mode             | rstdev        |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 87.098mb +0.00% | 49.136ms -29.96% | ±0.70% +2.33% |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode              | rstdev          |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 95.282mb +0.00%  | 570.631ms -19.68% | ±0.78% -18.58%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 46.115mb -0.00%  | 70.130ms +0.21%   | ±0.27% -40.98%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.559mb +0.00%  | 64.331ms -19.78%  | ±1.07% +59.03%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 292.402mb -0.00% | 1.542s -28.51%    | ±0.27% +34.86%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 16.609mb +0.00%  | 41.199ms +10.18%  | ±0.64% +302.56% |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+-----------------+-------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak        | mode              | rstdev           |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 60.708mb +0.00% | 2.420ms -56.47%   | ±1.15% -45.52%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 80.500mb +0.00% | 153.483ms -14.54% | ±0.90% -30.32%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 59.026mb +0.00% | 15.349ms -14.37%  | ±0.21% -79.65%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 59.846mb +0.00% | 1.815ms -48.41%   | ±3.04% +28.28%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 59.846mb +0.00% | 1.790ms -45.93%   | ±1.14% -69.18%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 59.060mb +0.00% | 2.832ms -39.00%   | ±1.35% -40.76%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 59.589mb +0.00% | 14.506ms -43.50%  | ±0.71% +1078.83% |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 59.588mb +0.00% | 14.320ms -43.97%  | ±1.61% +118.27%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 57.660mb +0.00% | 1.900μs -26.75%   | ±0.00% -100.00%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 57.660mb +0.00% | 0.400μs -20.00%   | ±0.00% +0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 65.893mb +0.00% | 10.418ms -25.77%  | ±1.17% +189.68%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 91.413mb +0.00% | 48.883ms -23.34%  | ±0.24% -61.59%   |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 60.109mb +0.00% | 1.976ms -47.42%   | ±3.44% +139.07%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 62.379mb +0.00% | 33.764ms -34.27%  | ±0.51% -80.89%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 62.210mb +0.00% | 4.851ms -44.79%   | ±2.23% -23.52%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 57.660mb +0.00% | 37.376ms -27.35%  | ±0.70% +67.82%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 57.660mb +0.00% | 38.116ms -26.11%  | ±1.48% +338.87%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 57.660mb +0.00% | 38.132ms -26.42%  | ±1.36% +704.57%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 59.934mb +0.00% | 7.255ms -23.44%   | ±0.86% +24.52%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 57.659mb +0.00% | 28.418ms -25.01%  | ±0.29% -33.76%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 57.660mb +0.00% | 12.900μs -40.24%  | ±0.00% -100.00%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 57.660mb +0.00% | 15.599μs -43.06%  | ±2.09% -18.23%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 80.501mb +0.00% | 155.734ms -13.73% | ±2.16% +271.08%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 93.728mb -0.00% | 123.519ms -21.40% | ±2.54% +557.08%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 48.627mb +0.01% | 62.344ms -22.69%  | ±3.27% +306.70%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 12.655mb -0.00% | 14.308ms -25.60%  | ±0.92% +251.91%  |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+------------------+

@stloyd stloyd force-pushed the feature/json-uuid-entry branch from c0354db to 1773a36 Compare November 12, 2023 12:50
@stloyd stloyd force-pushed the feature/json-uuid-entry branch from 1773a36 to 85f016f Compare November 12, 2023 13:00
@stloyd stloyd merged commit 89cc8c1 into flow-php:1.x Nov 12, 2023
@stloyd stloyd deleted the feature/json-uuid-entry branch November 12, 2023 13:07
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.

2 participants