Skip to content

Added more filesystems related examples#1273

Merged
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:features/filesystem-examples
Dec 14, 2024
Merged

Added more filesystems related examples#1273
norberttech merged 1 commit intoflow-php:1.xfrom
norberttech:features/filesystem-examples

Conversation

@norberttech
Copy link
Member

Change Log

Added

    Added more filesystems related examples

Fixed

Changed

Removed

  • development leftover methods from Filesystems

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          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.700mb +0.01%   | 517.463ms +0.61% | ±0.73% +449.99% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.803mb +0.01%   | 1.084s -3.64%    | ±1.13% -23.40%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 102.512mb +0.00% | 966.684ms +2.70% | ±1.26% +19.01%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.429mb +0.01%   | 33.176ms +0.70%  | ±0.33% -37.39%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.410mb +0.01%   | 660.745ms -0.14% | ±0.80% -50.83%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.705mb +0.00% | 59.274ms -0.49% | ±1.37% +6.13% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.897mb -0.00%  | 111.638ms -0.78% | ±2.48% -25.99%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 90.425mb -0.00%  | 106.333ms +0.50% | ±0.23% -8.07%   |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 255.383mb +0.00% | 21.687s +0.66%   | ±1.28% +146.89% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.620mb -0.01%  | 43.463ms -1.75%  | ±0.70% +224.72% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.518mb +0.00%  | 3.541ms -0.55%   | ±1.23% -56.03%   |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 103.055mb +0.00% | 189.568ms -2.95% | ±1.33% +12.18%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.775mb +0.00%  | 18.967ms -1.53%  | ±1.71% +223.26%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.758mb +0.00%  | 1.999ms +7.30%   | ±0.86% -69.25%   |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.758mb +0.00%  | 1.939ms +3.95%   | ±3.32% +54.54%   |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.870mb +0.00%  | 2.865ms -5.98%   | ±2.66% -6.11%    |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 86.399mb +0.00%  | 18.093ms +13.04% | ±0.59% +11.03%   |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 86.399mb +0.00%  | 17.385ms +9.17%  | ±1.93% +1062.32% |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 84.303mb +0.00%  | 1.694μs -5.89%   | ±2.83% +0.00%    |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 84.303mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%     |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.653mb +0.00%  | 12.475ms -1.86%  | ±1.34% -59.09%   |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 123.024mb +0.00% | 61.663ms -0.67%  | ±1.62% +69.48%   |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.918mb +0.00%  | 1.577ms +7.41%   | ±1.06% -52.59%   |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 90.208mb +0.00%  | 61.426ms -4.40%  | ±0.68% -20.80%   |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 89.020mb +0.00%  | 4.328ms +1.82%   | ±0.96% -60.69%   |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 84.386mb +0.00%  | 40.370ms -0.12%  | ±1.40% +71.28%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 84.387mb +0.00%  | 40.377ms -0.57%  | ±0.24% -85.48%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 84.386mb +0.00%  | 40.141ms -2.39%  | ±0.43% +176.15%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.744mb +0.00%  | 7.402ms +1.66%   | ±1.13% +639.93%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 84.303mb +0.00%  | 28.764ms -0.27%  | ±0.45% -19.46%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 84.303mb +0.00%  | 13.944μs +1.78%  | ±2.66% +345.51%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 84.303mb +0.00%  | 16.021μs +0.80%  | ±0.78% +162.92%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 103.057mb +0.00% | 189.223ms -3.92% | ±0.44% +114.71%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 53.305mb +0.00%  | 392.969ms -1.40% | ±0.27% -16.45%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 13.571mb +0.00%  | 79.430ms -3.50%  | ±1.65% -28.13%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 107.543mb +0.00% | 472.988ms -1.28% | ±1.24% +2.56%    |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.901mb +0.00%  | 242.091ms -1.08% | ±0.17% -85.17%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.739mb +0.00%  | 53.252ms +2.27%  | ±0.91% +13.25%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit b4fe644 into flow-php:1.x Dec 14, 2024
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