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

Adjust benchmark report to be more useful #604

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

stloyd
Copy link
Member

@stloyd stloyd commented Oct 17, 2023

Change Log

Added

Fixed

Changed

  • Adjust benchmark report to be more useful

Removed

Deprecated

Security


Description

https://github.com/flow-php/flow/actions/runs/6545138453?pr=604

> tools/phpbench/vendor/bin/phpbench run --report=flow-report --ref=original
PHPBench (1.2.14) running benchmarks... #standwithukraine
with configuration file: /Users/stloyd/Documents/flow/phpbench.json
with PHP version 8.1.24, xdebug ❌, opcache ❌
comparing [actual vs. original]

............. 

Subjects: 13, Assertions: 0, Failures: 0, Errors: 0
+-------------------------------------+----------------------------+------+-----+-----------------+------------------+
| benchmark                           | subject                    | revs | its | mem_peak        | mode             |
+-------------------------------------+----------------------------+------+-----+-----------------+------------------+
| AvroExtractorBench                  | bench_extract_10k          | 5    | 3   | 44.538mb 0.00%  | 440.248ms -3.23% |
| CSVExtractorBench                   | bench_extract_10k          | 5    | 3   | 14.258mb 0.00%  | 180.898ms -0.35% |
| JsonExtractorBench                  | bench_extract_10k          | 5    | 3   | 18.920mb 0.00%  | 715.750ms +4.00% |
| ParquetExtractorBench               | bench_extract_10k          | 5    | 3   | 31.655mb 0.00%  | 408.619ms -2.13% |
| TextExtractorBench                  | bench_extract              | 5    | 3   | 6.203mb 0.00%   | 2.512ms +0.02%   |
| XmlExtractorBench                   | bench_extract              | 5    | 3   | 4.992mb 0.00%   | 1.176ms +1.50%   |
| RenameEntryTransformerBench         | bench_transform            | 1000 | 5   | 4.206mb 0.00%   | 5.922μs -4.75%   |
| EntryExpressionEvalTransformerBench | bench_transform_json_row   | 1000 | 5   | 4.206mb 0.00%   | 17.676μs -6.06%  |
| EntryExpressionEvalTransformerBench | bench_transform_string_row | 1000 | 5   | 4.206mb 0.00%   | 14.404μs -8.54%  |
| EntryExpressionEvalTransformerBench | bench_transform_xml_row    | 1000 | 5   | 4.206mb 0.00%   | 41.956μs -5.54%  |
| NativeEntryFactoryBench             | bench_10k_rows             | 5    | 5   | 84.169mb -0.03% | 131.111ms -4.87% |
| NativeEntryFactoryBench             | bench_1k_rows              | 5    | 5   | 45.689mb +0.03% | 13.517ms -3.19%  |
| NativeEntryFactoryBench             | bench_5k_rows              | 5    | 5   | 62.943mb +0.02% | 65.128ms -2.34%  |
+-------------------------------------+----------------------------+------+-----+-----------------+------------------+

@norberttech norberttech merged commit 18982cc into flow-php:1.x Oct 17, 2023
14 checks passed
@stloyd stloyd deleted the chore/benchmark-report branch October 17, 2023 10:20
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