Skip to content

Conversation

@stloyd
Copy link
Member

@stloyd stloyd commented Jan 18, 2026

Resolves: #xxx

Change Log


Added

Fixed

Changed

  • Adjust benchmark runs to give more predictable results

Removed

Deprecated

Security

@codecov
Copy link

codecov bot commented Jan 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.85%. Comparing base (a07fc34) to head (f9073d1).
⚠️ Report is 1 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #2153      +/-   ##
==========================================
+ Coverage   83.62%   83.85%   +0.23%     
==========================================
  Files        1269     1269              
  Lines       45476    45476              
==========================================
+ Hits        38030    38136     +106     
+ Misses       7446     7340     -106     
Components Coverage Δ
etl 90.54% <ø> (+0.89%) ⬆️
cli 85.76% <ø> (ø)
lib-array-dot 95.00% <ø> (ø)
lib-azure-sdk 60.01% <ø> (ø)
lib-doctrine-dbal-bulk 95.16% <ø> (ø)
lib-filesystem 80.44% <ø> (ø)
lib-types 88.98% <ø> (+1.51%) ⬆️
lib-parquet 68.25% <ø> (ø)
lib-parquet-viewer 83.04% <ø> (ø)
lib-snappy 90.18% <ø> (+0.46%) ⬆️
bridge-filesystem-async-aws 90.95% <ø> (ø)
bridge-filesystem-azure 89.38% <ø> (ø)
bridge-monolog-http 96.89% <ø> (ø)
bridge-openapi-specification 91.50% <ø> (ø)
symfony-http-foundation 74.11% <ø> (ø)
adapter-chartjs 86.33% <ø> (ø)
adapter-csv 89.30% <ø> (ø)
adapter-doctrine 92.00% <ø> (ø)
adapter-elasticsearch 97.02% <ø> (ø)
adapter-google-sheet 97.05% <ø> (ø)
adapter-http 65.94% <ø> (ø)
adapter-json 89.69% <ø> (ø)
adapter-logger 83.33% <ø> (ø)
adapter-meilisearch 97.77% <ø> (ø)
adapter-parquet 79.92% <ø> (ø)
adapter-text 86.84% <ø> (ø)
adapter-xml 82.66% <ø> (ø)
🚀 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    | 10  | 6.285mb +0.00%  | 483.133ms -0.04% | ±2.67% +26.76%  |
| DbalExtractorBench       | bench_extract_1k_keyset       | 1    | 10  | ERR             | 39.842ms +0.00%  | ±3.09% +0.00%   |
| DbalExtractorBench       | bench_extract_1k_limit_offset | 1    | 10  | ERR             | 36.010ms +0.00%  | ±1.70% +0.00%   |
| ExcelExtractorBench      | bench_extract_10k_ods         | 1    | 10  | 67.417mb +0.00% | 1.370s +2.88%    | ±1.84% +237.20% |
| ExcelExtractorBench      | bench_extract_10k_xlsx        | 1    | 10  | 68.280mb +0.00% | 2.163s -8.00%    | ±3.43% +79.70%  |
| JsonExtractorBench       | bench_extract_10k             | 1    | 10  | 7.003mb +0.00%  | 1.547s +1.63%    | ±1.70% -46.00%  |
| ParquetExtractorBench    | bench_extract_10k             | 1    | 10  | 12.113mb +0.00% | 13.186s +3.88%   | ±2.26% -55.84%  |
| PostgreSqlExtractorBench | bench_extract_1k_cursor       | 1    | 10  | ERR             | 83.872ms +0.00%  | ±1.93% +0.00%   |
| PostgreSqlExtractorBench | bench_extract_1k_keyset       | 1    | 10  | ERR             | 343.830ms +0.00% | ±1.98% +0.00%   |
| PostgreSqlExtractorBench | bench_extract_1k_limit_offset | 1    | 10  | ERR             | 272.827ms +0.00% | ±1.83% +0.00%   |
| TextExtractorBench       | bench_extract_10k             | 1    | 10  | 6.276mb +0.00%  | 81.511ms -3.83%  | ±2.16% -73.94%  |
| XmlExtractorBench        | bench_extract_10k             | 1    | 10  | 6.296mb +0.00%  | 920.850ms +0.68% | ±2.55% -10.71%  |
+--------------------------+-------------------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+---------------------------------+-------------------------+------+-----+----------+-----------+--------+
| benchmark                       | subject                 | revs | its | mem_peak | mode      | rstdev |
+---------------------------------+-------------------------+------+-----+----------+-----------+--------+
| RenameEachEntryTransformerBench | bench_transform_1k_rows | 1    | 10  | 27.075mb | 111.983ms | ±1.28% |
| RenameEntryTransformerBench     | bench_transform_1k_rows | 1    | 10  | 24.179mb | 16.794ms  | ±2.64% |
+---------------------------------+-------------------------+------+-----+----------+-----------+--------+
Loaders
+-----------------------+---------------------+------+-----+------------------+------------------+----------------+
| benchmark             | subject             | revs | its | mem_peak         | mode             | rstdev         |
+-----------------------+---------------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench        | bench_load_1k       | 1    | 10  | 16.195mb         | 16.456ms         | ±2.31%         |
| DbalLoaderBench       | bench_load_1k       | 1    | 10  | 18.430mb         | 90.910ms         | ±2.55%         |
| ExcelLoaderBench      | bench_load_10k_ods  | 1    | 10  | 102.878mb -0.02% | 352.929ms -1.82% | ±2.15% -78.15% |
| ExcelLoaderBench      | bench_load_10k_xlsx | 1    | 10  | 103.014mb -0.03% | 328.818ms -3.85% | ±2.98% +61.92% |
| JsonLoaderBench       | bench_load_1k       | 1    | 10  | ERR              | 14.840ms +0.00%  | ±2.53% +0.00%  |
| ParquetLoaderBench    | bench_load_1k       | 1    | 10  | ERR              | 274.991ms +0.00% | ±2.33% +0.00%  |
| PostgreSqlLoaderBench | bench_load_1k       | 1    | 10  | ERR              | 75.253ms +0.00%  | ±1.42% +0.00%  |
| TextLoaderBench       | bench_load_1k       | 1    | 10  | ERR              | 6.549ms +0.00%   | ±2.10% +0.00%  |
+-----------------------+---------------------+------+-----+------------------+------------------+----------------+
Building Blocks
+-------------------+-----------------------------------+------+-----+-------------------+-------------------+-----------------+
| benchmark         | subject                           | revs | its | mem_peak          | mode              | rstdev          |
+-------------------+-----------------------------------+------+-----+-------------------+-------------------+-----------------+
| TypeDetectorBench | bench_type_detector               | 1    | 10  | 12.868mb -0.00%   | 90.307ms -1.90%   | ±3.09% -33.90%  |
| EntryFactoryBench | bench_entry_factory               | 1    | 10  | 18.446mb -0.01%   | 93.754ms +6.36%   | ±2.24% +26.50%  |
| RowsBench         | bench_diff_left_100_on_1k         | 1    | 10  | 111.234mb -84.60% | 100.194ms -4.92%  | ±2.01% -46.40%  |
| RowsBench         | bench_diff_right_100_on_1k        | 1    | 10  | 111.149mb -84.71% | 109.167ms -6.73%  | ±1.64% -78.04%  |
| RowsBench         | bench_drop_100_on_1k              | 1    | 10  | 111.089mb -84.72% | 39.045μs -37.53%  | ±2.50% -55.37%  |
| RowsBench         | bench_drop_right_10_on_1k         | 1    | 10  | 111.093mb -84.74% | 40.033μs -31.57%  | ±1.75% -70.82%  |
| RowsBench         | bench_entries_on_1k               | 1    | 10  | 111.056mb -84.75% | 205.481μs -5.09%  | ±2.47% -43.81%  |
| RowsBench         | bench_filter_on_1k                | 1    | 10  | 111.033mb -84.75% | 1.059ms +8.15%    | ±2.57% +109.56% |
| RowsBench         | bench_find_on_1k                  | 1    | 10  | 111.066mb -84.76% | 1.007ms +0.55%    | ±2.72% -29.33%  |
| RowsBench         | bench_find_one_on_1k              | 1    | 10  | 111.072mb -84.75% | 1.020ms +3.01%    | ±1.41% -77.41%  |
| RowsBench         | bench_first_on_1k                 | 1    | 10  | 111.059mb -84.76% | 4.000μs -20.00%   | ±0.00% 0.00%    |
| RowsBench         | bench_merge_100_on_1k             | 1    | 10  | 111.065mb -84.73% | 39.006μs -20.40%  | ±1.24% -69.54%  |
| RowsBench         | bench_partition_by_on_1k          | 1    | 10  | 111.142mb -84.69% | 3.224ms -3.59%    | ±2.78% -34.31%  |
| RowsBench         | bench_schema_on_1k_identical_rows | 1    | 10  | 118.677mb -85.03% | 28.187ms -90.23%  | ±1.85% -63.61%  |
| RowsBench         | bench_sort_asc_on_1k              | 1    | 10  | 111.076mb -84.71% | 7.590ms +2.38%    | ±2.32% -55.15%  |
| RowsBench         | bench_sort_by_on_1k               | 1    | 10  | 111.104mb -84.71% | 7.550ms +4.52%    | ±2.36% +262.80% |
| RowsBench         | bench_sort_desc_on_1k             | 1    | 10  | 111.123mb -84.73% | 7.340ms +0.70%    | ±2.40% -47.21%  |
| RowsBench         | bench_sort_entries_on_1k          | 1    | 10  | 111.930mb -84.10% | 7.634ms -2.88%    | ±2.18% -47.13%  |
| RowsBench         | bench_unique_on_1k                | 1    | 10  | 111.236mb -84.66% | 601.218ms -10.78% | ±2.01% -76.37%  |
+-------------------+-----------------------------------+------+-----+-------------------+-------------------+-----------------+
Parquet Library
+--------------------+---------------------------------+------+-----+-----------------+-------------------+-----------------+
| benchmark          | subject                         | revs | its | mem_peak        | mode              | rstdev          |
+--------------------+---------------------------------+------+-----+-----------------+-------------------+-----------------+
| ParquetReaderBench | bench_page_headers              | 1    | 10  | 8.174mb +0.00%  | 2.273s -2.63%     | ±1.27% -53.12%  |
| ParquetReaderBench | bench_read_metadata             | 1    | 10  | 6.803mb +0.00%  | 11.568ms +2.11%   | ±2.56% +14.02%  |
| ParquetReaderBench | bench_read_schema               | 1    | 10  | 6.803mb +0.00%  | 11.716ms +3.51%   | ±2.20% -47.33%  |
| ParquetReaderBench | bench_read_values_all_columns   | 1    | 10  | 10.426mb +0.00% | 7.348s -3.04%     | ±2.59% +69.63%  |
| ParquetReaderBench | bench_read_values_single_column | 1    | 10  | 7.658mb +0.00%  | 273.776ms -9.60%  | ±2.78% +25.84%  |
| ParquetReaderBench | bench_read_values_with_limit    | 1    | 10  | 8.173mb +0.00%  | 26.774ms +4.78%   | ±2.26% +89.24%  |
| ParquetWriterBench | bench_write_batch               | 1    | 10  | 11.373mb +0.00% | 259.435ms +0.16%  | ±2.59% +75.11%  |
| ParquetWriterBench | bench_write_gzip                | 1    | 10  | 11.715mb +0.00% | 283.506ms -8.28%  | ±1.69% -74.19%  |
| ParquetWriterBench | bench_write_row_by_row          | 1    | 10  | 11.373mb +0.00% | 258.496ms -20.68% | ±2.03% -69.65%  |
| ParquetWriterBench | bench_write_snappy              | 1    | 10  | 11.373mb +0.00% | 267.932ms +6.81%  | ±2.83% +46.49%  |
| ParquetWriterBench | bench_write_uncompressed        | 1    | 10  | 11.373mb +0.00% | 282.617ms +17.40% | ±2.81% +717.10% |
+--------------------+---------------------------------+------+-----+-----------------+-------------------+-----------------+

@norberttech
Copy link
Member

24 minutes 😨 Could you try to reduce number of iterations to 5 and keep threshold 5?

@stloyd stloyd closed this Jan 18, 2026
@stloyd stloyd deleted the chore/bench-adjustments branch January 18, 2026 08:55
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