-
-
Notifications
You must be signed in to change notification settings - Fork 48
Improved codebase quality through static analysis #1723
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
Merged
Merged
Conversation
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
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.803mb +0.47% | 436.192ms +4.25% | ±0.09% -69.85% |
| ExcelExtractorBench | bench_extract_10k_ods | 1 | 3 | 65.513mb +0.04% | 1.084s +1.85% | ±1.33% +196.77% |
| ExcelExtractorBench | bench_extract_10k_xlsx | 1 | 3 | 67.559mb +0.03% | 1.706s +1.11% | ±0.89% +16.89% |
| JsonExtractorBench | bench_extract_10k | 1 | 3 | 5.087mb +6.79% | 1.171s -0.34% | ±0.62% -26.26% |
| ParquetExtractorBench | bench_extract_10k | 1 | 3 | 86.357mb +0.04% | 984.358ms +3.77% | ±1.45% +133.45% |
| TextExtractorBench | bench_extract_10k | 1 | 3 | 4.534mb +0.69% | 42.315ms +9.37% | ±0.70% +217.28% |
| XmlExtractorBench | bench_extract_10k | 1 | 3 | 4.529mb +0.47% | 613.068ms +1.41% | ±0.32% +4.54% |
+-----------------------+------------------------+------+-----+-----------------+------------------+-----------------+
Transformers+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1 | 3 | 18.533mb +0.15% | 74.320ms -0.04% | ±0.71% -30.62% |
| RenameEntryTransformerBench | bench_transform_10k_rows | 1 | 3 | 123.271mb +0.02% | 66.292ms -2.54% | ±0.83% +40.26% |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench | bench_load_10k | 1 | 3 | 62.463mb +0.04% | 89.147ms +4.67% | ±1.72% +174.42% |
| JsonLoaderBench | bench_load_10k | 1 | 3 | 79.764mb +1.03% | 105.301ms +0.22% | ±0.46% -41.08% |
| ParquetLoaderBench | bench_load_10k | 1 | 3 | 166.240mb +0.03% | 21.167s -3.19% | ±0.55% -27.31% |
| TextLoaderBench | bench_load_10k | 1 | 3 | 17.840mb +0.15% | 31.919ms +0.22% | ±0.51% -47.49% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
| TypeDetectorBench | bench_type_detector | 1 | 3 | 42.106mb +0.96% | 407.252ms -4.64% | ±0.22% -5.00% |
| TypeDetectorBench | bench_type_detector | 1 | 3 | 11.483mb +0.74% | 81.905ms -4.84% | ±0.46% -45.12% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 101.812mb +4.09% | 657.632ms -0.13% | ±1.16% +511.57% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 53.163mb +3.94% | 328.172ms -2.26% | ±0.69% +68.11% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 14.412mb +2.97% | 69.727ms -3.62% | ±0.88% -17.50% |
| RowsBench | bench_chunk_10_on_10k | 2 | 3 | 93.424mb +0.03% | 3.968ms -9.69% | ±3.02% +17.70% |
| RowsBench | bench_diff_left_1k_on_10k | 2 | 3 | 110.795mb +0.02% | 241.036ms +0.43% | ±2.13% +184.12% |
| RowsBench | bench_diff_right_1k_on_10k | 2 | 3 | 93.515mb +0.03% | 23.957ms -2.71% | ±0.69% -15.75% |
| RowsBench | bench_drop_1k_on_10k | 2 | 3 | 94.299mb +0.03% | 1.789ms -4.85% | ±1.04% -49.96% |
| RowsBench | bench_drop_right_1k_on_10k | 2 | 3 | 94.299mb +0.03% | 1.836ms +0.90% | ±1.80% +82.06% |
| RowsBench | bench_entries_on_10k | 2 | 3 | 92.460mb +0.03% | 3.715ms -2.68% | ±1.68% +4.53% |
| RowsBench | bench_filter_on_10k | 2 | 3 | 92.989mb +0.03% | 16.036ms -0.32% | ±2.80% +1667.17% |
| RowsBench | bench_find_on_10k | 2 | 3 | 92.989mb +0.03% | 15.884ms -1.47% | ±0.83% +80.15% |
| RowsBench | bench_find_one_on_10k | 10 | 3 | 91.677mb +0.03% | 2.094μs -0.58% | ±2.28% +3.23% |
| RowsBench | bench_first_on_10k | 10 | 3 | 91.677mb +0.03% | 0.500μs 0.00% | ±0.00% 0.00% |
| RowsBench | bench_flat_map_on_1k | 2 | 3 | 100.738mb +0.03% | 16.553ms -1.90% | ±2.01% +936.86% |
| RowsBench | bench_map_on_10k | 2 | 3 | 130.165mb +0.02% | 69.307ms -0.33% | ±0.96% +118.87% |
| RowsBench | bench_merge_1k_on_10k | 2 | 3 | 93.508mb +0.03% | 1.717ms -2.82% | ±0.50% -68.54% |
| RowsBench | bench_partition_by_on_10k | 2 | 3 | 96.877mb +0.03% | 63.220ms -2.05% | ±3.01% +647.59% |
| RowsBench | bench_remove_on_10k | 2 | 3 | 94.561mb +0.03% | 4.397ms +0.38% | ±1.58% -54.13% |
| RowsBench | bench_sort_asc_on_1k | 2 | 3 | 92.040mb +0.03% | 41.253ms -5.92% | ±1.43% +26.87% |
| RowsBench | bench_sort_by_on_1k | 2 | 3 | 92.040mb +0.03% | 41.195ms -3.11% | ±0.96% +22.80% |
| RowsBench | bench_sort_desc_on_1k | 2 | 3 | 92.040mb +0.03% | 41.808ms -1.63% | ±2.27% +247.76% |
| RowsBench | bench_sort_entries_on_1k | 2 | 3 | 94.120mb +0.03% | 8.775ms +0.14% | ±0.95% -64.22% |
| RowsBench | bench_sort_on_1k | 2 | 3 | 91.870mb +0.03% | 31.573ms -3.77% | ±1.13% -54.60% |
| RowsBench | bench_take_1k_on_10k | 10 | 3 | 91.677mb +0.03% | 14.900μs -0.63% | ±0.55% +73.98% |
| RowsBench | bench_take_right_1k_on_10k | 10 | 3 | 91.677mb +0.03% | 16.988μs -1.59% | ±1.53% -30.66% |
| RowsBench | bench_unique_on_1k | 2 | 3 | 110.796mb +0.02% | 247.258ms -0.25% | ±0.96% +10.48% |
+-------------------+----------------------------+------+-----+------------------+------------------+------------------+
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## 1.x #1723 +/- ##
==========================================
- Coverage 81.62% 81.22% -0.40%
==========================================
Files 714 715 +1
Lines 19416 19872 +456
==========================================
+ Hits 15849 16142 +293
- Misses 3567 3730 +163
🚀 New features to boost your workflow:
|
2c4671c to
b35dd12
Compare
d81267a to
45b1167
Compare
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.
Resolves: #1722
Resolves: #1732
Change Log
Added
Fixed
Changed
Removed
Deprecated
Security