Skip to content

Added parquet commands to flow.phar#773

Merged
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:feature/added-parquet-to-phar
Nov 9, 2023
Merged

Added parquet commands to flow.phar#773
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:feature/added-parquet-to-phar

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Added parquet commands to flow.phar

Fixed

Changed

  • renamed phar file to flow.phar

Removed

Deprecated

Security


Description

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 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.271mb +0.00%  | 384.216ms -13.51% | ±2.97% +4166.00% |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.834mb +0.00%   | 270.441ms -21.50% | ±0.20% -56.58%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.999mb +0.00%   | 585.502ms -11.52% | ±0.48% -28.92%   |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 233.588mb +0.00% | 792.164ms -16.39% | ±2.12% +916.67%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.828mb +0.00%   | 19.456ms -21.15%  | ±1.24% +119.45%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.828mb +0.00%   | 402.909ms -22.28% | ±0.83% +39.08%   |
+-----------------------+-------------------+------+-----+------------------+-------------------+------------------+
Transformers
+-----------------------------+--------------------------+------+-----+-----------------+------------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak        | mode             | rstdev         |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 87.095mb +0.00% | 49.110ms -22.77% | ±0.54% -41.02% |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode              | rstdev          |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 95.273mb +0.00%  | 581.174ms -12.60% | ±1.17% +263.39% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 46.111mb +0.00%  | 68.178ms -3.02%   | ±0.61% -61.30%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.550mb +0.00%  | 62.167ms -11.33%  | ±0.41% +33.66%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 286.021mb +0.00% | 1.302s -17.56%    | ±0.18% -59.82%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 16.605mb +0.00%  | 40.717ms +14.88%  | ±0.81% -35.10%  |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+-----------------+-------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak        | mode              | rstdev           |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 60.704mb +0.00% | 2.202ms -34.83%   | ±1.90% +62.86%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 80.496mb +0.00% | 152.172ms -13.49% | ±1.27% +86.22%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 59.022mb +0.00% | 15.201ms -14.75%  | ±0.19% -57.32%   |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 59.843mb +0.00% | 1.739ms -39.36%   | ±1.96% +59.93%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 59.843mb +0.00% | 1.659ms -44.33%   | ±2.99% +1335.99% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 59.056mb +0.00% | 2.634ms -29.81%   | ±0.15% -84.87%   |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 59.585mb +0.00% | 14.098ms -20.03%  | ±0.56% +7.97%    |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 59.585mb +0.00% | 14.012ms -20.69%  | ±0.52% -41.43%   |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 57.656mb +0.00% | 1.706μs -31.76%   | ±2.72% +0.00%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 57.656mb +0.00% | 0.400μs -20.00%   | ±0.00% +0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 65.889mb +0.00% | 10.242ms -26.29%  | ±1.22% -18.84%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 91.409mb +0.00% | 48.569ms -15.85%  | ±1.88% +822.64%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 60.106mb +0.00% | 1.931ms -37.78%   | ±1.19% -17.98%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 62.376mb +0.00% | 33.236ms -19.86%  | ±0.78% +86.58%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 62.206mb +0.00% | 4.721ms -35.04%   | ±1.22% -14.24%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 57.656mb +0.00% | 36.794ms -19.42%  | ±0.24% -28.16%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 57.656mb +0.00% | 37.234ms -18.52%  | ±2.95% +2925.03% |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 57.656mb +0.00% | 37.207ms -19.06%  | ±0.67% +26.27%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 59.930mb +0.00% | 7.351ms -24.10%   | ±0.71% +44.61%   |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 57.655mb +0.00% | 28.188ms -21.14%  | ±0.97% +345.31%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 57.656mb +0.00% | 12.821μs -39.20%  | ±0.98% -20.97%   |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 57.656mb +0.00% | 15.618μs -40.60%  | ±0.90% +401.91%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 80.497mb +0.00% | 157.301ms -11.13% | ±0.63% +105.53%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 93.718mb -0.01% | 123.684ms -18.20% | ±2.10% +439.67%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 48.616mb +0.01% | 62.031ms -19.38%  | ±0.65% +197.53%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 12.640mb -0.00% | 14.234ms -21.54%  | ±0.65% +19.71%   |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+------------------+

@norberttech norberttech merged commit 0b1dc18 into flow-php:1.x Nov 9, 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