Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Window function count
  • Window function dens rank

Fixed

  • Window function rank

Changed

Removed

Deprecated

Security


Description

@github-actions
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         |
+-----------------------+-------------------+------+-----+------------------+-------------------+----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 34.719mb +0.00%  | 511.476ms +16.71% | ±0.44% -54.07% |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.579mb +0.02%   | 399.253ms +17.59% | ±0.43% +63.58% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.750mb +0.02%   | 819.991ms +15.86% | ±0.42% -16.07% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.447mb +0.00% | 1.117s +15.49%    | ±0.81% -1.26%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.572mb +0.02%   | 27.181ms +18.87%  | ±0.87% +46.05% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.572mb +0.02%   | 667.510ms +20.65% | ±1.01% +65.54% |
+-----------------------+-------------------+------+-----+------------------+-------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+-----------------+------------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak        | mode             | rstdev        |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 86.836mb +0.00% | 77.369ms +14.50% | ±1.73% +5.42% |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode              | rstdev          |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.959mb +0.00%  | 805.030ms +12.25% | ±0.38% -78.02%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 45.791mb +0.00%  | 78.508ms +12.74%  | ±0.27% -67.22%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.301mb +0.00%  | 88.708ms +17.20%  | ±1.10% +219.98% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 292.143mb +0.00% | 2.465s +17.52%    | ±0.51% +183.49% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 16.351mb +0.01%  | 41.363ms +11.67%  | ±1.69% +330.37% |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+-----------------+-------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak        | mode              | rstdev          |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 60.435mb +0.00% | 4.586ms +18.38%   | ±3.33% +457.01% |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 80.162mb +0.00% | 208.055ms +17.62% | ±0.31% -43.02%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 58.688mb +0.00% | 21.113ms +18.21%  | ±0.96% +379.97% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 59.574mb +0.00% | 3.198ms +15.97%   | ±1.28% +93.10%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 59.574mb +0.00% | 3.171ms +13.93%   | ±0.54% +21.66%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 58.787mb +0.00% | 4.663ms +25.18%   | ±1.21% +8.68%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 59.316mb +0.00% | 26.649ms +18.95%  | ±1.04% -10.13%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 59.316mb +0.00% | 26.449ms +18.06%  | ±1.59% +720.21% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 57.387mb +0.00% | 2.594μs +17.92%   | ±1.84% -50.51%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 57.387mb +0.00% | 0.500μs +25.00%   | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 65.620mb +0.00% | 15.443ms +13.01%  | ±2.56% +576.42% |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 91.140mb +0.00% | 70.038ms +15.56%  | ±0.32% +16.01%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 59.837mb +0.00% | 3.808ms +24.10%   | ±3.13% +193.03% |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 62.041mb +0.00% | 53.446ms +17.22%  | ±1.15% +120.02% |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 61.937mb +0.00% | 8.860ms +15.90%   | ±1.77% +466.88% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 57.387mb +0.00% | 58.734ms +17.03%  | ±0.41% -70.97%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 57.387mb +0.00% | 59.093ms +18.15%  | ±0.39% +439.17% |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 57.387mb +0.00% | 59.624ms +18.35%  | ±0.90% +529.78% |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 59.661mb +0.00% | 10.989ms +18.14%  | ±2.16% +311.99% |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 57.387mb +0.00% | 44.445ms +19.38%  | ±0.78% -73.38%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 57.387mb +0.00% | 25.106μs +20.26%  | ±0.19% -79.34%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 57.387mb +0.00% | 32.505μs +25.40%  | ±2.08% +330.46% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 80.163mb +0.00% | 212.278ms +17.13% | ±0.56% -69.93%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 93.391mb -0.00% | 183.399ms +18.27% | ±2.03% +106.34% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 48.292mb +0.00% | 91.749ms +16.69%  | ±0.76% -35.49%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 12.311mb +0.05% | 21.676ms +17.63%  | ±1.83% +170.40% |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+-----------------+

@norberttech norberttech merged commit 758db61 into flow-php:1.x Nov 14, 2023
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