Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce amount of runs for benchmark testing #675

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

stloyd
Copy link
Member

@stloyd stloyd commented Oct 30, 2023

Change Log

Added

Fixed

Changed

  • Reduce amount of runs for benchmark testing

Removed

Deprecated

Security


Description

Similar to #674, we don't need benchmark being run when unrelated changes are applied.

@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  | 423.957ms |
| CSVExtractorBench     | bench_extract_10k | 5    | 3   | 14.007mb  | 359.640ms |
| JsonExtractorBench    | bench_extract_10k | 5    | 3   | 18.669mb  | 749.341ms |
| ParquetExtractorBench | bench_extract_10k | 5    | 3   | 237.792mb | 1.065s    |
| TextExtractorBench    | bench_extract_10k | 5    | 3   | 7.277mb   | 14.546ms  |
| XmlExtractorBench     | bench_extract_10k | 5    | 3   | 7.624mb   | 632.697ms |
+-----------------------+-------------------+------+-----+-----------+-----------+
Transformers
+-----------------------------+--------------------------+------+-----+-----------------+-----------------+
| benchmark                   | subject                  | revs | its | mem_peak        | mode            |
+-----------------------------+--------------------------+------+-----+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 5    | 5   | 87.062mb -0.00% | 65.156ms -6.60% |
+-----------------------------+--------------------------+------+-----+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+-----------+-----------+
| benchmark          | subject        | revs | its | mem_peak  | mode      |
+--------------------+----------------+------+-----+-----------+-----------+
| AvroLoaderBench    | bench_load_10k | 5    | 3   | 219.956mb | 686.205ms |
| CSVLoaderBench     | bench_load_10k | 5    | 3   | 47.140mb  | 69.870ms  |
| JsonLoaderBench    | bench_load_10k | 5    | 3   | 88.580mb  | 75.904ms  |
| ParquetLoaderBench | bench_load_10k | 5    | 3   | 281.200mb | 985.874ms |
| TextLoaderBench    | bench_load_10k | 5    | 3   | 16.566mb  | 36.668ms  |
+--------------------+----------------+------+-----+-----------+-----------+
Building Blocks
+-------------------------+----------------------------+------+-----+----------+-----------+
| benchmark               | subject                    | revs | its | mem_peak | mode      |
+-------------------------+----------------------------+------+-----+----------+-----------+
| RowsBench               | bench_chunk_10_on_10k      | 5    | 5   | 60.694mb | 3.873ms   |
| RowsBench               | bench_diff_left_1k_on_10k  | 5    | 5   | 80.485mb | 165.901ms |
| RowsBench               | bench_diff_right_1k_on_10k | 5    | 5   | 59.011mb | 16.732ms  |
| RowsBench               | bench_drop_1k_on_10k       | 5    | 5   | 59.833mb | 3.075ms   |
| RowsBench               | bench_drop_right_1k_on_10k | 5    | 5   | 61.935mb | 3.469ms   |
| RowsBench               | bench_entries_on_10k       | 5    | 5   | 59.046mb | 4.205ms   |
| RowsBench               | bench_filter_on_10k        | 5    | 5   | 59.575mb | 25.761ms  |
| RowsBench               | bench_find_on_10k          | 5    | 5   | 59.575mb | 25.413ms  |
| RowsBench               | bench_find_one_on_10k      | 5    | 5   | 57.999mb | 24.138ms  |
| RowsBench               | bench_first_on_10k         | 5    | 5   | 57.646mb | 1.000μs   |
| RowsBench               | bench_flat_map_on_1k       | 5    | 5   | 65.880mb | 13.800ms  |
| RowsBench               | bench_map_on_10k           | 5    | 5   | 91.400mb | 63.018ms  |
| RowsBench               | bench_merge_1k_on_10k      | 5    | 5   | 60.096mb | 3.474ms   |
| RowsBench               | bench_partition_by_on_10k  | 5    | 5   | 64.467mb | 60.420ms  |
| RowsBench               | bench_remove_on_10k        | 5    | 5   | 62.196mb | 7.737ms   |
| RowsBench               | bench_sort_asc_on_1k       | 5    | 5   | 57.646mb | 51.005ms  |
| RowsBench               | bench_sort_by_on_1k        | 5    | 5   | 57.646mb | 50.774ms  |
| RowsBench               | bench_sort_desc_on_1k      | 5    | 5   | 57.646mb | 51.688ms  |
| RowsBench               | bench_sort_entries_on_1k   | 5    | 5   | 59.921mb | 9.467ms   |
| RowsBench               | bench_sort_on_1k           | 5    | 5   | 57.646mb | 38.748ms  |
| RowsBench               | bench_take_1k_on_10k       | 5    | 5   | 59.120mb | 119.811ms |
| RowsBench               | bench_take_right_1k_on_10k | 5    | 5   | 59.121mb | 1.284ms   |
| RowsBench               | bench_unique_on_1k         | 5    | 5   | 80.486mb | 170.137ms |
| NativeEntryFactoryBench | bench_10k_rows             | 5    | 5   | 83.910mb | 144.753ms |
| NativeEntryFactoryBench | bench_1k_rows              | 5    | 5   | 45.437mb | 14.616ms  |
| NativeEntryFactoryBench | bench_5k_rows              | 5    | 5   | 62.723mb | 72.380ms  |
+-------------------------+----------------------------+------+-----+----------+-----------+

@stloyd stloyd merged commit 0c48849 into flow-php:1.x Oct 30, 2023
16 checks passed
@stloyd stloyd deleted the chore/benchmark-run branch October 30, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants