Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • concurrency issue when creating cache directory

Changed

Removed

Deprecated

Security


Description

@norberttech norberttech linked an issue Apr 10, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.16%. Comparing base (513a43c) to head (18578e2).
Report is 3 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1591      +/-   ##
==========================================
- Coverage   83.16%   83.16%   -0.01%     
==========================================
  Files         702      702              
  Lines       18981    18983       +2     
==========================================
+ Hits        15786    15787       +1     
- Misses       3195     3196       +1     
Components Coverage Δ
etl 86.23% <75.00%> (-0.01%) ⬇️
cli 84.59% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 90.11% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-parquet 84.36% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-snappy 91.16% <ø> (ø)
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 96.38% <ø> (ø)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.57% <ø> (ø)
adapter-doctrine 89.14% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.62% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@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.878mb +0.01%  | 613.622ms +0.20% | ±0.47% -37.30% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.358mb +2.01%  | 1.353s +1.09%    | ±0.96% +41.46% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.476mb +0.00% | 931.426ms -0.29% | ±0.42% -73.03% |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.603mb +0.01%  | 38.988ms -0.36%  | ±0.68% -17.54% |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.577mb +0.01%  | 602.725ms -0.70% | ±0.44% -58.79% |
+-----------------------+-------------------+------+-----+-----------------+------------------+----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.399mb +0.00% | 71.727ms +3.88% | ±2.03% +130.32% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev         |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.045mb +0.00%  | 103.616ms +0.27% | ±0.73% -34.58% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.077mb +0.00%  | 96.421ms +1.26%  | ±0.87% +45.74% |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.559mb +0.00% | 20.695s -0.20%   | ±0.30% -8.09%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.135mb +0.00%  | 31.369ms +0.73%  | ±0.18% -81.50% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev           |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 44.043mb +0.00%  | 458.529ms -1.11% | ±0.90% +102.16%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.853mb +0.00%  | 93.182ms -1.92%  | ±2.39% +99.30%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.508mb +0.00% | 718.059ms -2.55% | ±1.45% +23.62%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.019mb +0.00%  | 361.604ms -1.12% | ±0.80% -27.78%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.797mb +0.00%  | 77.323ms -0.43%  | ±1.35% +427.40%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.062mb +0.00%  | 3.239ms +1.89%   | ±2.61% +110.28%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.418mb +0.00% | 181.633ms +0.23% | ±0.26% -63.33%   |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.138mb +0.00%  | 18.218ms -0.63%  | ±1.46% +115.08%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.937mb +0.00%  | 2.071ms +37.61%  | ±1.43% -15.57%   |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.937mb +0.00%  | 1.705ms +10.29%  | ±1.51% +193.94%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.097mb +0.00%  | 4.488ms +13.30%  | ±1.25% -21.79%   |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.626mb +0.00%  | 16.548ms +3.38%  | ±1.30% +84.38%   |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.626mb +0.00%  | 16.092ms +0.48%  | ±0.63% -48.48%   |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.318mb +0.00%  | 1.706μs 0.00%    | ±2.72% 0.00%     |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.318mb +0.00%  | 0.400μs +33.33%  | ±0.00% +0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.536mb +0.00% | 14.817ms -0.85%  | ±1.64% +1771.92% |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.603mb +0.00% | 71.235ms -0.30%  | ±0.38% -79.32%   |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.146mb +0.00%  | 1.420ms +0.30%   | ±3.38% +67.48%   |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.518mb +0.00% | 62.404ms +2.48%  | ±0.21% -58.36%   |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.199mb +0.00%  | 3.706ms -2.11%   | ±1.03% +11.97%   |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.680mb +0.00%  | 39.390ms -2.37%  | ±2.39% +4.75%    |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.681mb +0.00%  | 41.200ms +2.26%  | ±0.82% +43.72%   |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.680mb +0.00%  | 40.839ms -0.15%  | ±0.98% -50.43%   |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.758mb +0.00%  | 8.267ms +1.57%   | ±0.88% +322.36%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.508mb +0.00%  | 29.905ms +1.37%  | ±1.27% +235.63%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.318mb +0.00%  | 13.200μs -0.89%  | ±0.62% -41.39%   |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.318mb +0.00%  | 15.416μs +0.72%  | ±3.16% +928.96%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.419mb +0.00% | 184.228ms -0.18% | ±0.71% +47.64%   |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+

@norberttech norberttech merged commit 941c4b9 into 1.x Apr 10, 2025
21 of 22 checks passed
@norberttech norberttech deleted the 1590-cache-dir---concurrency branch April 10, 2025 09:43
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.

Cache dir - concurrency

2 participants