Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

Removed

  • Removed logger from parquet

Deprecated

Security


Description

Initially, I was using it to debug different parts of parquet, mostly algorithms, however now, even on small files those logs have become extremely unreadable.
I'm removing the logger from parquet for now, end users will not get anything from it anyway, and it's adding some additional method executions that are affecting performance in some (probably not very significant) way.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 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   | 44.091mb +0.00%  | 433.687ms -26.54% | ±0.20% -88.06% |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 13.976mb +0.00%  | 349.793ms -25.28% | ±0.23% -63.66% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 18.638mb +0.00%  | 722.371ms -20.05% | ±0.37% -55.96% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 237.754mb -0.03% | 1.004s -24.44%    | ±0.05% -96.76% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 7.246mb +0.00%   | 19.036ms -21.56%  | ±0.90% -39.73% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 7.593mb +0.00%   | 629.322ms -24.01% | ±0.25% -79.79% |
+-----------------------+-------------------+------+-----+------------------+-------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+-----------------+------------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak        | mode             | rstdev         |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 87.032mb +0.00% | 68.663ms -26.23% | ±1.28% -53.12% |
+-----------------------------+--------------------------+------+-----+-----------------+------------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode              | rstdev          |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 93.195mb +0.00%  | 710.462ms -24.30% | ±1.24% -50.88%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 47.109mb +0.00%  | 71.056ms -29.62%  | ±1.83% +255.59% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 88.543mb +0.00%  | 77.869ms -18.90%  | ±0.76% -63.57%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 281.654mb -0.02% | 1.605s -24.33%    | ±0.48% -54.19%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 16.531mb +0.00%  | 36.546ms -23.61%  | ±2.13% -17.77%  |
+--------------------+----------------+------+-----+------------------+-------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+-----------------+-------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak        | mode              | rstdev          |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 60.656mb +0.00% | 4.384ms -23.40%   | ±3.09% -13.39%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 80.448mb +0.00% | 179.226ms -21.43% | ±0.56% -60.53%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 58.974mb +0.00% | 17.926ms -23.24%  | ±0.21% -77.19%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 59.795mb +0.00% | 3.127ms -19.45%   | ±1.24% +127.94% |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 59.795mb +0.00% | 3.112ms -20.73%   | ±2.38% +290.51% |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 59.008mb +0.00% | 3.949ms -19.91%   | ±1.53% -41.98%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 59.537mb +0.00% | 22.811ms -17.47%  | ±1.41% -16.09%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 59.536mb +0.00% | 22.648ms -17.86%  | ±0.66% -63.62%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 57.608mb +0.00% | 2.500μs -13.43%   | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 57.608mb +0.00% | 0.500μs 0.00%     | ±0.00% 0.00%    |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 65.841mb +0.00% | 13.984ms -27.49%  | ±0.57% -65.31%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 91.361mb +0.00% | 62.158ms -26.44%  | ±0.41% -79.14%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 60.057mb +0.00% | 3.452ms -21.38%   | ±1.72% -18.39%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 62.327mb +0.00% | 48.950ms -16.53%  | ±0.18% -93.18%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 62.158mb +0.00% | 7.972ms -22.72%   | ±1.54% -40.77%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 57.608mb +0.00% | 50.813ms -20.63%  | ±1.10% -4.66%   |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 57.608mb +0.00% | 51.415ms -19.51%  | ±0.28% -68.15%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 57.608mb +0.00% | 51.335ms -21.92%  | ±0.05% -97.74%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 59.882mb +0.00% | 9.392ms -24.21%   | ±0.45% -79.29%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 57.607mb +0.00% | 37.499ms -20.13%  | ±1.45% +105.00% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 57.608mb +0.00% | 21.283μs -35.06%  | ±1.01% -62.05%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 57.608mb +0.00% | 26.218μs -38.83%  | ±0.54% -85.18%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 80.449mb +0.00% | 178.543ms -21.40% | ±0.29% -77.19%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 91.717mb +0.01% | 147.524ms -26.15% | ±0.54% -78.39%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 47.599mb -0.00% | 74.742ms -27.83%  | ±0.55% -83.94%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 12.388mb -0.04% | 17.974ms -24.67%  | ±0.60% -67.86%  |
+-------------------------+----------------------------+------+-----+-----------------+-------------------+-----------------+

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