Merged
Conversation
norberttech
commented
Jan 26, 2025
| colors="true" | ||
| displayDetailsOnTestsThatTriggerWarnings="true" | ||
| displayDetailsOnTestsThatTriggerErrors="true" | ||
| cacheDirectory="var/phpunit/cache" |
Member
Author
There was a problem hiding this comment.
@Bellangelo So the result cache file option was removed, but the result cache is always stored in the PHPUnit cache folder or in the root directory. Adding this option moves the result cache to the PHPUnit cache folder.
Contributor
Flow PHP - BenchmarksResults 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 | 3 | 4.773mb +0.01% | 555.910ms -0.10% | ±0.51% -42.43% |
| JsonExtractorBench | bench_extract_10k | 1 | 3 | 4.841mb +0.02% | 1.066s +0.78% | ±1.68% +415.16% |
| ParquetExtractorBench | bench_extract_10k | 1 | 3 | 86.490mb +0.00% | 915.484ms +3.17% | ±0.40% +44.74% |
| TextExtractorBench | bench_extract_10k | 1 | 3 | 4.502mb +0.02% | 35.787ms +2.87% | ±0.78% -70.28% |
| XmlExtractorBench | bench_extract_10k | 1 | 3 | 4.479mb +0.01% | 609.703ms +0.75% | ±1.36% +142.94% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1 | 3 | 127.301mb +0.00% | 71.828ms +3.52% | ±0.75% -1.44% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench | bench_load_10k | 1 | 3 | 63.905mb +0.00% | 104.799ms +2.39% | ±2.35% +348.70% |
| JsonLoaderBench | bench_load_10k | 1 | 3 | 84.313mb +0.00% | 100.175ms -0.24% | ±0.69% -80.42% |
| ParquetLoaderBench | bench_load_10k | 1 | 3 | 161.207mb +0.00% | 20.705s +1.17% | ±0.59% +7.89% |
| TextLoaderBench | bench_load_10k | 1 | 3 | 17.969mb +0.00% | 30.981ms +4.29% | ±0.62% +6.10% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 105.939mb +0.00% | 459.749ms +1.00% | ±0.12% -84.36% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 55.129mb +0.00% | 233.555ms +2.89% | ±0.84% -27.88% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 14.651mb +0.01% | 52.268ms +4.09% | ±0.19% -84.32% |
| RowsBench | bench_chunk_10_on_10k | 2 | 3 | 96.988mb +0.00% | 4.187ms +29.46% | ±1.55% +25.17% |
| RowsBench | bench_diff_left_1k_on_10k | 2 | 3 | 114.270mb +0.00% | 190.337ms +0.02% | ±0.39% -60.87% |
| RowsBench | bench_diff_right_1k_on_10k | 2 | 3 | 96.990mb +0.00% | 19.331ms +1.02% | ±0.64% -69.27% |
| RowsBench | bench_drop_1k_on_10k | 2 | 3 | 97.863mb +0.00% | 2.068ms +44.39% | ±1.79% +168.41% |
| RowsBench | bench_drop_right_1k_on_10k | 2 | 3 | 97.863mb +0.00% | 1.906ms +23.53% | ±3.31% +28.14% |
| RowsBench | bench_entries_on_10k | 2 | 3 | 96.023mb +0.00% | 4.793ms +18.25% | ±2.08% +84.54% |
| RowsBench | bench_filter_on_10k | 2 | 3 | 96.552mb +0.00% | 16.595ms +2.51% | ±0.59% +7.83% |
| RowsBench | bench_find_on_10k | 2 | 3 | 96.552mb +0.00% | 16.595ms +4.13% | ±2.53% +15.04% |
| RowsBench | bench_find_one_on_10k | 10 | 3 | 95.244mb +0.00% | 2.000μs +5.26% | ±0.00% -100.00% |
| RowsBench | bench_first_on_10k | 10 | 3 | 95.244mb +0.00% | 0.400μs 0.00% | ±0.00% 0.00% |
| RowsBench | bench_flat_map_on_1k | 2 | 3 | 104.462mb +0.00% | 16.010ms +11.98% | ±3.09% -7.88% |
| RowsBench | bench_map_on_10k | 2 | 3 | 134.529mb +0.00% | 71.894ms +3.70% | ±0.27% +29.54% |
| RowsBench | bench_merge_1k_on_10k | 2 | 3 | 97.072mb +0.00% | 1.937ms +56.36% | ±2.68% +173.77% |
| RowsBench | bench_partition_by_on_10k | 2 | 3 | 100.369mb +0.00% | 63.459ms +0.92% | ±0.92% -30.90% |
| RowsBench | bench_remove_on_10k | 2 | 3 | 98.125mb +0.00% | 4.212ms +16.59% | ±1.58% +133.57% |
| RowsBench | bench_sort_asc_on_1k | 2 | 3 | 95.531mb +0.00% | 43.228ms +0.85% | ±1.28% +2.48% |
| RowsBench | bench_sort_by_on_1k | 2 | 3 | 95.532mb +0.00% | 43.831ms +5.10% | ±0.95% -22.11% |
| RowsBench | bench_sort_desc_on_1k | 2 | 3 | 95.531mb +0.00% | 44.122ms +2.79% | ±2.75% +258.15% |
| RowsBench | bench_sort_entries_on_1k | 2 | 3 | 97.684mb +0.00% | 8.625ms +3.77% | ±2.02% +184.05% |
| RowsBench | bench_sort_on_1k | 2 | 3 | 95.434mb +0.00% | 30.397ms +5.27% | ±1.48% +86.35% |
| RowsBench | bench_take_1k_on_10k | 10 | 3 | 95.244mb +0.00% | 14.412μs +1.11% | ±1.84% -41.36% |
| RowsBench | bench_take_right_1k_on_10k | 10 | 3 | 95.244mb +0.00% | 16.817μs +10.57% | ±1.29% -55.51% |
| RowsBench | bench_unique_on_1k | 2 | 3 | 114.271mb +0.00% | 193.958ms +0.63% | ±2.79% +516.14% |
| TypeDetectorBench | bench_type_detector | 1 | 3 | 43.777mb +0.00% | 362.974ms +1.23% | ±0.95% -48.66% |
| TypeDetectorBench | bench_type_detector | 1 | 3 | 11.587mb +0.00% | 73.179ms +2.53% | ±3.03% +990.92% |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 1.x #1405 +/- ##
==========================================
+ Coverage 82.51% 82.54% +0.02%
==========================================
Files 654 654
Lines 17538 17572 +34
==========================================
+ Hits 14472 14505 +33
- Misses 3066 3067 +1
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Log
Added
Fixed
Changed
Removed
Deprecated
Security
Description
Resolves: #1212