Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Loaders benchmarks

Fixed

  • NativeEntryFactoryBench

Changed

  • Github benchmark comment template

Removed

  • EntryExpressionEvalTransformerBench

Deprecated

Security


Description

I removed EntryExpressionEvalTransformerBench as it wasn't really benchmarking transformer but expressions, expression should get their own group and should be benchmarked outside of the transformer scope.

@github-actions

This comment was marked as off-topic.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 29, 2023

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.121mb        | 417.656ms          |
| CSVExtractorBench     | bench_extract_10k | 5    | 3   | 14.006mb        | 336.570ms          |
| JsonExtractorBench    | bench_extract_10k | 5    | 3   | 18.667mb        | 696.777ms          |
| ParquetExtractorBench | bench_extract_10k | 5    | 3   | 237.791mb       | 958.331ms          |
| TextExtractorBench    | bench_extract     | 5    | 3   | 3.935mb +51.22% | 2.662ms +61780.72% |
| XmlExtractorBench     | bench_extract     | 5    | 3   | 3.935mb +21.65% | 1.526ms +42078.61% |
+-----------------------+-------------------+------+-----+-----------------+--------------------+

Transformers

+-------------------------------------+----------------------------+------+-----+----------------+-----------------+
| benchmark                           | subject                    | revs | its | mem_peak       | mode            |
+-------------------------------------+----------------------------+------+-----+----------------+-----------------+
| EntryExpressionEvalTransformerBench | bench_transform_json_row   | 1000 | 5   | 3.935mb +0.75% | 18.646μs +1.10% |
| EntryExpressionEvalTransformerBench | bench_transform_string_row | 1000 | 5   | 3.935mb +0.75% | 15.152μs +0.70% |
| EntryExpressionEvalTransformerBench | bench_transform_xml_row    | 1000 | 5   | 3.935mb +0.75% | 39.944μs +8.43% |
| RenameEntryTransformerBench         | bench_transform            | 1000 | 5   | 3.935mb +0.76% | 5.710μs -76.84% |
+-------------------------------------+----------------------------+------+-----+----------------+-----------------+

Entry Factory

+-------------------------+----------------+------+-----+----------+-----------+
| benchmark               | subject        | revs | its | mem_peak | mode      |
+-------------------------+----------------+------+-----+----------+-----------+
| NativeEntryFactoryBench | bench_10k_rows | 5    | 5   | 83.912mb | 138.597ms |
| NativeEntryFactoryBench | bench_1k_rows  | 5    | 5   | 45.439mb | 13.598ms  |
| NativeEntryFactoryBench | bench_5k_rows  | 5    | 5   | 62.733mb | 68.220ms  |
+-------------------------+----------------+------+-----+----------+-----------+

@github-actions

This comment was marked as off-topic.

@norberttech norberttech merged commit 4749bc6 into flow-php:1.x Oct 29, 2023
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.

1 participant