Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

Changed

  • benchmark workflow trigger and permissions

Removed

Deprecated

Security


Description

I missed one important thing, pull_request_target is executed from the repo branch, not the PR, meaning that whatever code was changed in the PR it won't be even tested in this workflow.

@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      |
+-----------------------+-------------------+------+-----+-----------+-----------+
| AvroExtractorBench    | bench_extract_10k | 5    | 3   | 44.122mb  | 430.118ms |
| CSVExtractorBench     | bench_extract_10k | 5    | 3   | 14.007mb  | 368.466ms |
| JsonExtractorBench    | bench_extract_10k | 5    | 3   | 18.669mb  | 755.395ms |
| ParquetExtractorBench | bench_extract_10k | 5    | 3   | 237.792mb | 1.045s    |
| TextExtractorBench    | bench_extract_10k | 5    | 3   | 7.276mb   | 14.634ms  |
| XmlExtractorBench     | bench_extract_10k | 5    | 3   | 7.624mb   | 624.819ms |
+-----------------------+-------------------+------+-----+-----------+-----------+
Transformers
+-----------------------------+--------------------------+------+-----+----------+----------+
| benchmark                   | subject                  | revs | its | mem_peak | mode     |
+-----------------------------+--------------------------+------+-----+----------+----------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 5    | 5   | 87.064mb | 62.928ms |
+-----------------------------+--------------------------+------+-----+----------+----------+
Loaders
+--------------------+----------------+------+-----+-----------+-----------+
| benchmark          | subject        | revs | its | mem_peak  | mode      |
+--------------------+----------------+------+-----+-----------+-----------+
| AvroLoaderBench    | bench_load_10k | 5    | 3   | 219.958mb | 689.725ms |
| CSVLoaderBench     | bench_load_10k | 5    | 3   | 47.142mb  | 69.273ms  |
| JsonLoaderBench    | bench_load_10k | 5    | 3   | 88.581mb  | 74.971ms  |
| ParquetLoaderBench | bench_load_10k | 5    | 3   | 281.202mb | 981.466ms |
| TextLoaderBench    | bench_load_10k | 5    | 3   | 16.568mb  | 37.101ms  |
+--------------------+----------------+------+-----+-----------+-----------+
Entry Factory
+-------------------------+----------------+------+-----+----------+-----------+
| benchmark               | subject        | revs | its | mem_peak | mode      |
+-------------------------+----------------+------+-----+----------+-----------+
| NativeEntryFactoryBench | bench_10k_rows | 5    | 5   | 83.914mb | 142.223ms |
| NativeEntryFactoryBench | bench_1k_rows  | 5    | 5   | 45.445mb | 14.026ms  |
| NativeEntryFactoryBench | bench_5k_rows  | 5    | 5   | 62.719mb | 71.103ms  |
+-------------------------+----------------+------+-----+----------+-----------+

@norberttech norberttech merged commit 5fe8935 into flow-php:1.x Oct 29, 2023
@norberttech norberttech deleted the bug/benchmark-workflow-permissions branch December 5, 2024 20:19
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