Skip to content

Conversation

@tomaszhanc
Copy link
Contributor

Change Log

Added

Fixed

  • Deprecated notice for using Connection::getSchemaManager()

Changed

Removed

Deprecated

Security


Description

Connection::getSchemaManager() is deprecated, Connection::createSchemaManager() should be used instead.

https://github.com/doctrine/dbal/blob/3.7.x/src/Connection.php#L1695

image

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 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   | 34.749mb +0.00%  | 1.152s +0.26%    | ±1.77% +221.65% |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.605mb +0.01%   | 304.449ms +0.21% | ±0.35% -16.21%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.772mb +0.01%   | 1.394s +0.75%    | ±0.31% +102.61% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 239.477mb +0.00% | 1.576s -0.62%    | ±0.58% +80.25%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.558mb +0.01%   | 24.087ms -2.43%  | ±1.87% +124.11% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.558mb +0.01%   | 404.990ms -0.72% | ±0.54% +15.21%  |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.249mb +0.00% | 64.409ms -6.77% | ±0.39% -73.75% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 94.729mb +0.00%  | 437.781ms -0.85% | ±0.48% +14.28%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.711mb +0.00%  | 70.407ms -1.38%  | ±0.56% -68.48%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 105.312mb +0.00% | 54.983ms -3.14%  | ±0.83% +64.07%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 320.784mb +0.00% | 1.417s -1.84%    | ±1.55% +230.52% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.589mb +0.00%  | 40.628ms -3.25%  | ±0.42% +81.67%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.296mb +0.00%  | 2.184ms -6.67%   | ±0.85% -53.49%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.086mb +0.00%  | 177.459ms -2.02% | ±0.81% -38.57%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.612mb +0.00%  | 17.793ms -1.29%  | ±0.40% -68.88%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 75.434mb +0.00%  | 1.667ms -8.87%   | ±3.00% +35.25%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 75.434mb +0.00%  | 1.616ms -8.39%   | ±1.23% -54.95%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 74.648mb +0.00%  | 2.630ms -2.71%   | ±3.47% +42.90%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.177mb +0.00%  | 13.867ms -4.64%  | ±0.28% -75.94%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.176mb +0.00%  | 13.990ms -1.57%  | ±0.93% +31.01%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.080mb +0.00%  | 1.694μs -11.13%  | ±2.83% +16.00%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.080mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 86.638mb +0.00%  | 12.789ms -8.83%  | ±1.42% -29.55%  |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 115.995mb +0.00% | 64.858ms -4.75%  | ±0.83% -62.09%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 75.697mb +0.00%  | 1.777ms -11.98%  | ±1.73% -38.62%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 77.965mb +0.00%  | 32.694ms -1.18%  | ±0.63% +346.33% |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 77.798mb +0.00%  | 4.558ms -1.23%   | ±2.88% +129.21% |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.222mb +0.00%  | 38.629ms -0.91%  | ±0.47% -76.61%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.223mb +0.00%  | 38.670ms -2.80%  | ±0.75% -70.28%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.222mb +0.00%  | 38.496ms +0.25%  | ±0.57% -59.04%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.522mb +0.00%  | 7.416ms -0.36%   | ±0.89% -18.74%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.079mb +0.00%  | 28.417ms -1.39%  | ±0.28% -89.69%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.080mb +0.00%  | 12.766μs -5.15%  | ±1.60% -35.78%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.080mb +0.00%  | 15.400μs -5.01%  | ±0.00% -100.00% |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.087mb +0.00%  | 182.392ms +0.89% | ±3.27% +783.20% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 115.842mb +0.00% | 758.455ms -0.79% | ±0.24% -78.74%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 59.560mb +0.00%  | 382.921ms -0.13% | ±0.47% +13.01%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.682mb +0.00%  | 79.584ms +0.55%  | ±1.19% -35.53%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@stloyd stloyd merged commit a97b631 into flow-php:1.x Nov 18, 2023
@tomaszhanc tomaszhanc deleted the fix/doctrine-deprecation-notice branch November 18, 2023 19:03
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