-
Notifications
You must be signed in to change notification settings - Fork 28
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
Use the new FlowTestCase in all the ETL tests #1303
Conversation
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.715mb +0.01% | 519.569ms +0.07% | ±0.40% +15.43% |
| JsonExtractorBench | bench_extract_10k | 1 | 3 | 4.819mb +0.01% | 1.115s -0.15% | ±0.24% -22.57% |
| ParquetExtractorBench | bench_extract_10k | 1 | 3 | 86.465mb +0.00% | 911.253ms +0.85% | ±0.34% -9.01% |
| TextExtractorBench | bench_extract_10k | 1 | 3 | 4.448mb +0.01% | 33.867ms +0.34% | ±0.63% -54.90% |
| XmlExtractorBench | bench_extract_10k | 1 | 3 | 4.424mb +0.01% | 666.164ms -0.55% | ±1.88% -6.78% |
+-----------------------+-------------------+------+-----+-----------------+------------------+----------------+
Transformers+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1 | 3 | 114.445mb +0.00% | 61.766ms +1.75% | ±0.19% -85.97% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench | bench_load_10k | 1 | 3 | 55.188mb +0.00% | 114.062ms +1.79% | ±1.09% +59.67% |
| JsonLoaderBench | bench_load_10k | 1 | 3 | 85.655mb +0.00% | 102.244ms +1.46% | ±0.68% -54.64% |
| ParquetLoaderBench | bench_load_10k | 1 | 3 | 167.441mb +0.00% | 19.310s +0.08% | ±2.39% +556.98% |
| TextLoaderBench | bench_load_10k | 1 | 3 | 17.273mb +0.00% | 44.596ms +1.28% | ±0.15% -66.47% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench | bench_chunk_10_on_10k | 2 | 3 | 85.501mb +0.00% | 3.305ms +6.73% | ±0.55% -74.27% |
| RowsBench | bench_diff_left_1k_on_10k | 2 | 3 | 102.771mb +0.00% | 184.891ms -1.37% | ±0.21% -71.40% |
| RowsBench | bench_diff_right_1k_on_10k | 2 | 3 | 85.491mb +0.00% | 18.605ms -0.91% | ±0.59% +23.38% |
| RowsBench | bench_drop_1k_on_10k | 2 | 3 | 86.376mb +0.00% | 1.727ms +24.07% | ±0.61% -65.41% |
| RowsBench | bench_drop_right_1k_on_10k | 2 | 3 | 86.376mb +0.00% | 1.732ms +21.82% | ±1.09% -69.32% |
| RowsBench | bench_entries_on_10k | 2 | 3 | 84.537mb +0.00% | 2.444ms +4.94% | ±2.30% +52.40% |
| RowsBench | bench_filter_on_10k | 2 | 3 | 85.066mb +0.00% | 15.311ms +4.97% | ±2.13% +53.00% |
| RowsBench | bench_find_on_10k | 2 | 3 | 85.066mb +0.00% | 14.937ms -0.31% | ±1.93% +409.50% |
| RowsBench | bench_find_one_on_10k | 10 | 3 | 83.757mb +0.00% | 1.900μs +11.76% | ±0.00% +0.00% |
| RowsBench | bench_first_on_10k | 10 | 3 | 83.757mb +0.00% | 0.400μs 0.00% | ±0.00% 0.00% |
| RowsBench | bench_flat_map_on_1k | 2 | 3 | 92.335mb +0.00% | 12.739ms -1.49% | ±0.38% -71.73% |
| RowsBench | bench_map_on_10k | 2 | 3 | 120.642mb +0.00% | 60.064ms -0.11% | ±3.53% +495.76% |
| RowsBench | bench_merge_1k_on_10k | 2 | 3 | 85.586mb +0.00% | 1.233ms -8.86% | ±1.49% -58.06% |
| RowsBench | bench_partition_by_on_10k | 2 | 3 | 88.874mb +0.00% | 58.419ms -3.03% | ±0.52% +162.05% |
| RowsBench | bench_remove_on_10k | 2 | 3 | 86.638mb +0.00% | 3.714ms +3.07% | ±1.31% +9.78% |
| RowsBench | bench_sort_asc_on_1k | 2 | 3 | 84.032mb +0.00% | 40.311ms -2.52% | ±1.04% +121.40% |
| RowsBench | bench_sort_by_on_1k | 2 | 3 | 84.033mb +0.00% | 39.812ms -4.83% | ±1.25% -32.45% |
| RowsBench | bench_sort_desc_on_1k | 2 | 3 | 84.032mb +0.00% | 40.486ms -1.47% | ±0.78% -19.87% |
| RowsBench | bench_sort_entries_on_1k | 2 | 3 | 86.197mb +0.00% | 7.668ms +0.06% | ±0.66% +7.34% |
| RowsBench | bench_sort_on_1k | 2 | 3 | 83.947mb +0.00% | 29.489ms +0.90% | ±0.88% -18.44% |
| RowsBench | bench_take_1k_on_10k | 10 | 3 | 83.757mb +0.00% | 13.341μs +0.92% | ±1.88% +45.65% |
| RowsBench | bench_take_right_1k_on_10k | 10 | 3 | 83.757mb +0.00% | 15.079μs -1.75% | ±0.82% -65.98% |
| RowsBench | bench_unique_on_1k | 2 | 3 | 102.776mb +0.00% | 188.067ms -1.33% | ±0.68% +104.83% |
| TypeDetectorBench | bench_type_detector | 1 | 3 | 50.656mb +0.00% | 403.103ms +0.89% | ±1.08% +76.11% |
| TypeDetectorBench | bench_type_detector | 1 | 3 | 13.071mb +0.00% | 80.435ms -2.09% | ±0.29% -67.27% |
| NativeEntryFactoryBench | bench_entry_factory | 1 | 3 | 105.913mb +0.00% | 483.073ms +0.08% | ±1.10% +11.11% |
| NativeEntryFactoryBench | bench_entry_factory | 1 | 3 | 55.104mb +0.00% | 244.896ms +1.72% | ±1.49% -33.24% |
| NativeEntryFactoryBench | bench_entry_factory | 1 | 3 | 14.626mb +0.00% | 53.602ms -0.64% | ±2.09% +309.23% |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 1.x #1303 +/- ##
=======================================
Coverage 81.80% 81.80%
=======================================
Files 569 569
Lines 15621 15621
=======================================
Hits 12779 12779
Misses 2842 2842
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Change Log
Added
Fixed
Changed
Removed
Deprecated
Security
Description
Partially addresses #745.
Following the work of #1291 we will use the new
FlowTestCase
in all the ETL tests.