Skip to content

Conversation

@stloyd
Copy link
Member

@stloyd stloyd commented Dec 27, 2024

Change Log

Added

Fixed

  • Adjust Meilisearch adapter to newer library code

Changed

Removed

Deprecated

Security


Description

Based on #1288
Fixes #1282

@github-actions
Copy link
Contributor

github-actions bot commented Dec 27, 2024

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.632mb +0.02%  | 521.289ms -0.55% | ±0.45% -36.40%   |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.736mb +0.02%  | 1.107s -0.29%    | ±1.51% +1129.48% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.382mb +0.00% | 899.276ms -0.63% | ±0.24% -47.93%   |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.365mb +0.03%  | 33.732ms +0.54%  | ±0.51% -37.55%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.341mb +0.03%  | 664.616ms -0.29% | ±1.23% +59.17%   |
+-----------------------+-------------------+------+-----+-----------------+------------------+------------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 114.362mb +0.00% | 60.997ms +1.07% | ±0.05% -96.47% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 55.105mb +0.00%  | 112.002ms -1.11% | ±1.36% +147.17% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 85.507mb +0.00%  | 101.975ms -0.70% | ±1.33% +278.36% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 167.353mb +0.00% | 19.271s +0.17%   | ±2.41% +195.35% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.190mb +0.01%  | 43.318ms -2.44%  | ±0.98% +12.52%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 85.424mb +0.00%  | 3.077ms +0.24%   | ±0.49% +15.35%  |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 102.693mb +0.00% | 188.247ms -1.23% | ±0.75% +120.41% |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 85.413mb +0.00%  | 18.514ms -1.35%  | ±0.65% +75.94%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 86.299mb +0.00%  | 1.369ms -13.34%  | ±1.55% -24.71%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 86.299mb +0.00%  | 1.388ms -0.75%   | ±1.58% +33.54%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 84.460mb +0.00%  | 2.226ms -5.54%   | ±1.18% -49.47%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 84.988mb +0.00%  | 14.989ms -1.27%  | ±1.26% -14.26%  |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 84.988mb +0.00%  | 15.042ms -0.29%  | ±0.49% +71.77%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 83.679mb +0.00%  | 1.800μs +0.34%   | ±0.00% -100.00% |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 83.679mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 92.257mb +0.00%  | 12.762ms -2.85%  | ±2.02% +112.97% |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 120.565mb +0.00% | 59.768ms -1.93%  | ±0.33% -68.59%  |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 85.508mb +0.00%  | 1.148ms -13.86%  | ±0.14% -92.44%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 88.797mb +0.00%  | 59.063ms -1.27%  | ±0.93% -65.08%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 86.561mb +0.00%  | 3.465ms -0.85%   | ±0.42% -67.51%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 83.955mb +0.00%  | 41.236ms +1.79%  | ±1.20% +157.60% |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 83.955mb +0.00%  | 40.283ms -1.82%  | ±1.09% +9.75%   |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 83.955mb +0.00%  | 40.789ms -0.04%  | ±0.59% -48.98%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 86.120mb +0.00%  | 7.541ms -0.03%   | ±0.39% -65.71%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 83.870mb +0.00%  | 29.760ms +1.10%  | ±0.78% +2.72%   |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 83.679mb +0.00%  | 12.959μs -3.58%  | ±1.91% -11.01%  |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 83.679mb +0.00%  | 15.200μs +0.66%  | ±1.07% +98.68%  |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 102.694mb +0.00% | 192.612ms +1.03% | ±0.95% +338.81% |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 50.578mb +0.00%  | 400.132ms +1.01% | ±0.68% +79.50%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 12.994mb +0.01%  | 80.779ms -0.19%  | ±0.54% -58.90%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.836mb +0.00% | 484.559ms +0.54% | ±0.46% -64.05%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.026mb +0.00%  | 243.757ms -0.77% | ±1.29% +40.45%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.548mb +0.01%  | 52.507ms -0.20%  | ±1.04% +41.66%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@stloyd stloyd force-pushed the bugfix/1282 branch 2 times, most recently from 08e742b to fd4ec71 Compare December 27, 2024 17:15
@norberttech norberttech merged commit fff5594 into flow-php:1.x Dec 27, 2024
21 checks passed
@stloyd stloyd deleted the bugfix/1282 branch December 27, 2024 18:39
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.

Meilisearch tests failing randomly

2 participants