Skip to content

Conversation

@norberttech
Copy link
Member

  • added: Benchmark documentation explaining infrastructure, workflow, and how to run benchmarks
  • changed: GitHub Actions benchmarks now run on dedicated self-hosted runner (flow-php-runner) for consistent results

Resolves: #xxx

Change Log


Added

  • Benchmark documentation explaining infrastructure, workflow, and how to run benchmarks

Changed

  • GitHub Actions benchmarks now run on dedicated self-hosted runner (flow-php-runner) for consistent results

- added: Benchmark documentation explaining infrastructure, workflow,
and how to run benchmarks
- changed: GitHub Actions benchmarks now run on dedicated self-hosted
runner (flow-php-runner) for consistent results
@codecov
Copy link

codecov bot commented Jan 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.33%. Comparing base (fe5ddee) to head (ea548a2).
⚠️ Report is 5 commits behind head on 1.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #2140      +/-   ##
==========================================
+ Coverage   83.08%   83.33%   +0.24%     
==========================================
  Files        1178     1178              
  Lines       42158    42158              
==========================================
+ Hits        35029    35131     +102     
+ Misses       7129     7027     -102     
Components Coverage Δ
etl 90.55% <ø> (+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 89.71% <ø> (ø)
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    | 2   | 6.013mb +1.22%  | 557.653ms +71.28% | ±4.56% +1591.06%  |
| DbalExtractorBench       | bench_extract_10k_keyset       | 1    | 2   | 41.618mb +0.18% | 405.536ms +70.68% | ±2.21% +30.02%    |
| DbalExtractorBench       | bench_extract_10k_limit_offset | 1    | 2   | 41.603mb +0.17% | 384.971ms +91.04% | ±8.48% +4206.23%  |
| ExcelExtractorBench      | bench_extract_10k_ods          | 1    | 2   | 67.144mb +0.11% | 1.586s +93.06%    | ±2.42% +609.60%   |
| ExcelExtractorBench      | bench_extract_10k_xlsx         | 1    | 2   | 67.941mb +0.11% | 2.354s +65.19%    | ±1.32% +3712.75%  |
| JsonExtractorBench       | bench_extract_10k              | 1    | 2   | 6.673mb +1.10%  | 1.642s +78.70%    | ±2.82% +5166.85%  |
| ParquetExtractorBench    | bench_extract_10k              | 1    | 2   | 11.858mb -0.08% | 13.872s +33.03%   | ±2.75% +86.74%    |
| PostgreSqlExtractorBench | bench_extract_10k_cursor       | 1    | 2   | 43.304mb +0.14% | 414.054ms +67.97% | ±6.50% +6166.68%  |
| PostgreSqlExtractorBench | bench_extract_10k_keyset       | 1    | 2   | 43.297mb +0.20% | 624.638ms +42.82% | ±3.68% +169.17%   |
| PostgreSqlExtractorBench | bench_extract_10k_limit_offset | 1    | 2   | 43.298mb +0.15% | 585.799ms +51.80% | ±3.60% +10110.32% |
| TextExtractorBench       | bench_extract_10k              | 1    | 2   | 6.003mb +1.22%  | 79.931ms +37.22%  | ±5.80% +2129.34%  |
| XmlExtractorBench        | bench_extract_10k              | 1    | 2   | 6.023mb +1.22%  | 916.433ms +54.15% | ±1.59% +385.89%   |
+--------------------------+--------------------------------+------+-----+-----------------+-------------------+-------------------+
Transformers
+---------------------------------+--------------------------+------+-----+------------------+-------------------+------------------+
| benchmark                       | subject                  | revs | its | mem_peak         | mode              | rstdev           |
+---------------------------------+--------------------------+------+-----+------------------+-------------------+------------------+
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1    | 2   | 26.802mb +0.27%  | 121.122ms +61.33% | ±8.88% +1050.95% |
| RenameEntryTransformerBench     | bench_transform_10k_rows | 1    | 2   | 182.068mb +0.04% | 166.302ms +82.22% | ±1.67% +3797.00% |
+---------------------------------+--------------------------+------+-----+------------------+-------------------+------------------+
Loaders
+-----------------------+---------------------+------+-----+------------------+-------------------+-------------------+
| benchmark             | subject             | revs | its | mem_peak         | mode              | rstdev            |
+-----------------------+---------------------+------+-----+------------------+-------------------+-------------------+
| CSVLoaderBench        | bench_load_10k      | 1    | 2   | 102.147mb +0.02% | 142.167ms +29.30% | ±5.83% +124.04%   |
| DbalLoaderBench       | bench_load_10k      | 1    | 2   | 108.509mb +0.05% | 699.869ms +71.20% | ±0.15% -91.45%    |
| ExcelLoaderBench      | bench_load_10k_ods  | 1    | 2   | 102.568mb +0.07% | 336.010ms +38.90% | ±2.36% +1143.93%  |
| ExcelLoaderBench      | bench_load_10k_xlsx | 1    | 2   | 102.753mb +0.06% | 366.129ms +47.91% | ±4.04% +5695.00%  |
| JsonLoaderBench       | bench_load_10k      | 1    | 2   | 102.075mb +0.08% | 123.543ms +24.36% | ±5.76% +10399.88% |
| ParquetLoaderBench    | bench_load_10k      | 1    | 2   | 137.512mb -5.35% | 3.383s +52.21%    | ±3.34% +1436.02%  |
| PostgreSqlLoaderBench | bench_load_10k      | 1    | 2   | 110.143mb +0.10% | 623.726ms +62.10% | ±0.68% +236.31%   |
| TextLoaderBench       | bench_load_10k      | 1    | 2   | 107.276mb +0.02% | 45.083ms +23.14%  | ±3.22% +1788.65%  |
+-----------------------+---------------------+------+-----+------------------+-------------------+-------------------+
Building Blocks
+-------------------+-----------------------------------+------+-----+------------------+--------------------+-------------------+
| benchmark         | subject                           | revs | its | mem_peak         | mode               | rstdev            |
+-------------------+-----------------------------------+------+-----+------------------+--------------------+-------------------+
| TypeDetectorBench | bench_type_detector               | 1    | 2   | 43.538mb +0.17%  | 462.424ms +45.46%  | ±3.54% +346.08%   |
| TypeDetectorBench | bench_type_detector               | 1    | 2   | 12.596mb +0.58%  | 101.113ms +55.49%  | ±3.57% +56.68%    |
| EntryFactoryBench | bench_entry_factory               | 1    | 2   | 127.838mb +0.06% | 793.943ms +63.24%  | ±2.20% +485.10%   |
| EntryFactoryBench | bench_entry_factory               | 1    | 2   | 67.019mb +0.11%  | 430.223ms +73.92%  | ±3.23% +39907.52% |
| EntryFactoryBench | bench_entry_factory               | 1    | 2   | 18.108mb +0.40%  | 98.717ms +77.43%   | ±1.65% +379.72%   |
| RowsBench         | bench_chunk_1_000_on_10k          | 1    | 2   | 111.023mb +0.05% | 745.000μs +171.90% | ±3.76% +28.72%    |
| RowsBench         | bench_diff_left_100_on_1k         | 1    | 2   | 110.991mb +0.04% | 108.750ms +23.81%  | ±7.55% -6.99%     |
| RowsBench         | bench_diff_right_100_on_1k        | 1    | 2   | 110.821mb +0.10% | 114.899ms +50.62%  | ±0.79% -81.70%    |
| RowsBench         | bench_drop_100_on_1k              | 1    | 2   | 110.821mb +0.07% | 71.500μs +308.57%  | ±7.69% +169.23%   |
| RowsBench         | bench_drop_right_10_on_1k         | 1    | 2   | 110.781mb +0.10% | 58.000μs +231.43%  | ±3.45% +20.69%    |
| RowsBench         | bench_entries_on_1k               | 1    | 2   | 110.805mb +0.04% | 197.000μs +137.35% | ±1.02% -78.93%    |
| RowsBench         | bench_filter_on_1k                | 1    | 2   | 110.792mb +0.06% | 1.012ms +151.24%   | ±0.94% -70.91%    |
| RowsBench         | bench_find_on_1k                  | 1    | 2   | 110.773mb +0.09% | 1.029ms +176.50%   | ±3.35% +523.92%   |
| RowsBench         | bench_find_one_on_1k              | 1    | 2   | 110.770mb +0.06% | 959.943μs +149.03% | ±3.02% +10.91%    |
| RowsBench         | bench_first_on_1k                 | 1    | 2   | 110.812mb +0.03% | 4.000μs +33.33%    | ±0.00% 0.00%      |
| RowsBench         | bench_merge_100_on_1k             | 1    | 2   | 110.809mb +0.08% | 67.500μs +365.52%  | ±2.22% -35.56%    |
| RowsBench         | bench_partition_by_on_1k          | 1    | 2   | 110.847mb +0.09% | 3.508ms +110.75%   | ±0.11% -84.82%    |
| RowsBench         | bench_schema_on_1k_identical_rows | 1    | 2   | 118.329mb +0.06% | 297.193ms +33.92%  | ±0.83% +116.71%   |
| RowsBench         | bench_sort_asc_on_1k              | 1    | 2   | 110.820mb +0.09% | 9.039ms +87.38%    | ±0.16% -65.61%    |
| RowsBench         | bench_sort_by_on_1k               | 1    | 2   | 110.807mb +0.11% | 7.980ms +62.92%    | ±5.54% +182.90%   |
| RowsBench         | bench_sort_desc_on_1k             | 1    | 2   | 110.820mb +0.08% | 8.102ms +69.69%    | ±2.60% +203.31%   |
| RowsBench         | bench_sort_entries_on_1k          | 1    | 2   | 111.650mb +0.09% | 8.920ms +82.48%    | ±9.17% +1847.83%  |
| RowsBench         | bench_unique_on_1k                | 1    | 2   | 110.921mb +0.07% | 649.695ms +47.25%  | ±2.44% +155.68%   |
+-------------------+-----------------------------------+------+-----+------------------+--------------------+-------------------+
Parquet Library
+--------------------+---------------------------------+------+-----+------------------+-------------------+------------------+
| benchmark          | subject                         | revs | its | mem_peak         | mode              | rstdev           |
+--------------------+---------------------------------+------+-----+------------------+-------------------+------------------+
| ParquetReaderBench | bench_page_headers              | 1    | 2   | 7.901mb +0.93%   | 2.839s +61.63%    | ±9.10% +4781.90% |
| ParquetReaderBench | bench_read_metadata             | 1    | 2   | 6.531mb +1.12%   | 11.985ms +51.78%  | ±2.65% +534.87%  |
| ParquetReaderBench | bench_read_schema               | 1    | 2   | 6.531mb +1.12%   | 13.734ms +72.69%  | ±4.74% +892.12%  |
| ParquetReaderBench | bench_read_values_all_columns   | 1    | 2   | 10.107mb +0.54%  | 7.542s +0.74%     | ±2.40% +2853.47% |
| ParquetReaderBench | bench_read_values_single_column | 1    | 2   | 7.404mb +0.74%   | 299.530ms -36.33% | ±4.02% +374.34%  |
| ParquetReaderBench | bench_read_values_with_limit    | 1    | 2   | 7.931mb +0.53%   | 27.720ms +21.85%  | ±4.38% +499.14%  |
| ParquetWriterBench | bench_write_batch               | 1    | 2   | 12.709mb -12.12% | 299.387ms +49.53% | ±4.99% +1741.79% |
| ParquetWriterBench | bench_write_gzip                | 1    | 2   | 11.368mb +0.67%  | 366.666ms +86.37% | ±6.16% +1069.30% |
| ParquetWriterBench | bench_write_row_by_row          | 1    | 2   | 12.709mb -12.12% | 301.937ms +51.03% | ±2.20% +229.71%  |
| ParquetWriterBench | bench_write_snappy              | 1    | 2   | 12.709mb -12.12% | 280.884ms +39.74% | ±1.46% +155.77%  |
| ParquetWriterBench | bench_write_uncompressed        | 1    | 2   | 11.093mb +0.68%  | 262.841ms +57.48% | ±1.01% +85.70%   |
+--------------------+---------------------------------+------+-----+------------------+-------------------+------------------+

- trigger benchmakrs on pull_request_target only
@norberttech norberttech merged commit 76cb6d2 into 1.x Jan 10, 2026
18 checks passed
@norberttech norberttech deleted the benchmark-runner branch January 10, 2026 12: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