Skip to content

Conversation

@stloyd
Copy link
Member

@stloyd stloyd commented Nov 7, 2023

Change Log

Added

Fixed

Changed

  • Move PHAR runtime into `bin`

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 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.270mb +0.01%  | 548.291ms -0.92% | ±0.35% -86.88%  |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.838mb -0.09%   | 425.931ms +2.42% | ±0.52% -69.69%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.993mb -0.01%   | 865.329ms -4.69% | ±1.31% +93.15%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 233.582mb -0.00% | 1.197s +2.59%    | ±1.36% +683.60% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.831mb -0.09%   | 28.133ms -0.57%  | ±1.34% -23.72%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.832mb -0.09%   | 693.097ms -1.07% | ±1.55% +139.99% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+-----------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak        | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+-----------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 87.094mb -0.00% | 81.569ms -0.08% | ±0.52% -17.92% |
+-----------------------------+--------------------------+------+-----+-----------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.466mb -0.00%  | 840.756ms +0.87% | ±0.98% -50.52%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 46.110mb -0.00%  | 83.440ms +0.79%  | ±1.09% -55.05%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 89.744mb -0.00%  | 92.745ms +0.75%  | ±0.58% +108.24% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 285.215mb -0.00% | 2.156s +5.13%    | ±0.29% -73.12%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 16.604mb -0.00%  | 43.647ms -2.68%  | ±1.29% -21.28%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+-----------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak        | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+-----------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 60.703mb -0.00% | 6.336ms +17.80%  | ±1.77% +59.32%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 80.496mb -0.00% | 221.310ms +0.59% | ±1.37% +126.80% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 59.021mb -0.00% | 22.533ms +4.81%  | ±1.09% +149.77% |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 59.842mb -0.00% | 4.092ms +9.84%   | ±1.39% +49.84%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 59.842mb -0.00% | 4.048ms +11.37%  | ±3.23% +191.84% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 59.055mb -0.00% | 5.191ms +10.50%  | ±1.11% -61.08%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 59.584mb -0.00% | 28.976ms +9.57%  | ±0.86% -62.46%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 59.584mb -0.00% | 29.128ms +6.65%  | ±1.32% -52.43%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 57.655mb -0.00% | 2.694μs +7.77%   | ±1.77% -45.87%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 57.655mb -0.00% | 0.500μs 0.00%    | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 65.889mb -0.00% | 17.839ms +5.50%  | ±2.89% +45.27%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 91.408mb -0.00% | 74.927ms -1.05%  | ±1.01% -58.92%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 60.105mb -0.00% | 4.407ms +8.48%   | ±0.84% -72.95%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 62.375mb -0.00% | 58.097ms -1.90%  | ±0.49% +259.34% |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 62.205mb -0.00% | 10.472ms +10.34% | ±1.49% -26.52%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 57.655mb -0.00% | 62.074ms -1.95%  | ±0.82% -0.72%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 57.655mb -0.00% | 62.768ms -2.32%  | ±1.58% -30.48%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 57.655mb -0.00% | 63.404ms -3.37%  | ±0.82% -40.01%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 59.930mb -0.00% | 11.527ms -1.44%  | ±0.37% -67.62%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 57.655mb -0.00% | 47.537ms +1.15%  | ±3.32% +663.21% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 57.655mb -0.00% | 25.894μs +2.90%  | ±0.18% -94.64%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 57.655mb -0.00% | 32.421μs +3.38%  | ±0.39% -57.76%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 80.496mb -0.00% | 222.869ms -1.95% | ±1.37% +78.81%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 92.913mb -0.01% | 181.845ms -5.72% | ±0.31% -86.47%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 48.222mb -0.01% | 92.885ms -4.26%  | ±0.83% -56.31%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 12.559mb -0.05% | 22.239ms -6.37%  | ±0.46% -77.82%  |
+-------------------------+----------------------------+------+-----+-----------------+------------------+-----------------+

@stloyd stloyd force-pushed the chore/bin-runtime branch from e841e1e to d65a600 Compare November 7, 2023 19:35
@stloyd stloyd merged commit d724ca2 into flow-php:1.x Nov 7, 2023
@stloyd stloyd deleted the chore/bin-runtime branch November 7, 2023 19:43
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