Skip to content

Conversation

@jguittard
Copy link
Contributor

@jguittard jguittard commented Apr 28, 2024

Change Log

Added

Fixed

  • checks on Ramsey UUID concrete class

Changed

Removed

Deprecated

Security


Description

@jguittard jguittard changed the title fixes #1060 fixes #1060 : check on Ramsey UUID concrete class Apr 28, 2024
@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          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 35.299mb +0.35%  | 834.520ms -2.95% | ±1.03% -7.21%   |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 5.019mb +2.46%   | 339.441ms -3.14% | ±0.32% -52.09%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.173mb +0.00%   | 1.090s +1.75%    | ±0.35% +23.79%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 135.845mb +0.00% | 929.734ms +1.90% | ±0.58% -37.54%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.933mb +0.00%   | 36.201ms +1.12%  | ±1.21% +314.29% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.939mb +0.00%   | 431.870ms -1.27% | ±1.22% +181.91% |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 116.239mb +0.00% | 62.698ms +3.50% | ±0.67% -52.13% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 96.684mb +0.13%  | 459.584ms +0.18% | ±0.68% +275.98% |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 55.159mb +0.11%  | 69.040ms +1.99%  | ±0.30% +132.23% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 107.593mb +0.00% | 54.221ms +5.14%  | ±0.53% -72.74%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 227.013mb +0.00% | 1.435s +1.47%    | ±0.23% -35.21%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.976mb +0.00%  | 39.229ms +0.39%  | ±0.49% +405.92% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 87.060mb +0.00%  | 3.736ms +5.68%   | ±1.92% -22.47%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.658mb +0.00% | 195.101ms +0.28% | ±0.79% +8.81%   |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.378mb +0.00%  | 19.327ms -2.40%  | ±1.14% +21.52%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 88.300mb +0.00%  | 1.969ms +4.93%   | ±2.42% -27.71%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 88.300mb +0.00%  | 2.055ms +7.11%   | ±1.58% -37.13%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 85.412mb +0.00%  | 2.751ms -1.52%   | ±2.96% +94.57%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 85.941mb +0.00%  | 16.866ms +1.76%  | ±1.15% -24.17%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 85.941mb +0.00%  | 16.719ms +1.30%  | ±1.72% +63.08%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.845mb +0.00%  | 2.000μs +10.74%  | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.845mb +0.00%  | 0.400μs +33.33%  | ±0.00% +0.00%   |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 93.195mb +0.00%  | 13.022ms +3.36%  | ±2.30% +459.99% |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 122.566mb +0.00% | 64.908ms +3.91%  | ±0.46% +144.48% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 86.460mb +0.00%  | 1.640ms +12.05%  | ±1.70% -40.97%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 89.807mb +0.00%  | 67.916ms +2.02%  | ±0.29% -72.38%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 88.562mb +0.00%  | 4.395ms +6.84%   | ±1.42% +18.07%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 83.988mb +0.00%  | 43.033ms +5.39%  | ±1.43% -25.15%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 83.989mb +0.00%  | 40.315ms -0.11%  | ±1.11% -10.89%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 83.988mb +0.00%  | 41.850ms +1.73%  | ±1.23% +0.01%   |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.286mb +0.00%  | 7.496ms +2.28%   | ±0.40% -62.56%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.845mb +0.00%  | 29.016ms -1.32%  | ±1.84% +182.76% |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.845mb +0.00%  | 14.538μs +6.07%  | ±2.69% +684.27% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.845mb +0.00%  | 16.812μs +5.96%  | ±1.57% +22.11%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.659mb +0.00% | 196.776ms +2.13% | ±0.40% -10.27%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.737mb +0.04% | 514.206ms -2.67% | ±1.37% +16.74%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 60.215mb +0.09%  | 258.154ms -1.10% | ±2.51% +139.57% |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 15.149mb +0.35%  | 54.299ms -1.90%  | ±0.84% -33.74%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.974mb +0.00%  | 441.606ms +1.32% | ±0.70% +3.12%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.514mb +0.00%  | 88.420ms +2.61%  | ±0.34% +1.80%   |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech
Copy link
Member

heh I knew that this “optional dependnecy” thing will bite us one day, need to think about more permanent solution.
Thanks!!!

@norberttech norberttech merged commit d8d93c3 into flow-php:1.x Apr 28, 2024
@jguittard jguittard deleted the fix/uuid-lib branch April 29, 2024 14:34
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